public static final class ExplanationSpecOverride.Builder extends GeneratedMessageV3.Builder<ExplanationSpecOverride.Builder> implements ExplanationSpecOverrideOrBuilder
The ExplanationSpec entries
that can be overridden at online
explanation time.
Protobuf type google.cloud.aiplatform.v1.ExplanationSpecOverride
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()
Methods
public ExplanationSpecOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExplanationSpecOverride build()
public ExplanationSpecOverride buildPartial()
public ExplanationSpecOverride.Builder clear()
Overrides
public ExplanationSpecOverride.Builder clearExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExplanationSpecOverride.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExplanationSpecOverride.Builder clearMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationSpecOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ExplanationSpecOverride.Builder clearParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public ExplanationSpecOverride.Builder clone()
Overrides
public ExplanationSpecOverride getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExamplesOverride getExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExamplesOverride.Builder getExamplesOverrideBuilder()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExplanationMetadataOverride getMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationMetadataOverride.Builder getMetadataBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationParameters getParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public ExplanationParameters.Builder getParametersBuilder()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public ExplanationParametersOrBuilder getParametersOrBuilder()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public boolean hasExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Returns |
---|
Type | Description |
boolean | Whether the examplesOverride field is set.
|
public boolean hasMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
Returns |
---|
Type | Description |
boolean | Whether the metadata field is set.
|
public boolean hasParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Returns |
---|
Type | Description |
boolean | Whether the parameters field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExplanationSpecOverride.Builder mergeExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExplanationSpecOverride.Builder mergeFrom(ExplanationSpecOverride other)
public ExplanationSpecOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExplanationSpecOverride.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ExplanationSpecOverride.Builder mergeMetadata(ExplanationMetadataOverride value)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationSpecOverride.Builder mergeParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public final ExplanationSpecOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride.Builder builderForValue)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
public ExplanationSpecOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride value)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride.Builder builderForValue)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters.Builder builderForValue)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
public ExplanationSpecOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ExplanationSpecOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides