Class ExplanationMetadataOverride.Builder (3.50.0)

public static final class ExplanationMetadataOverride.Builder extends GeneratedMessageV3.Builder<ExplanationMetadataOverride.Builder> implements ExplanationMetadataOverrideOrBuilder

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

Protobuf type google.cloud.aiplatform.v1.ExplanationMetadataOverride

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadataOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

build()

public ExplanationMetadataOverride build()
Returns
Type Description
ExplanationMetadataOverride

buildPartial()

public ExplanationMetadataOverride buildPartial()
Returns
Type Description
ExplanationMetadataOverride

clear()

public ExplanationMetadataOverride.Builder clear()
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExplanationMetadataOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

clearInputs()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplanationMetadataOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

clone()

public ExplanationMetadataOverride.Builder clone()
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

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
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ExplanationMetadataOverride getDefaultInstanceForType()
Returns
Type Description
ExplanationMetadataOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

Parameter
Name Description
key String
Returns
Type Description
ExplanationMetadataOverride.InputMetadataOverride

getMutableInputs() (deprecated)

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

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,InputMetadataOverride>

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExplanationMetadataOverride other)

public ExplanationMetadataOverride.Builder mergeFrom(ExplanationMetadataOverride other)
Parameter
Name Description
other ExplanationMetadataOverride
Returns
Type Description
ExplanationMetadataOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplanationMetadataOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExplanationMetadataOverride.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadataOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

putAllInputs(Map<String,ExplanationMetadataOverride.InputMetadataOverride> values)

public ExplanationMetadataOverride.Builder putAllInputs(Map<String,ExplanationMetadataOverride.InputMetadataOverride> values)

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
Name Description
values Map<String,InputMetadataOverride>
Returns
Type Description
ExplanationMetadataOverride.Builder

putInputs(String key, ExplanationMetadataOverride.InputMetadataOverride value)

public ExplanationMetadataOverride.Builder putInputs(String key, ExplanationMetadataOverride.InputMetadataOverride value)

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
Name Description
key String
value ExplanationMetadataOverride.InputMetadataOverride
Returns
Type Description
ExplanationMetadataOverride.Builder

putInputsBuilderIfAbsent(String key)

public ExplanationMetadataOverride.InputMetadataOverride.Builder putInputsBuilderIfAbsent(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
Name Description
key String
Returns
Type Description
ExplanationMetadataOverride.InputMetadataOverride.Builder

removeInputs(String key)

public ExplanationMetadataOverride.Builder removeInputs(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
Name Description
key String
Returns
Type Description
ExplanationMetadataOverride.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadataOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExplanationMetadataOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadataOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationMetadataOverride.Builder
Overrides