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 type
google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
ExplanationMetadata.InputMetadata.Builder
Metadata of the input of a feature.
|
static class |
ExplanationMetadata.InputMetadata.Encoding
Defines how a feature is encoded.
|
static class |
ExplanationMetadata.InputMetadata.FeatureValueDomain
Domain details of the input feature value.
|
static interface |
ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder |
static class |
ExplanationMetadata.InputMetadata.Visualization
Visualization configurations for image explanation.
|
static interface |
ExplanationMetadata.InputMetadata.VisualizationOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER |
static int |
ENCODED_BASELINES_FIELD_NUMBER |
static int |
ENCODED_TENSOR_NAME_FIELD_NUMBER |
static int |
ENCODING_FIELD_NUMBER |
static int |
FEATURE_VALUE_DOMAIN_FIELD_NUMBER |
static int |
GROUP_NAME_FIELD_NUMBER |
static int |
INDEX_FEATURE_MAPPING_FIELD_NUMBER |
static int |
INDICES_TENSOR_NAME_FIELD_NUMBER |
static int |
INPUT_BASELINES_FIELD_NUMBER |
static int |
INPUT_TENSOR_NAME_FIELD_NUMBER |
static int |
MODALITY_FIELD_NUMBER |
static int |
VISUALIZATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExplanationMetadata.InputMetadata |
getDefaultInstance() |
ExplanationMetadata.InputMetadata |
getDefaultInstanceForType() |
String |
getDenseShapeTensorName()
Specifies the shape of the values of the input if the input is a sparse
representation.
|
com.google.protobuf.ByteString |
getDenseShapeTensorNameBytes()
Specifies the shape of the values of the input if the input is a sparse
representation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Value |
getEncodedBaselines(int index)
A list of baselines for the encoded tensor.
|
int |
getEncodedBaselinesCount()
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.ValueOrBuilder |
getEncodedBaselinesOrBuilder(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.
|
String |
getEncodedTensorName()
Encoded tensor is a transformation of the input tensor.
|
com.google.protobuf.ByteString |
getEncodedTensorNameBytes()
Encoded tensor is a transformation of the input tensor.
|
ExplanationMetadata.InputMetadata.Encoding |
getEncoding()
Defines how the feature is encoded into the input tensor.
|
int |
getEncodingValue()
Defines how the feature is encoded into the input tensor.
|
ExplanationMetadata.InputMetadata.FeatureValueDomain |
getFeatureValueDomain()
The domain details of the input feature value.
|
ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder |
getFeatureValueDomainOrBuilder()
The domain details of the input feature value.
|
String |
getGroupName()
Name of the group that the input belongs to.
|
com.google.protobuf.ByteString |
getGroupNameBytes()
Name of the group that the input belongs to.
|
String |
getIndexFeatureMapping(int index)
A list of feature names for each index in the input tensor.
|
com.google.protobuf.ByteString |
getIndexFeatureMappingBytes(int index)
A list of feature names for each index in the input tensor.
|
int |
getIndexFeatureMappingCount()
A list of feature names for each index in the input tensor.
|
com.google.protobuf.ProtocolStringList |
getIndexFeatureMappingList()
A list of feature names for each index in the input tensor.
|
String |
getIndicesTensorName()
Specifies the index of the values of the input tensor.
|
com.google.protobuf.ByteString |
getIndicesTensorNameBytes()
Specifies the index of the values of the input tensor.
|
com.google.protobuf.Value |
getInputBaselines(int index)
Baseline inputs for this feature.
|
int |
getInputBaselinesCount()
Baseline inputs for this feature.
|
List<com.google.protobuf.Value> |
getInputBaselinesList()
Baseline inputs for this feature.
|
com.google.protobuf.ValueOrBuilder |
getInputBaselinesOrBuilder(int index)
Baseline inputs for this feature.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getInputBaselinesOrBuilderList()
Baseline inputs for this feature.
|
String |
getInputTensorName()
Name of the input tensor for this feature.
|
com.google.protobuf.ByteString |
getInputTensorNameBytes()
Name of the input tensor for this feature.
|
String |
getModality()
Modality of the feature.
|
com.google.protobuf.ByteString |
getModalityBytes()
Modality of the feature.
|
com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> |
getParserForType() |
int |
getSerializedSize() |
ExplanationMetadata.InputMetadata.Visualization |
getVisualization()
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.VisualizationOrBuilder |
getVisualizationOrBuilder()
Visualization configurations for image explanation.
|
boolean |
hasFeatureValueDomain()
The domain details of the input feature value.
|
int |
hashCode() |
boolean |
hasVisualization()
Visualization configurations for image explanation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExplanationMetadata.InputMetadata.Builder |
newBuilder() |
static ExplanationMetadata.InputMetadata.Builder |
newBuilder(ExplanationMetadata.InputMetadata prototype) |
ExplanationMetadata.InputMetadata.Builder |
newBuilderForType() |
protected ExplanationMetadata.InputMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExplanationMetadata.InputMetadata |
parseDelimitedFrom(InputStream input) |
static ExplanationMetadata.InputMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.InputMetadata |
parseFrom(byte[] data) |
static ExplanationMetadata.InputMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.InputMetadata |
parseFrom(ByteBuffer data) |
static ExplanationMetadata.InputMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.InputMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static ExplanationMetadata.InputMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.InputMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExplanationMetadata.InputMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.InputMetadata |
parseFrom(InputStream input) |
static ExplanationMetadata.InputMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> |
parser() |
ExplanationMetadata.InputMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUT_BASELINES_FIELD_NUMBER
public static final int INPUT_TENSOR_NAME_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
public static final int MODALITY_FIELD_NUMBER
public static final int FEATURE_VALUE_DOMAIN_FIELD_NUMBER
public static final int INDICES_TENSOR_NAME_FIELD_NUMBER
public static final int DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER
public static final int INDEX_FEATURE_MAPPING_FIELD_NUMBER
public static final int ENCODED_TENSOR_NAME_FIELD_NUMBER
public static final int ENCODED_BASELINES_FIELD_NUMBER
public static final int VISUALIZATION_FIELD_NUMBER
public static final int GROUP_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getInputBaselinesList in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputBaselinesOrBuilderList in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputBaselinesCount in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputBaselines in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputBaselinesOrBuilder in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputTensorName in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getInputTensorNameBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic int getEncodingValue()
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;
getEncodingValue in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Encoding getEncoding()
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;
getEncoding in interface ExplanationMetadata.InputMetadataOrBuilderpublic String getModality()
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;getModality in interface ExplanationMetadata.InputMetadataOrBuilderpublic com.google.protobuf.ByteString getModalityBytes()
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;getModalityBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic boolean hasFeatureValueDomain()
The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;
hasFeatureValueDomain in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.FeatureValueDomain getFeatureValueDomain()
The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;
getFeatureValueDomain in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder getFeatureValueDomainOrBuilder()
The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;
getFeatureValueDomainOrBuilder in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getIndicesTensorName in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getIndicesTensorNameBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getDenseShapeTensorName in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getDenseShapeTensorNameBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getIndexFeatureMappingList in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getIndexFeatureMappingCount in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getIndexFeatureMapping in interface ExplanationMetadata.InputMetadataOrBuilderindex - The index of the element to return.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;getIndexFeatureMappingBytes in interface ExplanationMetadata.InputMetadataOrBuilderindex - The index of the value to return.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;getEncodedTensorName in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedTensorNameBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedBaselinesList in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedBaselinesOrBuilderList in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedBaselinesCount in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedBaselines in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getEncodedBaselinesOrBuilder in interface ExplanationMetadata.InputMetadataOrBuilderpublic boolean hasVisualization()
Visualization configurations for image explanation.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
hasVisualization in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Visualization getVisualization()
Visualization configurations for image explanation.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
getVisualization in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.VisualizationOrBuilder getVisualizationOrBuilder()
Visualization configurations for image explanation.
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
getVisualizationOrBuilder in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getGroupName in interface ExplanationMetadata.InputMetadataOrBuilderpublic 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;getGroupNameBytes in interface ExplanationMetadata.InputMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExplanationMetadata.InputMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplanationMetadata.InputMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.InputMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.InputMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExplanationMetadata.InputMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExplanationMetadata.InputMetadata.Builder newBuilder()
public static ExplanationMetadata.InputMetadata.Builder newBuilder(ExplanationMetadata.InputMetadata prototype)
public ExplanationMetadata.InputMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExplanationMetadata.InputMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExplanationMetadata.InputMetadata getDefaultInstance()
public static com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> parser()
public com.google.protobuf.Parser<ExplanationMetadata.InputMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExplanationMetadata.InputMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.