Class EvaluatedAnnotationExplanation (3.46.0)

public final class EvaluatedAnnotationExplanation extends GeneratedMessageV3 implements EvaluatedAnnotationExplanationOrBuilder

Explanation result of the prediction produced by the Model.

Protobuf type google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EvaluatedAnnotationExplanation

Static Fields

EXPLANATION_FIELD_NUMBER

public static final int EXPLANATION_FIELD_NUMBER
Field Value
Type Description
int

EXPLANATION_TYPE_FIELD_NUMBER

public static final int EXPLANATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluatedAnnotationExplanation getDefaultInstance()
Returns
Type Description
EvaluatedAnnotationExplanation

getDescriptor()

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

newBuilder()

public static EvaluatedAnnotationExplanation.Builder newBuilder()
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

newBuilder(EvaluatedAnnotationExplanation prototype)

public static EvaluatedAnnotationExplanation.Builder newBuilder(EvaluatedAnnotationExplanation prototype)
Parameter
Name Description
prototype EvaluatedAnnotationExplanation
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

parseDelimitedFrom(InputStream input)

public static EvaluatedAnnotationExplanation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvaluatedAnnotationExplanation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluatedAnnotationExplanation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluatedAnnotationExplanation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvaluatedAnnotationExplanation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvaluatedAnnotationExplanation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluatedAnnotationExplanation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvaluatedAnnotationExplanation> parser()
Returns
Type Description
Parser<EvaluatedAnnotationExplanation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EvaluatedAnnotationExplanation getDefaultInstanceForType()
Returns
Type Description
EvaluatedAnnotationExplanation

getExplanation()

public Explanation getExplanation()

Explanation attribution response details.

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

Returns
Type Description
Explanation

The explanation.

getExplanationOrBuilder()

public ExplanationOrBuilder getExplanationOrBuilder()

Explanation attribution response details.

.google.cloud.aiplatform.v1.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.

getParserForType()

public Parser<EvaluatedAnnotationExplanation> getParserForType()
Returns
Type Description
Parser<EvaluatedAnnotationExplanation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExplanation()

public boolean hasExplanation()

Explanation attribution response details.

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

Returns
Type Description
boolean

Whether the explanation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvaluatedAnnotationExplanation.Builder newBuilderForType()
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluatedAnnotationExplanation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvaluatedAnnotationExplanation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EvaluatedAnnotationExplanation.Builder toBuilder()
Returns
Type Description
EvaluatedAnnotationExplanation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException