Package com.google.cloud.aiplatform.v1
Class ExplanationMetadata.InputMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 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 typegoogle.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExplanationMetadata.InputMetadata.BuilderMetadata of the input of a feature.static classExplanationMetadata.InputMetadata.EncodingDefines how a feature is encoded.static classExplanationMetadata.InputMetadata.FeatureValueDomainDomain details of the input feature value.static interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilderstatic classExplanationMetadata.InputMetadata.VisualizationVisualization configurations for image explanation.static interfaceExplanationMetadata.InputMetadata.VisualizationOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDENSE_SHAPE_TENSOR_NAME_FIELD_NUMBERstatic intENCODED_BASELINES_FIELD_NUMBERstatic intENCODED_TENSOR_NAME_FIELD_NUMBERstatic intENCODING_FIELD_NUMBERstatic intFEATURE_VALUE_DOMAIN_FIELD_NUMBERstatic intGROUP_NAME_FIELD_NUMBERstatic intINDEX_FEATURE_MAPPING_FIELD_NUMBERstatic intINDICES_TENSOR_NAME_FIELD_NUMBERstatic intINPUT_BASELINES_FIELD_NUMBERstatic intINPUT_TENSOR_NAME_FIELD_NUMBERstatic intMODALITY_FIELD_NUMBERstatic intVISUALIZATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ExplanationMetadata.InputMetadatagetDefaultInstance()ExplanationMetadata.InputMetadatagetDefaultInstanceForType()StringgetDenseShapeTensorName()Specifies the shape of the values of the input if the input is a sparse representation.com.google.protobuf.ByteStringgetDenseShapeTensorNameBytes()Specifies the shape of the values of the input if the input is a sparse representation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.ValuegetEncodedBaselines(int index)A list of baselines for the encoded tensor.intgetEncodedBaselinesCount()A list of baselines for the encoded tensor.List<com.google.protobuf.Value>getEncodedBaselinesList()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>getEncodedBaselinesOrBuilderList()A list of baselines for the encoded tensor.StringgetEncodedTensorName()Encoded tensor is a transformation of the input tensor.com.google.protobuf.ByteStringgetEncodedTensorNameBytes()Encoded tensor is a transformation of the input tensor.ExplanationMetadata.InputMetadata.EncodinggetEncoding()Defines how the feature is encoded into the input tensor.intgetEncodingValue()Defines how the feature is encoded into the input tensor.ExplanationMetadata.InputMetadata.FeatureValueDomaingetFeatureValueDomain()The domain details of the input feature value.ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuildergetFeatureValueDomainOrBuilder()The domain details of the input feature value.StringgetGroupName()Name of the group that the input belongs to.com.google.protobuf.ByteStringgetGroupNameBytes()Name of the group that the input belongs to.StringgetIndexFeatureMapping(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.intgetIndexFeatureMappingCount()A list of feature names for each index in the input tensor.com.google.protobuf.ProtocolStringListgetIndexFeatureMappingList()A list of feature names for each index in the input tensor.StringgetIndicesTensorName()Specifies the index of the values of the input tensor.com.google.protobuf.ByteStringgetIndicesTensorNameBytes()Specifies the index of the values of the input tensor.com.google.protobuf.ValuegetInputBaselines(int index)Baseline inputs for this feature.intgetInputBaselinesCount()Baseline inputs for this feature.List<com.google.protobuf.Value>getInputBaselinesList()Baseline inputs for this feature.com.google.protobuf.ValueOrBuildergetInputBaselinesOrBuilder(int index)Baseline inputs for this feature.List<? extends com.google.protobuf.ValueOrBuilder>getInputBaselinesOrBuilderList()Baseline inputs for this feature.StringgetInputTensorName()Name of the input tensor for this feature.com.google.protobuf.ByteStringgetInputTensorNameBytes()Name of the input tensor for this feature.StringgetModality()Modality of the feature.com.google.protobuf.ByteStringgetModalityBytes()Modality of the feature.com.google.protobuf.Parser<ExplanationMetadata.InputMetadata>getParserForType()intgetSerializedSize()ExplanationMetadata.InputMetadata.VisualizationgetVisualization()Visualization configurations for image explanation.ExplanationMetadata.InputMetadata.VisualizationOrBuildergetVisualizationOrBuilder()Visualization configurations for image explanation.booleanhasFeatureValueDomain()The domain details of the input feature value.inthashCode()booleanhasVisualization()Visualization configurations for image explanation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ExplanationMetadata.InputMetadata.BuildernewBuilder()static ExplanationMetadata.InputMetadata.BuildernewBuilder(ExplanationMetadata.InputMetadata prototype)ExplanationMetadata.InputMetadata.BuildernewBuilderForType()protected ExplanationMetadata.InputMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ExplanationMetadata.InputMetadataparseDelimitedFrom(InputStream input)static ExplanationMetadata.InputMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExplanationMetadata.InputMetadataparseFrom(byte[] data)static ExplanationMetadata.InputMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExplanationMetadata.InputMetadataparseFrom(com.google.protobuf.ByteString data)static ExplanationMetadata.InputMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExplanationMetadata.InputMetadataparseFrom(com.google.protobuf.CodedInputStream input)static ExplanationMetadata.InputMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExplanationMetadata.InputMetadataparseFrom(InputStream input)static ExplanationMetadata.InputMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExplanationMetadata.InputMetadataparseFrom(ByteBuffer data)static ExplanationMetadata.InputMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ExplanationMetadata.InputMetadata>parser()ExplanationMetadata.InputMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INPUT_BASELINES_FIELD_NUMBER
public static final int INPUT_BASELINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_TENSOR_NAME_FIELD_NUMBER
public static final int INPUT_TENSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODALITY_FIELD_NUMBER
public static final int MODALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEATURE_VALUE_DOMAIN_FIELD_NUMBER
public static final int FEATURE_VALUE_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDICES_TENSOR_NAME_FIELD_NUMBER
public static final int INDICES_TENSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER
public static final int DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDEX_FEATURE_MAPPING_FIELD_NUMBER
public static final int INDEX_FEATURE_MAPPING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODED_TENSOR_NAME_FIELD_NUMBER
public static final int ENCODED_TENSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODED_BASELINES_FIELD_NUMBER
public static final int ENCODED_BASELINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VISUALIZATION_FIELD_NUMBER
public static final int VISUALIZATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUP_NAME_FIELD_NUMBER
public static final int GROUP_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getInputBaselinesList
public List<com.google.protobuf.Value> 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
public List<? extends com.google.protobuf.ValueOrBuilder> 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
public String 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
public ExplanationMetadata.InputMetadata.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
public String 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
public ExplanationMetadata.InputMetadata.FeatureValueDomain 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
public String 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
public String 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
public String getIndexFeatureMapping(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:
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
public String 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
public List<com.google.protobuf.Value> 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
public List<? extends com.google.protobuf.ValueOrBuilder> 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
public ExplanationMetadata.InputMetadata.Visualization getVisualization()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;- Specified by:
getVisualizationin interfaceExplanationMetadata.InputMetadataOrBuilder- Returns:
- The visualization.
-
getVisualizationOrBuilder
public ExplanationMetadata.InputMetadata.VisualizationOrBuilder getVisualizationOrBuilder()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;- Specified by:
getVisualizationOrBuilderin interfaceExplanationMetadata.InputMetadataOrBuilder
-
getGroupName
public String 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static ExplanationMetadata.InputMetadata parseFrom(InputStream input) throws IOException
- 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
public ExplanationMetadata.InputMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ExplanationMetadata.InputMetadata.Builder newBuilder()
-
newBuilder
public static ExplanationMetadata.InputMetadata.Builder newBuilder(ExplanationMetadata.InputMetadata prototype)
-
toBuilder
public ExplanationMetadata.InputMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExplanationMetadata.InputMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ExplanationMetadata.InputMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ExplanationMetadata.InputMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-