Class ExplanationSpecOverride.Builder (3.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationSpecOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

build()

public ExplanationSpecOverride build()
Returns
TypeDescription
ExplanationSpecOverride

buildPartial()

public ExplanationSpecOverride buildPartial()
Returns
TypeDescription
ExplanationSpecOverride

clear()

public ExplanationSpecOverride.Builder clear()
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

clearExamplesOverride()

public ExplanationSpecOverride.Builder clearExamplesOverride()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
ExplanationSpecOverride.Builder

clearField(Descriptors.FieldDescriptor field)

public ExplanationSpecOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExplanationSpecOverride.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplanationSpecOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

clearParameters()

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

Returns
TypeDescription
ExplanationSpecOverride.Builder

clone()

public ExplanationSpecOverride.Builder clone()
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

getDefaultInstanceForType()

public ExplanationSpecOverride getDefaultInstanceForType()
Returns
TypeDescription
ExplanationSpecOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExamplesOverride()

public ExamplesOverride getExamplesOverride()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
ExamplesOverride

The examplesOverride.

getExamplesOverrideBuilder()

public ExamplesOverride.Builder getExamplesOverrideBuilder()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
ExamplesOverride.Builder

getExamplesOverrideOrBuilder()

public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ExplanationMetadataOverrideOrBuilder

getParameters()

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

Returns
TypeDescription
ExplanationParameters

The parameters.

getParametersBuilder()

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

Returns
TypeDescription
ExplanationParameters.Builder

getParametersOrBuilder()

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

Returns
TypeDescription
ExplanationParametersOrBuilder

hasExamplesOverride()

public boolean hasExamplesOverride()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metadata field is set.

hasParameters()

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

Returns
TypeDescription
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExamplesOverride
Returns
TypeDescription
ExplanationSpecOverride.Builder

mergeFrom(ExplanationSpecOverride other)

public ExplanationSpecOverride.Builder mergeFrom(ExplanationSpecOverride other)
Parameter
NameDescription
otherExplanationSpecOverride
Returns
TypeDescription
ExplanationSpecOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplanationSpecOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExplanationSpecOverride.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueExplanationMetadataOverride
Returns
TypeDescription
ExplanationSpecOverride.Builder

mergeParameters(ExplanationParameters value)

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

Parameter
NameDescription
valueExplanationParameters
Returns
TypeDescription
ExplanationSpecOverride.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationSpecOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExamplesOverride
Returns
TypeDescription
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
NameDescription
builderForValueExamplesOverride.Builder
Returns
TypeDescription
ExplanationSpecOverride.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationSpecOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueExplanationMetadataOverride
Returns
TypeDescription
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
NameDescription
builderForValueExplanationMetadataOverride.Builder
Returns
TypeDescription
ExplanationSpecOverride.Builder

setParameters(ExplanationParameters value)

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

Parameter
NameDescription
valueExplanationParameters
Returns
TypeDescription
ExplanationSpecOverride.Builder

setParameters(ExplanationParameters.Builder builderForValue)

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

Parameter
NameDescription
builderForValueExplanationParameters.Builder
Returns
TypeDescription
ExplanationSpecOverride.Builder

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

public ExplanationSpecOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationSpecOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides