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
Methods
public ExplanationMetadataOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExplanationMetadataOverride build()
Returns
public ExplanationMetadataOverride buildPartial()
Returns
public ExplanationMetadataOverride.Builder clear()
Returns
Overrides
public ExplanationMetadataOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ExplanationMetadataOverride.Builder clearInputs()
Returns
public ExplanationMetadataOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ExplanationMetadataOverride.Builder clone()
Returns
Overrides
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
Returns
public ExplanationMetadataOverride getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,ExplanationMetadataOverride.InputMetadataOverride> getInputs()
Returns
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
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
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
Returns
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
Returns
public Map<String,ExplanationMetadataOverride.InputMetadataOverride> getMutableInputs()
Use alternate mutation accessors instead.
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExplanationMetadataOverride.Builder mergeFrom(ExplanationMetadataOverride other)
Parameter
Returns
public ExplanationMetadataOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ExplanationMetadataOverride.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ExplanationMetadataOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
public ExplanationMetadataOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExplanationMetadataOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ExplanationMetadataOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides