Class ExplanationSpec.Builder (3.29.0)

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

Specification of Model explanation.

Protobuf type google.cloud.aiplatform.v1beta1.ExplanationSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExplanationSpec build()
Returns
TypeDescription
ExplanationSpec

buildPartial()

public ExplanationSpec buildPartial()
Returns
TypeDescription
ExplanationSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ExplanationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExplanationSpec.Builder
Overrides

clearMetadata()

public ExplanationSpec.Builder clearMetadata()

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

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

Returns
TypeDescription
ExplanationSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public ExplanationSpec.Builder clearParameters()

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

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

Returns
TypeDescription
ExplanationSpec.Builder

clone()

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

getDefaultInstanceForType()

public ExplanationSpec getDefaultInstanceForType()
Returns
TypeDescription
ExplanationSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadata()

public ExplanationMetadata getMetadata()

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

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

Returns
TypeDescription
ExplanationMetadata

The metadata.

getMetadataBuilder()

public ExplanationMetadata.Builder getMetadataBuilder()

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

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

Returns
TypeDescription
ExplanationMetadata.Builder

getMetadataOrBuilder()

public ExplanationMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
ExplanationMetadataOrBuilder

getParameters()

public ExplanationParameters getParameters()

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

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

Returns
TypeDescription
ExplanationParameters

The parameters.

getParametersBuilder()

public ExplanationParameters.Builder getParametersBuilder()

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

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

Returns
TypeDescription
ExplanationParameters.Builder

getParametersOrBuilder()

public ExplanationParametersOrBuilder getParametersOrBuilder()

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

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

Returns
TypeDescription
ExplanationParametersOrBuilder

hasMetadata()

public boolean hasMetadata()

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

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

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasParameters()

public boolean hasParameters()

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

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

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(ExplanationSpec other)

public ExplanationSpec.Builder mergeFrom(ExplanationSpec other)
Parameter
NameDescription
otherExplanationSpec
Returns
TypeDescription
ExplanationSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExplanationSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExplanationMetadata
Returns
TypeDescription
ExplanationSpec.Builder

mergeParameters(ExplanationParameters value)

public ExplanationSpec.Builder mergeParameters(ExplanationParameters value)

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

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

Parameter
NameDescription
valueExplanationParameters
Returns
TypeDescription
ExplanationSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplanationSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExplanationMetadata
Returns
TypeDescription
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.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueExplanationMetadata.Builder
Returns
TypeDescription
ExplanationSpec.Builder

setParameters(ExplanationParameters value)

public ExplanationSpec.Builder setParameters(ExplanationParameters value)

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

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

Parameter
NameDescription
valueExplanationParameters
Returns
TypeDescription
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.v1beta1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueExplanationParameters.Builder
Returns
TypeDescription
ExplanationSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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