Class ExplanationMetadataOverride (3.36.0)

public final class ExplanationMetadataOverride extends GeneratedMessageV3 implements ExplanationMetadataOverrideOrBuilder

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

Protobuf type google.cloud.aiplatform.v1.ExplanationMetadataOverride

Static Fields

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExplanationMetadataOverride getDefaultInstance()
Returns
TypeDescription
ExplanationMetadataOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExplanationMetadataOverride.Builder newBuilder()
Returns
TypeDescription
ExplanationMetadataOverride.Builder

newBuilder(ExplanationMetadataOverride prototype)

public static ExplanationMetadataOverride.Builder newBuilder(ExplanationMetadataOverride prototype)
Parameter
NameDescription
prototypeExplanationMetadataOverride
Returns
TypeDescription
ExplanationMetadataOverride.Builder

parseDelimitedFrom(InputStream input)

public static ExplanationMetadataOverride parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExplanationMetadataOverride parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExplanationMetadataOverride parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExplanationMetadataOverride parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExplanationMetadataOverride parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExplanationMetadataOverride parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExplanationMetadataOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExplanationMetadataOverride> parser()
Returns
TypeDescription
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.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExplanationMetadataOverride getDefaultInstanceForType()
Returns
TypeDescription
ExplanationMetadataOverride

getInputs() (deprecated)

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

Use #getInputsMap() instead.

Returns
TypeDescription
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.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
keyString
defaultValueExplanationMetadataOverride.InputMetadataOverride
Returns
TypeDescription
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.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
ExplanationMetadataOverride.InputMetadataOverride

getParserForType()

public Parser<ExplanationMetadataOverride> getParserForType()
Returns
TypeDescription
Parser<ExplanationMetadataOverride>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExplanationMetadataOverride.Builder newBuilderForType()
Returns
TypeDescription
ExplanationMetadataOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExplanationMetadataOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExplanationMetadataOverride.Builder toBuilder()
Returns
TypeDescription
ExplanationMetadataOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException