Class EvaluatedAnnotationExplanation (3.35.0)

public final class EvaluatedAnnotationExplanation extends GeneratedMessageV3 implements EvaluatedAnnotationExplanationOrBuilder

Explanation result of the prediction produced by the Model.

Protobuf type google.cloud.aiplatform.v1beta1.EvaluatedAnnotationExplanation

Inheritance

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

Static Fields

EXPLANATION_FIELD_NUMBER

public static final int EXPLANATION_FIELD_NUMBER
Field Value
TypeDescription
int

EXPLANATION_TYPE_FIELD_NUMBER

public static final int EXPLANATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluatedAnnotationExplanation getDefaultInstance()
Returns
TypeDescription
EvaluatedAnnotationExplanation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EvaluatedAnnotationExplanation.Builder newBuilder()
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

newBuilder(EvaluatedAnnotationExplanation prototype)

public static EvaluatedAnnotationExplanation.Builder newBuilder(EvaluatedAnnotationExplanation prototype)
Parameter
NameDescription
prototypeEvaluatedAnnotationExplanation
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

parseDelimitedFrom(InputStream input)

public static EvaluatedAnnotationExplanation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EvaluatedAnnotationExplanation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluatedAnnotationExplanation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluatedAnnotationExplanation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EvaluatedAnnotationExplanation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EvaluatedAnnotationExplanation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluatedAnnotationExplanation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluatedAnnotationExplanation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EvaluatedAnnotationExplanation> parser()
Returns
TypeDescription
Parser<EvaluatedAnnotationExplanation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EvaluatedAnnotationExplanation getDefaultInstanceForType()
Returns
TypeDescription
EvaluatedAnnotationExplanation

getExplanation()

public Explanation getExplanation()

Explanation attribution response details.

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

Returns
TypeDescription
Explanation

The explanation.

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.

getParserForType()

public Parser<EvaluatedAnnotationExplanation> getParserForType()
Returns
TypeDescription
Parser<EvaluatedAnnotationExplanation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasExplanation()

public boolean hasExplanation()

Explanation attribution response details.

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

Returns
TypeDescription
boolean

Whether the explanation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EvaluatedAnnotationExplanation.Builder newBuilderForType()
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluatedAnnotationExplanation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EvaluatedAnnotationExplanation.Builder toBuilder()
Returns
TypeDescription
EvaluatedAnnotationExplanation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException