Class ExplanationMetadataOverride (0.8.0)

publicfinalclass ExplanationMetadataOverrideextendsGeneratedMessageV3implementsExplanationMetadataOverrideOrBuilder

The ExplanationMetadata entries that can be overridden at online explanation time.

Protobuf type google.cloud.vertexai.v1.ExplanationMetadataOverride

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

INPUTS_FIELD_NUMBER

publicstaticfinalintINPUTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticExplanationMetadataOverridegetDefaultInstance()
Returns
Type Description
ExplanationMetadataOverride

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticExplanationMetadataOverride.BuildernewBuilder()
Returns
Type Description
ExplanationMetadataOverride.Builder

newBuilder(ExplanationMetadataOverride prototype)

publicstaticExplanationMetadataOverride.BuildernewBuilder(ExplanationMetadataOverrideprototype)
Parameter
Name Description
prototype ExplanationMetadataOverride
Returns
Type Description
ExplanationMetadataOverride.Builder

parseDelimitedFrom(InputStream input)

publicstaticExplanationMetadataOverrideparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticExplanationMetadataOverrideparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticExplanationMetadataOverrideparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticExplanationMetadataOverrideparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticExplanationMetadataOverrideparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticExplanationMetadataOverrideparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticExplanationMetadataOverrideparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ExplanationMetadataOverride>parser()
Returns
Type Description
Parser<ExplanationMetadataOverride>

Methods

containsInputs(String key)

publicbooleancontainsInputs(Stringkey)

Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.

map<string, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicExplanationMetadataOverridegetDefaultInstanceForType()
Returns
Type Description
ExplanationMetadataOverride

getInputs() (deprecated)

publicMap<String,ExplanationMetadataOverride.InputMetadataOverride>getInputs()

Use #getInputsMap() instead.

Returns
Type Description
Map<String,InputMetadataOverride>

getInputsCount()

publicintgetInputsCount()

Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.

map<string, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInputsMap()

publicMap<String,ExplanationMetadataOverride.InputMetadataOverride>getInputsMap()

Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.

map<string, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Map<String,InputMetadataOverride>

getInputsOrDefault(String key, ExplanationMetadataOverride.InputMetadataOverride defaultValue)

publicExplanationMetadataOverride.InputMetadataOverridegetInputsOrDefault(Stringkey,ExplanationMetadataOverride.InputMetadataOverridedefaultValue)

Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.

map<string, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
key String
defaultValue ExplanationMetadataOverride.InputMetadataOverride
Returns
Type Description
ExplanationMetadataOverride.InputMetadataOverride

getInputsOrThrow(String key)

publicExplanationMetadataOverride.InputMetadataOverridegetInputsOrThrow(Stringkey)

Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.

map<string, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
ExplanationMetadataOverride.InputMetadataOverride

getParserForType()

publicParser<ExplanationMetadataOverride>getParserForType()
Returns
Type Description
Parser<ExplanationMetadataOverride>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicExplanationMetadataOverride.BuildernewBuilderForType()
Returns
Type Description
ExplanationMetadataOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedExplanationMetadataOverride.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicExplanationMetadataOverride.BuildertoBuilder()
Returns
Type Description
ExplanationMetadataOverride.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.