Class ExplanationMetadataOverride.Builder (3.28.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.v1beta1.ExplanationMetadataOverride

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadataOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

build()

public ExplanationMetadataOverride build()
Returns
TypeDescription
ExplanationMetadataOverride

buildPartial()

public ExplanationMetadataOverride buildPartial()
Returns
TypeDescription
ExplanationMetadataOverride

clear()

public ExplanationMetadataOverride.Builder clear()
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExplanationMetadataOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

clearInputs()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplanationMetadataOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

clone()

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

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public ExplanationMetadataOverride getDefaultInstanceForType()
Returns
TypeDescription
ExplanationMetadataOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputs()

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

Parameter
NameDescription
keyString
Returns
TypeDescription
ExplanationMetadataOverride.InputMetadataOverride

getMutableInputs()

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

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,InputMetadataOverride>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExplanationMetadataOverride other)

public ExplanationMetadataOverride.Builder mergeFrom(ExplanationMetadataOverride other)
Parameter
NameDescription
otherExplanationMetadataOverride
Returns
TypeDescription
ExplanationMetadataOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplanationMetadataOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExplanationMetadataOverride.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadataOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesMap<String,InputMetadataOverride>
Returns
TypeDescription
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.v1beta1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];

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

Parameter
NameDescription
keyString
Returns
TypeDescription
ExplanationMetadataOverride.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadataOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

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

public ExplanationMetadataOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadataOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplanationMetadataOverride.Builder
Overrides