Class ExplanationMetadataOverride (1.2.0)

public final class ExplanationMetadataOverride extends GeneratedMessageV3 implements ExplanationMetadataOverrideOrBuilder

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

Protobuf type google.cloud.vertexai.v1.ExplanationMetadataOverride

Static Fields

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExplanationMetadataOverride getDefaultInstance()
Returns
Type Description
ExplanationMetadataOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExplanationMetadataOverride.Builder newBuilder()
Returns
Type Description
ExplanationMetadataOverride.Builder

newBuilder(ExplanationMetadataOverride prototype)

public static ExplanationMetadataOverride.Builder newBuilder(ExplanationMetadataOverride prototype)
Parameter
Name Description
prototype ExplanationMetadataOverride
Returns
Type Description
ExplanationMetadataOverride.Builder

parseDelimitedFrom(InputStream input)

public static ExplanationMetadataOverride parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExplanationMetadataOverride parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExplanationMetadataOverride parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExplanationMetadataOverride parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExplanationMetadataOverride parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExplanationMetadataOverride parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExplanationMetadataOverride> parser()
Returns
Type Description
Parser<ExplanationMetadataOverride>

Methods

containsInputs(String key)

public boolean containsInputs(String key)

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)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExplanationMetadataOverride getDefaultInstanceForType()
Returns
Type Description
ExplanationMetadataOverride

getInputs() (deprecated)

public Map<String,ExplanationMetadataOverride.InputMetadataOverride> getInputs()

Use #getInputsMap() instead.

Returns
Type Description
Map<String,InputMetadataOverride>

getInputsCount()

public int getInputsCount()

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()

public Map<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)

public ExplanationMetadataOverride.InputMetadataOverride getInputsOrDefault(String key, ExplanationMetadataOverride.InputMetadataOverride defaultValue)

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)

public ExplanationMetadataOverride.InputMetadataOverride getInputsOrThrow(String key)

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()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExplanationMetadataOverride.Builder newBuilderForType()
Returns
Type Description
ExplanationMetadataOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExplanationMetadataOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExplanationMetadataOverride.Builder toBuilder()
Returns
Type Description
ExplanationMetadataOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException