Class EvaluatedAnnotationExplanation.Builder (3.49.0)

public static final class EvaluatedAnnotationExplanation.Builder extends GeneratedMessageV3.Builder<EvaluatedAnnotationExplanation.Builder> implements EvaluatedAnnotationExplanationOrBuilder

Explanation result of the prediction produced by the Model.

Protobuf type google.cloud.aiplatform.v1beta1.EvaluatedAnnotationExplanation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluatedAnnotationExplanation build()
Returns
Type Description
EvaluatedAnnotationExplanation

buildPartial()

public EvaluatedAnnotationExplanation buildPartial()
Returns
Type Description
EvaluatedAnnotationExplanation

clear()

public EvaluatedAnnotationExplanation.Builder clear()
Returns
Type Description
EvaluatedAnnotationExplanation.Builder
Overrides

clearExplanation()

public EvaluatedAnnotationExplanation.Builder clearExplanation()

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Returns
Type Description
EvaluatedAnnotationExplanation.Builder

clearExplanationType()

public EvaluatedAnnotationExplanation.Builder clearExplanationType()

Explanation type.

For AutoML Image Classification models, possible values are:

  • image-integrated-gradients
  • image-xrai

string explanation_type = 1;

Returns
Type Description
EvaluatedAnnotationExplanation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EvaluatedAnnotationExplanation.Builder clone()
Returns
Type Description
EvaluatedAnnotationExplanation.Builder
Overrides

getDefaultInstanceForType()

public EvaluatedAnnotationExplanation getDefaultInstanceForType()
Returns
Type Description
EvaluatedAnnotationExplanation

getDescriptorForType()

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

getExplanation()

public Explanation getExplanation()

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Returns
Type Description
Explanation

The explanation.

getExplanationBuilder()

public Explanation.Builder getExplanationBuilder()

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Returns
Type Description
Explanation.Builder

getExplanationOrBuilder()

public ExplanationOrBuilder getExplanationOrBuilder()

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Returns
Type Description
ExplanationOrBuilder

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.

hasExplanation()

public boolean hasExplanation()

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Returns
Type Description
boolean

Whether the explanation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExplanation(Explanation value)

public EvaluatedAnnotationExplanation.Builder mergeExplanation(Explanation value)

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Parameter
Name Description
value Explanation
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

mergeFrom(EvaluatedAnnotationExplanation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExplanation(Explanation value)

public EvaluatedAnnotationExplanation.Builder setExplanation(Explanation value)

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Parameter
Name Description
value Explanation
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

setExplanation(Explanation.Builder builderForValue)

public EvaluatedAnnotationExplanation.Builder setExplanation(Explanation.Builder builderForValue)

Explanation attribution response details.

.google.cloud.aiplatform.v1beta1.Explanation explanation = 2;

Parameter
Name Description
builderForValue Explanation.Builder
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

setExplanationType(String value)

public EvaluatedAnnotationExplanation.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
EvaluatedAnnotationExplanation.Builder

This builder for chaining.

setExplanationTypeBytes(ByteString value)

public EvaluatedAnnotationExplanation.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
EvaluatedAnnotationExplanation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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