Class ModelEvaluation.ModelEvaluationExplanationSpec (3.45.0)

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

Static Fields

EXPLANATION_SPEC_FIELD_NUMBER

public static final int EXPLANATION_SPEC_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 ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstance()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec

getDescriptor()

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

newBuilder()

public static ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilder()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

newBuilder(ModelEvaluation.ModelEvaluationExplanationSpec prototype)

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

parseDelimitedFrom(InputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

Explanation spec details.

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

Returns
Type Description
ExplanationSpec

The explanationSpec.

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

Explanation spec details.

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

Returns
Type Description
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
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<ModelEvaluation.ModelEvaluationExplanationSpec> getParserForType()
Returns
Type Description
Parser<ModelEvaluationExplanationSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExplanationSpec()

public boolean hasExplanationSpec()

Explanation spec details.

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

Returns
Type Description
boolean

Whether the explanationSpec 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 ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilderForType()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ModelEvaluation.ModelEvaluationExplanationSpec.Builder toBuilder()
Returns
Type Description
ModelEvaluation.ModelEvaluationExplanationSpec.Builder

writeTo(CodedOutputStream output)

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