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