public static final class ExplanationMetadata.OutputMetadata extends com.google.protobuf.GeneratedMessageV3 implements ExplanationMetadata.OutputMetadataOrBuilder
Metadata of the prediction output to be explained.Protobuf type
google.cloud.vertexai.v1.ExplanationMetadata.OutputMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
ExplanationMetadata.OutputMetadata.Builder
Metadata of the prediction output to be explained.
|
static class |
ExplanationMetadata.OutputMetadata.DisplayNameMappingCase |
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 |
DISPLAY_NAME_MAPPING_KEY_FIELD_NUMBER |
static int |
INDEX_DISPLAY_NAME_MAPPING_FIELD_NUMBER |
static int |
OUTPUT_TENSOR_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExplanationMetadata.OutputMetadata |
getDefaultInstance() |
ExplanationMetadata.OutputMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.
|
com.google.protobuf.Parser<ExplanationMetadata.OutputMetadata> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDisplayNameMappingKey()
Specify a field name in the prediction to look for the display name.
|
int |
hashCode() |
boolean |
hasIndexDisplayNameMapping()
Static mapping between the index and display name.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExplanationMetadata.OutputMetadata.Builder |
newBuilder() |
static ExplanationMetadata.OutputMetadata.Builder |
newBuilder(ExplanationMetadata.OutputMetadata prototype) |
ExplanationMetadata.OutputMetadata.Builder |
newBuilderForType() |
protected ExplanationMetadata.OutputMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExplanationMetadata.OutputMetadata |
parseDelimitedFrom(InputStream input) |
static ExplanationMetadata.OutputMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.OutputMetadata |
parseFrom(byte[] data) |
static ExplanationMetadata.OutputMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.OutputMetadata |
parseFrom(ByteBuffer data) |
static ExplanationMetadata.OutputMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.OutputMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static ExplanationMetadata.OutputMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.OutputMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExplanationMetadata.OutputMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExplanationMetadata.OutputMetadata |
parseFrom(InputStream input) |
static ExplanationMetadata.OutputMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExplanationMetadata.OutputMetadata> |
parser() |
ExplanationMetadata.OutputMetadata.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 INDEX_DISPLAY_NAME_MAPPING_FIELD_NUMBER
public static final int DISPLAY_NAME_MAPPING_KEY_FIELD_NUMBER
public static final int OUTPUT_TENSOR_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 ExplanationMetadata.OutputMetadata.DisplayNameMappingCase getDisplayNameMappingCase()
getDisplayNameMappingCase in interface ExplanationMetadata.OutputMetadataOrBuilderpublic 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 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 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 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.OutputMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplanationMetadata.OutputMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.OutputMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExplanationMetadata.OutputMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExplanationMetadata.OutputMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExplanationMetadata.OutputMetadata.Builder newBuilder()
public static ExplanationMetadata.OutputMetadata.Builder newBuilder(ExplanationMetadata.OutputMetadata prototype)
public ExplanationMetadata.OutputMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExplanationMetadata.OutputMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExplanationMetadata.OutputMetadata getDefaultInstance()
public static com.google.protobuf.Parser<ExplanationMetadata.OutputMetadata> parser()
public com.google.protobuf.Parser<ExplanationMetadata.OutputMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExplanationMetadata.OutputMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.