Class ExplanationSpec.Builder (1.40.0)

publicstaticfinalclass ExplanationSpec.BuilderextendsGeneratedMessageV3.Builder<ExplanationSpec.Builder>implementsExplanationSpecOrBuilder

Specification of Model explanation.

Protobuf type google.cloud.vertexai.v1.ExplanationSpec

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicExplanationSpec.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationSpec.Builder
Overrides

build()

publicExplanationSpecbuild()
Returns
Type Description
ExplanationSpec

buildPartial()

publicExplanationSpecbuildPartial()
Returns
Type Description
ExplanationSpec

clear()

publicExplanationSpec.Builderclear()
Returns
Type Description
ExplanationSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicExplanationSpec.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExplanationSpec.Builder
Overrides

clearMetadata()

publicExplanationSpec.BuilderclearMetadata()

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

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

Returns
Type Description
ExplanationSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicExplanationSpec.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExplanationSpec.Builder
Overrides

clearParameters()

publicExplanationSpec.BuilderclearParameters()

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

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

Returns
Type Description
ExplanationSpec.Builder

clone()

publicExplanationSpec.Builderclone()
Returns
Type Description
ExplanationSpec.Builder
Overrides

getDefaultInstanceForType()

publicExplanationSpecgetDefaultInstanceForType()
Returns
Type Description
ExplanationSpec

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetadata()

publicExplanationMetadatagetMetadata()

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

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

Returns
Type Description
ExplanationMetadata

The metadata.

getMetadataBuilder()

publicExplanationMetadata.BuildergetMetadataBuilder()

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

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

Returns
Type Description
ExplanationMetadata.Builder

getMetadataOrBuilder()

publicExplanationMetadataOrBuildergetMetadataOrBuilder()

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

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

Returns
Type Description
ExplanationMetadataOrBuilder

getParameters()

publicExplanationParametersgetParameters()

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

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

Returns
Type Description
ExplanationParameters

The parameters.

getParametersBuilder()

publicExplanationParameters.BuildergetParametersBuilder()

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

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

Returns
Type Description
ExplanationParameters.Builder

getParametersOrBuilder()

publicExplanationParametersOrBuildergetParametersOrBuilder()

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

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

Returns
Type Description
ExplanationParametersOrBuilder

hasMetadata()

publicbooleanhasMetadata()

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

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

Returns
Type Description
boolean

Whether the metadata field is set.

hasParameters()

publicbooleanhasParameters()

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

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

Returns
Type Description
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExplanationSpec other)

publicExplanationSpec.BuildermergeFrom(ExplanationSpecother)
Parameter
Name Description
other ExplanationSpec
Returns
Type Description
ExplanationSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicExplanationSpec.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicExplanationSpec.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ExplanationSpec.Builder
Overrides

mergeMetadata(ExplanationMetadata value)

publicExplanationSpec.BuildermergeMetadata(ExplanationMetadatavalue)

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

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

Parameter
Name Description
value ExplanationMetadata
Returns
Type Description
ExplanationSpec.Builder

mergeParameters(ExplanationParameters value)

publicExplanationSpec.BuildermergeParameters(ExplanationParametersvalue)

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

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

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalExplanationSpec.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicExplanationSpec.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationSpec.Builder
Overrides

setMetadata(ExplanationMetadata value)

publicExplanationSpec.BuildersetMetadata(ExplanationMetadatavalue)

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

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

Parameter
Name Description
value ExplanationMetadata
Returns
Type Description
ExplanationSpec.Builder

setMetadata(ExplanationMetadata.Builder builderForValue)

publicExplanationSpec.BuildersetMetadata(ExplanationMetadata.BuilderbuilderForValue)

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

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

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

setParameters(ExplanationParameters value)

publicExplanationSpec.BuildersetParameters(ExplanationParametersvalue)

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

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

Parameter
Name Description
value ExplanationParameters
Returns
Type Description
ExplanationSpec.Builder

setParameters(ExplanationParameters.Builder builderForValue)

publicExplanationSpec.BuildersetParameters(ExplanationParameters.BuilderbuilderForValue)

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

.google.cloud.vertexai.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)

publicExplanationSpec.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExplanationSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalExplanationSpec.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationSpec.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.