Class ModelEvaluation.ModelEvaluationExplanationSpec.Builder (3.53.0)

public static final class ModelEvaluation.ModelEvaluationExplanationSpec.Builder extends GeneratedMessageV3.Builder<ModelEvaluation.ModelEvaluationExplanationSpec.Builder> implements ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder

Protobuf type google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelEvaluation.ModelEvaluationExplanationSpec.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelEvaluation.ModelEvaluationExplanationSpec build()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec

buildPartial()

public ModelEvaluation.ModelEvaluationExplanationSpec buildPartial()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec

clear()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clear()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

clearExplanationSpec()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationSpec()

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

clearExplanationType()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationType()

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clone()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

getDefaultInstanceForType()

public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec

getDescriptorForType()

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

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Returns
Type Description
ExplanationSpec

The explanationSpec.

getExplanationSpecBuilder()

public ExplanationSpec.Builder getExplanationSpecBuilder()

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Returns
Type Description
ExplanationSpec.Builder

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Returns
Type Description
ExplanationSpecOrBuilder

getExplanationType()

public String getExplanationType()

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Returns
Type Description
String

The explanationType.

getExplanationTypeBytes()

public ByteString getExplanationTypeBytes()

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Returns
Type Description
ByteString

The bytes for explanationType.

hasExplanationSpec()

public boolean hasExplanationSpec()

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Returns
Type Description
boolean

Whether the explanationSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExplanationSpec(ExplanationSpec value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeExplanationSpec(ExplanationSpec value)

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Parameter
Name Description
value ExplanationSpec
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

mergeFrom(ModelEvaluation.ModelEvaluationExplanationSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExplanationSpec(ExplanationSpec value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec value)

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Parameter
Name Description
value ExplanationSpec
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

setExplanationSpec(ExplanationSpec.Builder builderForValue)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)

Explanation spec details.

.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;

Parameter
Name Description
builderForValue ExplanationSpec.Builder
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

setExplanationType(String value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationType(String value)

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Parameter
Name Description
value String

The explanationType to set.

Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

This builder for chaining.

setExplanationTypeBytes(ByteString value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationTypeBytes(ByteString value)

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Parameter
Name Description
value ByteString

The bytes for explanationType to set.

Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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