public static final class ExplanationMetadata.OutputMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder> implements ExplanationMetadata.OutputMetadataOrBuilder
Metadata of the prediction output to be explained.Protobuf type
google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata| Modifier and Type | Method and Description |
|---|---|
ExplanationMetadata.OutputMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationMetadata.OutputMetadata |
build() |
ExplanationMetadata.OutputMetadata |
buildPartial() |
ExplanationMetadata.OutputMetadata.Builder |
clear() |
ExplanationMetadata.OutputMetadata.Builder |
clearDisplayNameMapping() |
ExplanationMetadata.OutputMetadata.Builder |
clearDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name.
|
ExplanationMetadata.OutputMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplanationMetadata.OutputMetadata.Builder |
clearIndexDisplayNameMapping()
Static mapping between the index and display name.
|
ExplanationMetadata.OutputMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplanationMetadata.OutputMetadata.Builder |
clearOutputTensorName()
Name of the output tensor.
|
ExplanationMetadata.OutputMetadata.Builder |
clone() |
ExplanationMetadata.OutputMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ExplanationMetadata.OutputMetadata.DisplayNameMappingCase |
getDisplayNameMappingCase() |
String |
getDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name.
|
com.google.protobuf.ByteString |
getDisplayNameMappingKeyBytes()
Specify a field name in the prediction to look for the display name.
|
com.google.protobuf.Value |
getIndexDisplayNameMapping()
Static mapping between the index and display name.
|
com.google.protobuf.Value.Builder |
getIndexDisplayNameMappingBuilder()
Static mapping between the index and display name.
|
com.google.protobuf.ValueOrBuilder |
getIndexDisplayNameMappingOrBuilder()
Static mapping between the index and display name.
|
String |
getOutputTensorName()
Name of the output tensor.
|
com.google.protobuf.ByteString |
getOutputTensorNameBytes()
Name of the output tensor.
|
boolean |
hasDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name.
|
boolean |
hasIndexDisplayNameMapping()
Static mapping between the index and display name.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplanationMetadata.OutputMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplanationMetadata.OutputMetadata.Builder |
mergeFrom(ExplanationMetadata.OutputMetadata other) |
ExplanationMetadata.OutputMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplanationMetadata.OutputMetadata.Builder |
mergeIndexDisplayNameMapping(com.google.protobuf.Value value)
Static mapping between the index and display name.
|
ExplanationMetadata.OutputMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplanationMetadata.OutputMetadata.Builder |
setDisplayNameMappingKey(String value)
Specify a field name in the prediction to look for the display name.
|
ExplanationMetadata.OutputMetadata.Builder |
setDisplayNameMappingKeyBytes(com.google.protobuf.ByteString value)
Specify a field name in the prediction to look for the display name.
|
ExplanationMetadata.OutputMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplanationMetadata.OutputMetadata.Builder |
setIndexDisplayNameMapping(com.google.protobuf.Value.Builder builderForValue)
Static mapping between the index and display name.
|
ExplanationMetadata.OutputMetadata.Builder |
setIndexDisplayNameMapping(com.google.protobuf.Value value)
Static mapping between the index and display name.
|
ExplanationMetadata.OutputMetadata.Builder |
setOutputTensorName(String value)
Name of the output tensor.
|
ExplanationMetadata.OutputMetadata.Builder |
setOutputTensorNameBytes(com.google.protobuf.ByteString value)
Name of the output tensor.
|
ExplanationMetadata.OutputMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplanationMetadata.OutputMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.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.OutputMetadata.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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplanationMetadata.OutputMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplanationMetadata.OutputMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplanationMetadata.OutputMetadata.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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.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.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.Builder mergeFrom(ExplanationMetadata.OutputMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder>public ExplanationMetadata.OutputMetadata.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.OutputMetadata.Builder>IOExceptionpublic ExplanationMetadata.OutputMetadata.DisplayNameMappingCase getDisplayNameMappingCase()
getDisplayNameMappingCase in interface ExplanationMetadata.OutputMetadataOrBuilderpublic ExplanationMetadata.OutputMetadata.Builder clearDisplayNameMapping()
public boolean hasIndexDisplayNameMapping()
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;hasIndexDisplayNameMapping in interface ExplanationMetadata.OutputMetadataOrBuilderpublic com.google.protobuf.Value getIndexDisplayNameMapping()
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;getIndexDisplayNameMapping in interface ExplanationMetadata.OutputMetadataOrBuilderpublic ExplanationMetadata.OutputMetadata.Builder setIndexDisplayNameMapping(com.google.protobuf.Value value)
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;public ExplanationMetadata.OutputMetadata.Builder setIndexDisplayNameMapping(com.google.protobuf.Value.Builder builderForValue)
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;public ExplanationMetadata.OutputMetadata.Builder mergeIndexDisplayNameMapping(com.google.protobuf.Value value)
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;public ExplanationMetadata.OutputMetadata.Builder clearIndexDisplayNameMapping()
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;public com.google.protobuf.Value.Builder getIndexDisplayNameMappingBuilder()
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;public com.google.protobuf.ValueOrBuilder getIndexDisplayNameMappingOrBuilder()
Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index].
.google.protobuf.Value index_display_name_mapping = 1;getIndexDisplayNameMappingOrBuilder in interface ExplanationMetadata.OutputMetadataOrBuilderpublic boolean hasDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;hasDisplayNameMappingKey in interface ExplanationMetadata.OutputMetadataOrBuilderpublic String getDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;getDisplayNameMappingKey in interface ExplanationMetadata.OutputMetadataOrBuilderpublic com.google.protobuf.ByteString getDisplayNameMappingKeyBytes()
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;getDisplayNameMappingKeyBytes in interface ExplanationMetadata.OutputMetadataOrBuilderpublic ExplanationMetadata.OutputMetadata.Builder setDisplayNameMappingKey(String value)
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;value - The displayNameMappingKey to set.public ExplanationMetadata.OutputMetadata.Builder clearDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;public ExplanationMetadata.OutputMetadata.Builder setDisplayNameMappingKeyBytes(com.google.protobuf.ByteString value)
Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] for a specific output.
string display_name_mapping_key = 2;value - The bytes for displayNameMappingKey to set.public String getOutputTensorName()
Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
string output_tensor_name = 3;getOutputTensorName in interface ExplanationMetadata.OutputMetadataOrBuilderpublic com.google.protobuf.ByteString getOutputTensorNameBytes()
Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
string output_tensor_name = 3;getOutputTensorNameBytes in interface ExplanationMetadata.OutputMetadataOrBuilderpublic ExplanationMetadata.OutputMetadata.Builder setOutputTensorName(String value)
Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
string output_tensor_name = 3;value - The outputTensorName to set.public ExplanationMetadata.OutputMetadata.Builder clearOutputTensorName()
Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
string output_tensor_name = 3;public ExplanationMetadata.OutputMetadata.Builder setOutputTensorNameBytes(com.google.protobuf.ByteString value)
Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
string output_tensor_name = 3;value - The bytes for outputTensorName to set.public final ExplanationMetadata.OutputMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder>public final ExplanationMetadata.OutputMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.OutputMetadata.Builder>Copyright © 2023 Google LLC. All rights reserved.