public static final class ExplanationMetadata.InputMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder> 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| Modifier and Type | Method and Description |
|---|---|
ExplanationMetadata.InputMetadata.Builder |
addAllEncodedBaselines(Iterable<? extends com.google.protobuf.Value> values)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addAllIndexFeatureMapping(Iterable<String> values)
A list of feature names for each index in the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addAllInputBaselines(Iterable<? extends com.google.protobuf.Value> values)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
addEncodedBaselines(int index,
com.google.protobuf.Value.Builder builderForValue)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addEncodedBaselines(int index,
com.google.protobuf.Value value)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addEncodedBaselines(com.google.protobuf.Value.Builder builderForValue)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addEncodedBaselines(com.google.protobuf.Value value)
A list of baselines for the encoded tensor.
|
com.google.protobuf.Value.Builder |
addEncodedBaselinesBuilder()
A list of baselines for the encoded tensor.
|
com.google.protobuf.Value.Builder |
addEncodedBaselinesBuilder(int index)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addIndexFeatureMapping(String value)
A list of feature names for each index in the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addIndexFeatureMappingBytes(com.google.protobuf.ByteString value)
A list of feature names for each index in the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
addInputBaselines(int index,
com.google.protobuf.Value.Builder builderForValue)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
addInputBaselines(int index,
com.google.protobuf.Value value)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
addInputBaselines(com.google.protobuf.Value.Builder builderForValue)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
addInputBaselines(com.google.protobuf.Value value)
Baseline inputs for this feature.
|
com.google.protobuf.Value.Builder |
addInputBaselinesBuilder()
Baseline inputs for this feature.
|
com.google.protobuf.Value.Builder |
addInputBaselinesBuilder(int index)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationMetadata.InputMetadata |
build() |
ExplanationMetadata.InputMetadata |
buildPartial() |
ExplanationMetadata.InputMetadata.Builder |
clear() |
ExplanationMetadata.InputMetadata.Builder |
clearDenseShapeTensorName()
Specifies the shape of the values of the input if the input is a sparse
representation.
|
ExplanationMetadata.InputMetadata.Builder |
clearEncodedBaselines()
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
clearEncodedTensorName()
Encoded tensor is a transformation of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
clearEncoding()
Defines how the feature is encoded into the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
clearFeatureValueDomain()
The domain details of the input feature value.
|
ExplanationMetadata.InputMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplanationMetadata.InputMetadata.Builder |
clearGroupName()
Name of the group that the input belongs to.
|
ExplanationMetadata.InputMetadata.Builder |
clearIndexFeatureMapping()
A list of feature names for each index in the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
clearIndicesTensorName()
Specifies the index of the values of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
clearInputBaselines()
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
clearInputTensorName()
Name of the input tensor for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
clearModality()
Modality of the feature.
|
ExplanationMetadata.InputMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplanationMetadata.InputMetadata.Builder |
clearVisualization()
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.Builder |
clone() |
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.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Value |
getEncodedBaselines(int index)
A list of baselines for the encoded tensor.
|
com.google.protobuf.Value.Builder |
getEncodedBaselinesBuilder(int index)
A list of baselines for the encoded tensor.
|
List<com.google.protobuf.Value.Builder> |
getEncodedBaselinesBuilderList()
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.FeatureValueDomain.Builder |
getFeatureValueDomainBuilder()
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.
|
com.google.protobuf.Value.Builder |
getInputBaselinesBuilder(int index)
Baseline inputs for this feature.
|
List<com.google.protobuf.Value.Builder> |
getInputBaselinesBuilderList()
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.
|
ExplanationMetadata.InputMetadata.Visualization |
getVisualization()
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.Visualization.Builder |
getVisualizationBuilder()
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.VisualizationOrBuilder |
getVisualizationOrBuilder()
Visualization configurations for image explanation.
|
boolean |
hasFeatureValueDomain()
The domain details of the input feature value.
|
boolean |
hasVisualization()
Visualization configurations for image explanation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplanationMetadata.InputMetadata.Builder |
mergeFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain value)
The domain details of the input feature value.
|
ExplanationMetadata.InputMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplanationMetadata.InputMetadata.Builder |
mergeFrom(ExplanationMetadata.InputMetadata other) |
ExplanationMetadata.InputMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplanationMetadata.InputMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplanationMetadata.InputMetadata.Builder |
mergeVisualization(ExplanationMetadata.InputMetadata.Visualization value)
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.Builder |
removeEncodedBaselines(int index)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
removeInputBaselines(int index)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
setDenseShapeTensorName(String value)
Specifies the shape of the values of the input if the input is a sparse
representation.
|
ExplanationMetadata.InputMetadata.Builder |
setDenseShapeTensorNameBytes(com.google.protobuf.ByteString value)
Specifies the shape of the values of the input if the input is a sparse
representation.
|
ExplanationMetadata.InputMetadata.Builder |
setEncodedBaselines(int index,
com.google.protobuf.Value.Builder builderForValue)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setEncodedBaselines(int index,
com.google.protobuf.Value value)
A list of baselines for the encoded tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setEncodedTensorName(String value)
Encoded tensor is a transformation of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setEncodedTensorNameBytes(com.google.protobuf.ByteString value)
Encoded tensor is a transformation of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setEncoding(ExplanationMetadata.InputMetadata.Encoding value)
Defines how the feature is encoded into the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setEncodingValue(int value)
Defines how the feature is encoded into the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder builderForValue)
The domain details of the input feature value.
|
ExplanationMetadata.InputMetadata.Builder |
setFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain value)
The domain details of the input feature value.
|
ExplanationMetadata.InputMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationMetadata.InputMetadata.Builder |
setGroupName(String value)
Name of the group that the input belongs to.
|
ExplanationMetadata.InputMetadata.Builder |
setGroupNameBytes(com.google.protobuf.ByteString value)
Name of the group that the input belongs to.
|
ExplanationMetadata.InputMetadata.Builder |
setIndexFeatureMapping(int index,
String value)
A list of feature names for each index in the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setIndicesTensorName(String value)
Specifies the index of the values of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setIndicesTensorNameBytes(com.google.protobuf.ByteString value)
Specifies the index of the values of the input tensor.
|
ExplanationMetadata.InputMetadata.Builder |
setInputBaselines(int index,
com.google.protobuf.Value.Builder builderForValue)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
setInputBaselines(int index,
com.google.protobuf.Value value)
Baseline inputs for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
setInputTensorName(String value)
Name of the input tensor for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
setInputTensorNameBytes(com.google.protobuf.ByteString value)
Name of the input tensor for this feature.
|
ExplanationMetadata.InputMetadata.Builder |
setModality(String value)
Modality of the feature.
|
ExplanationMetadata.InputMetadata.Builder |
setModalityBytes(com.google.protobuf.ByteString value)
Modality of the feature.
|
ExplanationMetadata.InputMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplanationMetadata.InputMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplanationMetadata.InputMetadata.Builder |
setVisualization(ExplanationMetadata.InputMetadata.Visualization.Builder builderForValue)
Visualization configurations for image explanation.
|
ExplanationMetadata.InputMetadata.Builder |
setVisualization(ExplanationMetadata.InputMetadata.Visualization value)
Visualization configurations for image explanation.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplanationMetadata.InputMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplanationMetadata.InputMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplanationMetadata.InputMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder mergeFrom(ExplanationMetadata.InputMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public ExplanationMetadata.InputMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.InputMetadata.Builder>IOExceptionpublic 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 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 ExplanationMetadata.InputMetadata.Builder setInputBaselines(int index, com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder setInputBaselines(int index, com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addInputBaselines(com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder addInputBaselines(int index, com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder addInputBaselines(com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addInputBaselines(int index, com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addAllInputBaselines(Iterable<? extends com.google.protobuf.Value> values)
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;public ExplanationMetadata.InputMetadata.Builder clearInputBaselines()
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;public ExplanationMetadata.InputMetadata.Builder removeInputBaselines(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;public com.google.protobuf.Value.Builder getInputBaselinesBuilder(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;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;getInputBaselinesOrBuilder 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 com.google.protobuf.Value.Builder addInputBaselinesBuilder()
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;public com.google.protobuf.Value.Builder addInputBaselinesBuilder(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;public List<com.google.protobuf.Value.Builder> getInputBaselinesBuilderList()
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;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;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 ExplanationMetadata.InputMetadata.Builder setInputTensorName(String value)
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;value - The inputTensorName to set.public ExplanationMetadata.InputMetadata.Builder clearInputTensorName()
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;public ExplanationMetadata.InputMetadata.Builder setInputTensorNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for inputTensorName to set.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;
getEncodingValue in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Builder setEncodingValue(int value)
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;
value - The enum numeric value on the wire for encoding to set.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;
getEncoding in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Builder setEncoding(ExplanationMetadata.InputMetadata.Encoding value)
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;
value - The encoding to set.public ExplanationMetadata.InputMetadata.Builder clearEncoding()
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3;
public 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 ExplanationMetadata.InputMetadata.Builder setModality(String value)
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;value - The modality to set.public ExplanationMetadata.InputMetadata.Builder clearModality()
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;public ExplanationMetadata.InputMetadata.Builder setModalityBytes(com.google.protobuf.ByteString value)
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
string modality = 4;value - The bytes for modality to set.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;
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.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5;
getFeatureValueDomain in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Builder setFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain value)
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;
public ExplanationMetadata.InputMetadata.Builder setFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder builderForValue)
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;
public ExplanationMetadata.InputMetadata.Builder mergeFeatureValueDomain(ExplanationMetadata.InputMetadata.FeatureValueDomain value)
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;
public ExplanationMetadata.InputMetadata.Builder clearFeatureValueDomain()
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;
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder getFeatureValueDomainBuilder()
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;
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;
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 ExplanationMetadata.InputMetadata.Builder setIndicesTensorName(String value)
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;value - The indicesTensorName to set.public ExplanationMetadata.InputMetadata.Builder clearIndicesTensorName()
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;public ExplanationMetadata.InputMetadata.Builder setIndicesTensorNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for indicesTensorName to set.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;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 ExplanationMetadata.InputMetadata.Builder setDenseShapeTensorName(String value)
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;value - The denseShapeTensorName to set.public ExplanationMetadata.InputMetadata.Builder clearDenseShapeTensorName()
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;public ExplanationMetadata.InputMetadata.Builder setDenseShapeTensorNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for denseShapeTensorName to set.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;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 ExplanationMetadata.InputMetadata.Builder setIndexFeatureMapping(int index, String value)
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;index - The index to set the value at.value - The indexFeatureMapping to set.public ExplanationMetadata.InputMetadata.Builder addIndexFeatureMapping(String value)
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;value - The indexFeatureMapping to add.public ExplanationMetadata.InputMetadata.Builder addAllIndexFeatureMapping(Iterable<String> values)
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;values - The indexFeatureMapping to add.public ExplanationMetadata.InputMetadata.Builder clearIndexFeatureMapping()
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;public ExplanationMetadata.InputMetadata.Builder addIndexFeatureMappingBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the indexFeatureMapping to add.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 ExplanationMetadata.InputMetadata.Builder setEncodedTensorName(String value)
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;value - The encodedTensorName to set.public ExplanationMetadata.InputMetadata.Builder clearEncodedTensorName()
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;public ExplanationMetadata.InputMetadata.Builder setEncodedTensorNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for encodedTensorName to set.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;getEncodedBaselinesList 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 ExplanationMetadata.InputMetadata.Builder setEncodedBaselines(int index, com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder setEncodedBaselines(int index, com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addEncodedBaselines(com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder addEncodedBaselines(int index, com.google.protobuf.Value value)
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;public ExplanationMetadata.InputMetadata.Builder addEncodedBaselines(com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addEncodedBaselines(int index, com.google.protobuf.Value.Builder builderForValue)
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;public ExplanationMetadata.InputMetadata.Builder addAllEncodedBaselines(Iterable<? extends com.google.protobuf.Value> values)
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;public ExplanationMetadata.InputMetadata.Builder clearEncodedBaselines()
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;public ExplanationMetadata.InputMetadata.Builder removeEncodedBaselines(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;public com.google.protobuf.Value.Builder getEncodedBaselinesBuilder(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;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;getEncodedBaselinesOrBuilder 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 com.google.protobuf.Value.Builder addEncodedBaselinesBuilder()
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;public com.google.protobuf.Value.Builder addEncodedBaselinesBuilder(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;public List<com.google.protobuf.Value.Builder> getEncodedBaselinesBuilderList()
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;public boolean hasVisualization()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
hasVisualization in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Visualization getVisualization()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
getVisualization in interface ExplanationMetadata.InputMetadataOrBuilderpublic ExplanationMetadata.InputMetadata.Builder setVisualization(ExplanationMetadata.InputMetadata.Visualization value)
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
public ExplanationMetadata.InputMetadata.Builder setVisualization(ExplanationMetadata.InputMetadata.Visualization.Builder builderForValue)
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
public ExplanationMetadata.InputMetadata.Builder mergeVisualization(ExplanationMetadata.InputMetadata.Visualization value)
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
public ExplanationMetadata.InputMetadata.Builder clearVisualization()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
public ExplanationMetadata.InputMetadata.Visualization.Builder getVisualizationBuilder()
Visualization configurations for image explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11;
public ExplanationMetadata.InputMetadata.VisualizationOrBuilder getVisualizationOrBuilder()
Visualization configurations for image explanation.
.google.cloud.aiplatform.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 ExplanationMetadata.InputMetadata.Builder setGroupName(String value)
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;value - The groupName to set.public ExplanationMetadata.InputMetadata.Builder clearGroupName()
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;public ExplanationMetadata.InputMetadata.Builder setGroupNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for groupName to set.public final ExplanationMetadata.InputMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>public final ExplanationMetadata.InputMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.