public static final class ExplanationSpec.Builder extends GeneratedMessageV3.Builder<ExplanationSpec.Builder> implements ExplanationSpecOrBuilder
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExplanationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExplanationSpec build()
buildPartial()
public ExplanationSpec buildPartial()
clear()
public ExplanationSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExplanationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExplanationSpec.Builder clearMetadata()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplanationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public ExplanationSpec.Builder clearParameters()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ExplanationSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public ExplanationSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExplanationMetadata getMetadata()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
public ExplanationMetadata.Builder getMetadataBuilder()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
public ExplanationMetadataOrBuilder getMetadataOrBuilder()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
getParameters()
public ExplanationParameters getParameters()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
getParametersBuilder()
public ExplanationParameters.Builder getParametersBuilder()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
getParametersOrBuilder()
public ExplanationParametersOrBuilder getParametersOrBuilder()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasMetadata()
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()
public boolean hasParameters()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExplanationSpec other)
public ExplanationSpec.Builder mergeFrom(ExplanationSpec other)
public ExplanationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExplanationSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ExplanationSpec.Builder mergeMetadata(ExplanationMetadata value)
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeParameters(ExplanationParameters value)
public ExplanationSpec.Builder mergeParameters(ExplanationParameters value)
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExplanationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExplanationSpec.Builder setMetadata(ExplanationMetadata value)
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
public ExplanationSpec.Builder setMetadata(ExplanationMetadata.Builder builderForValue)
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.vertexai.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
setParameters(ExplanationParameters value)
public ExplanationSpec.Builder setParameters(ExplanationParameters value)
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
setParameters(ExplanationParameters.Builder builderForValue)
public ExplanationSpec.Builder setParameters(ExplanationParameters.Builder builderForValue)
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplanationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides