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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ExplanationSpecOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExplanationSpecOverride build()
Returns
public ExplanationSpecOverride buildPartial()
Returns
public ExplanationSpecOverride.Builder clear()
Returns
Overrides
public ExplanationSpecOverride.Builder clearExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Returns
public ExplanationSpecOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ExplanationSpecOverride.Builder clearMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
Returns
public ExplanationSpecOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ExplanationSpecOverride.Builder clearParameters()
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Returns
public ExplanationSpecOverride.Builder clone()
Returns
Overrides
public ExplanationSpecOverride getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ExamplesOverride getExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Returns
public ExamplesOverride.Builder getExamplesOverrideBuilder()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Returns
public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Returns
public ExplanationMetadataOverride getMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
Returns
public ExplanationMetadataOverride.Builder getMetadataBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
Returns
public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
Returns
public ExplanationParameters getParameters()
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Returns
public ExplanationParameters.Builder getParametersBuilder()
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Returns
public ExplanationParametersOrBuilder getParametersOrBuilder()
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Returns
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
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExplanationSpecOverride.Builder mergeExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Parameter
Returns
public ExplanationSpecOverride.Builder mergeFrom(ExplanationSpecOverride other)
Parameter
Returns
public ExplanationSpecOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ExplanationSpecOverride.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
public ExplanationSpecOverride.Builder mergeParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Parameter
Returns
public final ExplanationSpecOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Parameter
Returns
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride.Builder builderForValue)
The example-based explanations parameter overrides.
.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
Parameter
Returns
public ExplanationSpecOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Parameter
Returns
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters.Builder builderForValue)
The parameters to be overridden. Note that the
method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
Parameter
Returns
public ExplanationSpecOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ExplanationSpecOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides