Class ExplanationSpecOverride.Builder (3.55.0)

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.v1beta1.ExplanationSpecOverride

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationSpecOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

build()

public ExplanationSpecOverride build()
Returns
Type Description
ExplanationSpecOverride

buildPartial()

public ExplanationSpecOverride buildPartial()
Returns
Type Description
ExplanationSpecOverride

clear()

public ExplanationSpecOverride.Builder clear()
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

clearExamplesOverride()

public ExplanationSpecOverride.Builder clearExamplesOverride()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExplanationSpecOverride.Builder

clearField(Descriptors.FieldDescriptor field)

public ExplanationSpecOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

clearMetadata()

public ExplanationSpecOverride.Builder clearMetadata()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationSpecOverride.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplanationSpecOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

clearParameters()

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.v1beta1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationSpecOverride.Builder

clone()

public ExplanationSpecOverride.Builder clone()
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

getDefaultInstanceForType()

public ExplanationSpecOverride getDefaultInstanceForType()
Returns
Type Description
ExplanationSpecOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExamplesOverride()

public ExamplesOverride getExamplesOverride()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExamplesOverride

The examplesOverride.

getExamplesOverrideBuilder()

public ExamplesOverride.Builder getExamplesOverrideBuilder()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExamplesOverride.Builder

getExamplesOverrideOrBuilder()

public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExamplesOverrideOrBuilder

getMetadata()

public ExplanationMetadataOverride getMetadata()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationMetadataOverride

The metadata.

getMetadataBuilder()

public ExplanationMetadataOverride.Builder getMetadataBuilder()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationMetadataOverride.Builder

getMetadataOrBuilder()

public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationMetadataOverrideOrBuilder

getParameters()

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.v1beta1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationParameters

The parameters.

getParametersBuilder()

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.v1beta1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationParameters.Builder

getParametersOrBuilder()

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.v1beta1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationParametersOrBuilder

hasExamplesOverride()

public boolean hasExamplesOverride()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Returns
Type Description
boolean

Whether the examplesOverride field is set.

hasMetadata()

public boolean hasMetadata()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

hasParameters()

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.v1beta1.ExplanationParameters parameters = 1;

Returns
Type Description
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExamplesOverride(ExamplesOverride value)

public ExplanationSpecOverride.Builder mergeExamplesOverride(ExamplesOverride value)

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Parameter
Name Description
value ExamplesOverride
Returns
Type Description
ExplanationSpecOverride.Builder

mergeFrom(ExplanationSpecOverride other)

public ExplanationSpecOverride.Builder mergeFrom(ExplanationSpecOverride other)
Parameter
Name Description
other ExplanationSpecOverride
Returns
Type Description
ExplanationSpecOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplanationSpecOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExplanationSpecOverride.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

mergeMetadata(ExplanationMetadataOverride value)

public ExplanationSpecOverride.Builder mergeMetadata(ExplanationMetadataOverride value)

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Parameter
Name Description
value ExplanationMetadataOverride
Returns
Type Description
ExplanationSpecOverride.Builder

mergeParameters(ExplanationParameters value)

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.v1beta1.ExplanationParameters parameters = 1;

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpecOverride.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationSpecOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

setExamplesOverride(ExamplesOverride value)

public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride value)

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Parameter
Name Description
value ExamplesOverride
Returns
Type Description
ExplanationSpecOverride.Builder

setExamplesOverride(ExamplesOverride.Builder builderForValue)

public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride.Builder builderForValue)

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1beta1.ExamplesOverride examples_override = 3;

Parameter
Name Description
builderForValue ExamplesOverride.Builder
Returns
Type Description
ExplanationSpecOverride.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationSpecOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

setMetadata(ExplanationMetadataOverride value)

public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride value)

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Parameter
Name Description
value ExplanationMetadataOverride
Returns
Type Description
ExplanationSpecOverride.Builder

setMetadata(ExplanationMetadataOverride.Builder builderForValue)

public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride.Builder builderForValue)

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1beta1.ExplanationMetadataOverride metadata = 2;

Parameter
Name Description
builderForValue ExplanationMetadataOverride.Builder
Returns
Type Description
ExplanationSpecOverride.Builder

setParameters(ExplanationParameters value)

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.v1beta1.ExplanationParameters parameters = 1;

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpecOverride.Builder

setParameters(ExplanationParameters.Builder builderForValue)

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.v1beta1.ExplanationParameters parameters = 1;

Parameter
Name Description
builderForValue ExplanationParameters.Builder
Returns
Type Description
ExplanationSpecOverride.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExplanationSpecOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationSpecOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationSpecOverride.Builder
Overrides