Class ExplanationSpecOverride.Builder (2.8.9)

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

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

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

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

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

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