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.vertexai.v1.ExplanationSpecOverride
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 ExplanationSpecOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExplanationSpecOverride build()
buildPartial()
public ExplanationSpecOverride buildPartial()
clear()
public ExplanationSpecOverride.Builder clear()
Overrides
clearExamplesOverride()
public ExplanationSpecOverride.Builder clearExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
clearField(Descriptors.FieldDescriptor field)
public ExplanationSpecOverride.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExplanationSpecOverride.Builder clearMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplanationSpecOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public ExplanationSpecOverride.Builder clearParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
clone()
public ExplanationSpecOverride.Builder clone()
Overrides
getDefaultInstanceForType()
public ExplanationSpecOverride getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExamplesOverride()
public ExamplesOverride getExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
getExamplesOverrideBuilder()
public ExamplesOverride.Builder getExamplesOverrideBuilder()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
getExamplesOverrideOrBuilder()
public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
public ExplanationMetadataOverride getMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationMetadataOverride.Builder getMetadataBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
getParameters()
public ExplanationParameters getParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
getParametersBuilder()
public ExplanationParameters.Builder getParametersBuilder()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
getParametersOrBuilder()
public ExplanationParametersOrBuilder getParametersOrBuilder()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
hasExamplesOverride()
public boolean hasExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
Returns |
Type |
Description |
boolean |
Whether the examplesOverride field is set.
|
public boolean hasMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasParameters()
public boolean hasParameters()
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
Returns |
Type |
Description |
boolean |
Whether the parameters field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExamplesOverride(ExamplesOverride value)
public ExplanationSpecOverride.Builder mergeExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
mergeFrom(ExplanationSpecOverride other)
public ExplanationSpecOverride.Builder mergeFrom(ExplanationSpecOverride other)
public ExplanationSpecOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExplanationSpecOverride.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ExplanationSpecOverride.Builder mergeMetadata(ExplanationMetadataOverride value)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
mergeParameters(ExplanationParameters value)
public ExplanationSpecOverride.Builder mergeParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationSpecOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExamplesOverride(ExamplesOverride value)
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride value)
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
setExamplesOverride(ExamplesOverride.Builder builderForValue)
public ExplanationSpecOverride.Builder setExamplesOverride(ExamplesOverride.Builder builderForValue)
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public ExplanationSpecOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride value)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationSpecOverride.Builder setMetadata(ExplanationMetadataOverride.Builder builderForValue)
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
setParameters(ExplanationParameters value)
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters value)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
setParameters(ExplanationParameters.Builder builderForValue)
public ExplanationSpecOverride.Builder setParameters(ExplanationParameters.Builder builderForValue)
The parameters to be overridden. Note that the
attribution method cannot be changed. If not specified,
no parameter is overridden.
.google.cloud.vertexai.v1.ExplanationParameters parameters = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplanationSpecOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationSpecOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides