Class ModelEvaluation.ModelEvaluationExplanationSpec (2.5.3)

public static final class ModelEvaluation.ModelEvaluationExplanationSpec extends GeneratedMessageV3 implements ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelEvaluation.ModelEvaluationExplanationSpec

Fields

EXPLANATION_SPEC_FIELD_NUMBER

public static final int EXPLANATION_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

EXPLANATION_TYPE_FIELD_NUMBER

public static final int EXPLANATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstance()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec

getDefaultInstanceForType()

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

getDescriptor()

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

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

Explanation spec details.

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

Returns
TypeDescription
ExplanationSpec

The explanationSpec.

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

Explanation spec details.

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

getParserForType()

public Parser<ModelEvaluation.ModelEvaluationExplanationSpec> getParserForType()
Returns
TypeDescription
Parser<ModelEvaluationExplanationSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExplanationSpec()

public boolean hasExplanationSpec()

Explanation spec details.

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

Returns
TypeDescription
boolean

Whether the explanationSpec 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

newBuilder()

public static ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilder()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

newBuilder(ModelEvaluation.ModelEvaluationExplanationSpec prototype)

public static ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilder(ModelEvaluation.ModelEvaluationExplanationSpec prototype)
Parameter
NameDescription
prototypeModelEvaluation.ModelEvaluationExplanationSpec
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

newBuilderForType()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilderForType()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ModelEvaluation.ModelEvaluationExplanationSpec> parser()
Returns
TypeDescription
Parser<ModelEvaluationExplanationSpec>

toBuilder()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder toBuilder()
Returns
TypeDescription
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

writeTo(CodedOutputStream output)

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