Class ExplanationSpec.Builder (3.48.0)

public static final class ExplanationSpec.Builder extends GeneratedMessageV3.Builder<ExplanationSpec.Builder> implements ExplanationSpecOrBuilder

Specification of Model explanation.

Protobuf type google.cloud.aiplatform.v1.ExplanationSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExplanationSpec build()
Returns
Type Description
ExplanationSpec

buildPartial()

public ExplanationSpec buildPartial()
Returns
Type Description
ExplanationSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public ExplanationSpec.Builder clearMetadata()

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExplanationSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public ExplanationSpec.Builder clearParameters()

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExplanationSpec.Builder

clone()

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

getDefaultInstanceForType()

public ExplanationSpec getDefaultInstanceForType()
Returns
Type Description
ExplanationSpec

getDescriptorForType()

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

getMetadata()

public ExplanationMetadata getMetadata()

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExplanationMetadata

The metadata.

getMetadataBuilder()

public ExplanationMetadata.Builder getMetadataBuilder()

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExplanationMetadata.Builder

getMetadataOrBuilder()

public ExplanationMetadataOrBuilder getMetadataOrBuilder()

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExplanationMetadataOrBuilder

getParameters()

public ExplanationParameters getParameters()

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExplanationParameters

The parameters.

getParametersBuilder()

public ExplanationParameters.Builder getParametersBuilder()

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExplanationParameters.Builder

getParametersOrBuilder()

public ExplanationParametersOrBuilder getParametersOrBuilder()

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExplanationParametersOrBuilder

hasMetadata()

public boolean hasMetadata()

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metadata field is set.

hasParameters()

public boolean hasParameters()

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

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

mergeFrom(ExplanationSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ExplanationMetadata value)

public ExplanationSpec.Builder mergeMetadata(ExplanationMetadata value)

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExplanationMetadata
Returns
Type Description
ExplanationSpec.Builder

mergeParameters(ExplanationParameters value)

public ExplanationSpec.Builder mergeParameters(ExplanationParameters value)

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(ExplanationMetadata value)

public ExplanationSpec.Builder setMetadata(ExplanationMetadata value)

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExplanationMetadata
Returns
Type Description
ExplanationSpec.Builder

setMetadata(ExplanationMetadata.Builder builderForValue)

public ExplanationSpec.Builder setMetadata(ExplanationMetadata.Builder builderForValue)

Optional. Metadata describing the Model's input and output for explanation.

.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ExplanationMetadata.Builder
Returns
Type Description
ExplanationSpec.Builder

setParameters(ExplanationParameters value)

public ExplanationSpec.Builder setParameters(ExplanationParameters value)

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpec.Builder

setParameters(ExplanationParameters.Builder builderForValue)

public ExplanationSpec.Builder setParameters(ExplanationParameters.Builder builderForValue)

Required. Parameters that configure explaining of the Model's predictions.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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