Class EvaluatedAnnotationExplanation.Builder (3.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluatedAnnotationExplanation build()
Returns
TypeDescription
EvaluatedAnnotationExplanation

buildPartial()

public EvaluatedAnnotationExplanation buildPartial()
Returns
TypeDescription
EvaluatedAnnotationExplanation

clear()

public EvaluatedAnnotationExplanation.Builder clear()
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

clearExplanation()

public EvaluatedAnnotationExplanation.Builder clearExplanation()

Explanation attribution response details.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EvaluatedAnnotationExplanation.Builder clone()
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

getDefaultInstanceForType()

public EvaluatedAnnotationExplanation getDefaultInstanceForType()
Returns
TypeDescription
EvaluatedAnnotationExplanation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExplanation()

public Explanation getExplanation()

Explanation attribution response details.

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

Returns
TypeDescription
Explanation

The explanation.

getExplanationBuilder()

public Explanation.Builder getExplanationBuilder()

Explanation attribution response details.

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

Returns
TypeDescription
Explanation.Builder

getExplanationOrBuilder()

public ExplanationOrBuilder getExplanationOrBuilder()

Explanation attribution response details.

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

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

hasExplanation()

public boolean hasExplanation()

Explanation attribution response details.

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

Returns
TypeDescription
boolean

Whether the explanation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExplanation(Explanation value)

public EvaluatedAnnotationExplanation.Builder mergeExplanation(Explanation value)

Explanation attribution response details.

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

Parameter
NameDescription
valueExplanation
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

mergeFrom(EvaluatedAnnotationExplanation other)

public EvaluatedAnnotationExplanation.Builder mergeFrom(EvaluatedAnnotationExplanation other)
Parameter
NameDescription
otherEvaluatedAnnotationExplanation
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluatedAnnotationExplanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

setExplanation(Explanation value)

public EvaluatedAnnotationExplanation.Builder setExplanation(Explanation value)

Explanation attribution response details.

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

Parameter
NameDescription
valueExplanation
Returns
TypeDescription
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
NameDescription
builderForValueExplanation.Builder
Returns
TypeDescription
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
NameDescription
valueString

The explanationType to set.

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

The bytes for explanationType to set.

Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluatedAnnotationExplanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

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

public EvaluatedAnnotationExplanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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