Package com.google.cloud.aiplatform.v1
Class ExplanationMetadata.InputMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
- All Implemented Interfaces:
ExplanationMetadata.InputMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ExplanationMetadata
public static final class ExplanationMetadata.InputMetadata
extends com.google.protobuf.GeneratedMessage
implements ExplanationMetadata.InputMetadataOrBuilder
Metadata of the input of a feature. Fields other than [InputMetadata.input_baselines][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.input_baselines] are applicable only for Models that are using Vertex AI-provided images for Tensorflow.Protobuf type
google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata of the input of a feature.static enumDefines how a feature is encoded.static final classDomain details of the input feature value.static interfacestatic final classVisualization configurations for image explanation.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies the shape of the values of the input if the input is a sparse representation.com.google.protobuf.ByteStringSpecifies the shape of the values of the input if the input is a sparse representation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ValuegetEncodedBaselines(int index) A list of baselines for the encoded tensor.intA list of baselines for the encoded tensor.List<com.google.protobuf.Value>A list of baselines for the encoded tensor.com.google.protobuf.ValueOrBuildergetEncodedBaselinesOrBuilder(int index) A list of baselines for the encoded tensor.List<? extends com.google.protobuf.ValueOrBuilder>A list of baselines for the encoded tensor.Encoded tensor is a transformation of the input tensor.com.google.protobuf.ByteStringEncoded tensor is a transformation of the input tensor.Defines how the feature is encoded into the input tensor.intDefines how the feature is encoded into the input tensor.The domain details of the input feature value.The domain details of the input feature value.Name of the group that the input belongs to.com.google.protobuf.ByteStringName of the group that the input belongs to.getIndexFeatureMapping(int index) A list of feature names for each index in the input tensor.com.google.protobuf.ByteStringgetIndexFeatureMappingBytes(int index) A list of feature names for each index in the input tensor.intA list of feature names for each index in the input tensor.com.google.protobuf.ProtocolStringListA list of feature names for each index in the input tensor.Specifies the index of the values of the input tensor.com.google.protobuf.ByteStringSpecifies the index of the values of the input tensor.com.google.protobuf.ValuegetInputBaselines(int index) Baseline inputs for this feature.intBaseline inputs for this feature.List<com.google.protobuf.Value>Baseline inputs for this feature.com.google.protobuf.ValueOrBuildergetInputBaselinesOrBuilder(int index) Baseline inputs for this feature.List<? extends com.google.protobuf.ValueOrBuilder>Baseline inputs for this feature.Name of the input tensor for this feature.com.google.protobuf.ByteStringName of the input tensor for this feature.Modality of the feature.com.google.protobuf.ByteStringModality of the feature.com.google.protobuf.Parser<ExplanationMetadata.InputMetadata>intVisualization configurations for image explanation.Visualization configurations for image explanation.booleanThe domain details of the input feature value.inthashCode()booleanVisualization configurations for image explanation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ExplanationMetadata.InputMetadata prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExplanationMetadata.InputMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INPUT_BASELINES_FIELD_NUMBER
public static final int INPUT_BASELINES_FIELD_NUMBER- See Also:
-
INPUT_TENSOR_NAME_FIELD_NUMBER
public static final int INPUT_TENSOR_NAME_FIELD_NUMBER- See Also:
-
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER- See Also:
-
MODALITY_FIELD_NUMBER
public static final int MODALITY_FIELD_NUMBER- See Also:
-
FEATURE_VALUE_DOMAIN_FIELD_NUMBER
public static final int FEATURE_VALUE_DOMAIN_FIELD_NUMBER- See Also:
-
INDICES_TENSOR_NAME_FIELD_NUMBER
public static final int INDICES_TENSOR_NAME_FIELD_NUMBER- See Also:
-
DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER
public static final int DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER- See Also:
-
INDEX_FEATURE_MAPPING_FIELD_NUMBER
public static final int INDEX_FEATURE_MAPPING_FIELD_NUMBER- See Also:
-
ENCODED_TENSOR_NAME_FIELD_NUMBER
public static final int ENCODED_TENSOR_NAME_FIELD_NUMBER- See Also:
-
ENCODED_BASELINES_FIELD_NUMBER
public static final int ENCODED_BASELINES_FIELD_NUMBER- See Also:
-
VISUALIZATION_FIELD_NUMBER
public static final int VISUALIZATION_FIELD_NUMBER- See Also:
-
GROUP_NAME_FIELD_NUMBER
public static final int GROUP_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getInputBaselinesList
Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value input_baselines = 1;- Specified by:
getInputBaselinesListin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getInputBaselinesOrBuilderList
Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value input_baselines = 1;- Specified by:
getInputBaselinesOrBuilderListin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getInputBaselinesCount
public int getInputBaselinesCount()Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value input_baselines = 1;- Specified by:
getInputBaselinesCountin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getInputBaselines
public com.google.protobuf.Value getInputBaselines(int index) Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value input_baselines = 1;- Specified by:
getInputBaselinesin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getInputBaselinesOrBuilder
public com.google.protobuf.ValueOrBuilder getInputBaselinesOrBuilder(int index) Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
repeated .google.protobuf.Value input_baselines = 1;- Specified by:
getInputBaselinesOrBuilderin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getInputTensorName
Name of the input tensor for this feature. Required and is only applicable to Vertex AI-provided images for Tensorflow.
string input_tensor_name = 2;- Specified by:
getInputTensorNamein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The inputTensorName.
-
getInputTensorNameBytes
public com.google.protobuf.ByteString getInputTensorNameBytes()Name of the input tensor for this feature. Required and is only applicable to Vertex AI-provided images for Tensorflow.
string input_tensor_name = 2;- Specified by:
getInputTensorNameBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for inputTensorName.
-
getEncodingValue
public int getEncodingValue()Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;- Specified by:
getEncodingValuein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The enum numeric value on the wire for encoding.
-
getEncoding
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;- Specified by:
getEncodingin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The encoding.
-
getModality
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;- Specified by:
getModalityin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The modality.
-
getModalityBytes
public com.google.protobuf.ByteString getModalityBytes()Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;- Specified by:
getModalityBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for modality.
-
hasFeatureValueDomain
public boolean hasFeatureValueDomain()The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;- Specified by:
hasFeatureValueDomainin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- Whether the featureValueDomain field is set.
-
getFeatureValueDomain
The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;- Specified by:
getFeatureValueDomainin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The featureValueDomain.
-
getFeatureValueDomainOrBuilder
public ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder getFeatureValueDomainOrBuilder()The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;- Specified by:
getFeatureValueDomainOrBuilderin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getIndicesTensorName
Specifies the index of the values of the input tensor. Required when the input tensor is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
string indices_tensor_name = 6;- Specified by:
getIndicesTensorNamein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The indicesTensorName.
-
getIndicesTensorNameBytes
public com.google.protobuf.ByteString getIndicesTensorNameBytes()Specifies the index of the values of the input tensor. Required when the input tensor is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
string indices_tensor_name = 6;- Specified by:
getIndicesTensorNameBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for indicesTensorName.
-
getDenseShapeTensorName
Specifies the shape of the values of the input if the input is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
string dense_shape_tensor_name = 7;- Specified by:
getDenseShapeTensorNamein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The denseShapeTensorName.
-
getDenseShapeTensorNameBytes
public com.google.protobuf.ByteString getDenseShapeTensorNameBytes()Specifies the shape of the values of the input if the input is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
string dense_shape_tensor_name = 7;- Specified by:
getDenseShapeTensorNameBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for denseShapeTensorName.
-
getIndexFeatureMappingList
public com.google.protobuf.ProtocolStringList getIndexFeatureMappingList()A list of feature names for each index in the input tensor. Required when the input [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.
repeated string index_feature_mapping = 8;- Specified by:
getIndexFeatureMappingListin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- A list containing the indexFeatureMapping.
-
getIndexFeatureMappingCount
public int getIndexFeatureMappingCount()A list of feature names for each index in the input tensor. Required when the input [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.
repeated string index_feature_mapping = 8;- Specified by:
getIndexFeatureMappingCountin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The count of indexFeatureMapping.
-
getIndexFeatureMapping
A list of feature names for each index in the input tensor. Required when the input [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.
repeated string index_feature_mapping = 8;- Specified by:
getIndexFeatureMappingin interfaceExplanationMetadata.InputMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The indexFeatureMapping at the given index.
-
getIndexFeatureMappingBytes
public com.google.protobuf.ByteString getIndexFeatureMappingBytes(int index) A list of feature names for each index in the input tensor. Required when the input [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.
repeated string index_feature_mapping = 8;- Specified by:
getIndexFeatureMappingBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the indexFeatureMapping at the given index.
-
getEncodedTensorName
Encoded tensor is a transformation of the input tensor. Must be provided if choosing [Integrated Gradients attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] or [XRAI attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] and the input tensor is not differentiable. An encoded tensor is generated if the input tensor is encoded by a lookup table.
string encoded_tensor_name = 9;- Specified by:
getEncodedTensorNamein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The encodedTensorName.
-
getEncodedTensorNameBytes
public com.google.protobuf.ByteString getEncodedTensorNameBytes()Encoded tensor is a transformation of the input tensor. Must be provided if choosing [Integrated Gradients attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] or [XRAI attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] and the input tensor is not differentiable. An encoded tensor is generated if the input tensor is encoded by a lookup table.
string encoded_tensor_name = 9;- Specified by:
getEncodedTensorNameBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for encodedTensorName.
-
getEncodedBaselinesList
A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
repeated .google.protobuf.Value encoded_baselines = 10;- Specified by:
getEncodedBaselinesListin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getEncodedBaselinesOrBuilderList
A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
repeated .google.protobuf.Value encoded_baselines = 10;- Specified by:
getEncodedBaselinesOrBuilderListin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getEncodedBaselinesCount
public int getEncodedBaselinesCount()A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
repeated .google.protobuf.Value encoded_baselines = 10;- Specified by:
getEncodedBaselinesCountin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getEncodedBaselines
public com.google.protobuf.Value getEncodedBaselines(int index) A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
repeated .google.protobuf.Value encoded_baselines = 10;- Specified by:
getEncodedBaselinesin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getEncodedBaselinesOrBuilder
public com.google.protobuf.ValueOrBuilder getEncodedBaselinesOrBuilder(int index) A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
repeated .google.protobuf.Value encoded_baselines = 10;- Specified by:
getEncodedBaselinesOrBuilderin interfaceExplanationMetadata.InputMetadataOrBuilder
-
hasVisualization
public boolean hasVisualization()Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;- Specified by:
hasVisualizationin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- Whether the visualization field is set.
-
getVisualization
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;- Specified by:
getVisualizationin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The visualization.
-
getVisualizationOrBuilder
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;- Specified by:
getVisualizationOrBuilderin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getGroupName
Name of the group that the input belongs to. Features with the same group name will be treated as one feature when computing attributions. Features grouped together can have different shapes in value. If provided, there will be one single attribution generated in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], keyed by the group name.
string group_name = 12;- Specified by:
getGroupNamein interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The groupName.
-
getGroupNameBytes
public com.google.protobuf.ByteString getGroupNameBytes()Name of the group that the input belongs to. Features with the same group name will be treated as one feature when computing attributions. Features grouped together can have different shapes in value. If provided, there will be one single attribution generated in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], keyed by the group name.
string group_name = 12;- Specified by:
getGroupNameBytesin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The bytes for groupName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ExplanationMetadata.InputMetadata parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ExplanationMetadata.InputMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ExplanationMetadata.InputMetadata.Builder newBuilder(ExplanationMetadata.InputMetadata prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExplanationMetadata.InputMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-