Class ModelEvaluation.ModelEvaluationExplanationSpec.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelEvaluation.ModelEvaluationExplanationSpec build()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec

buildPartial()

public ModelEvaluation.ModelEvaluationExplanationSpec buildPartial()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec

clear()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clear()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

clearExplanationSpec()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationSpec()

Explanation spec details.

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

Returns
TypeDescription
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
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clone()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

getDefaultInstanceForType()

public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

Explanation spec details.

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

Returns
TypeDescription
ExplanationSpec

The explanationSpec.

getExplanationSpecBuilder()

public ExplanationSpec.Builder getExplanationSpecBuilder()

Explanation spec details.

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

Returns
TypeDescription
ExplanationSpec.Builder

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

Explanation spec details.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for explanationType.

hasExplanationSpec()

public boolean hasExplanationSpec()

Explanation spec details.

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

Returns
TypeDescription
boolean

Whether the explanationSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExplanationSpec(ExplanationSpec value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeExplanationSpec(ExplanationSpec value)

Explanation spec details.

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

Parameter
NameDescription
valueExplanationSpec
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

mergeFrom(ModelEvaluation.ModelEvaluationExplanationSpec other)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(ModelEvaluation.ModelEvaluationExplanationSpec other)
Parameter
NameDescription
otherModelEvaluation.ModelEvaluationExplanationSpec
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExplanationSpec
Returns
TypeDescription
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
NameDescription
builderForValueExplanationSpec.Builder
Returns
TypeDescription
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
NameDescription
valueString

The explanationType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for explanationType to set.

Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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