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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ExplanationMetadataOverride getDefaultInstanceForType()
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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