public static final class ModelEvaluation.ModelEvaluationExplanationSpec extends GeneratedMessageV3 implements ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder
Protobuf type
google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec
Static Fields
public static final int EXPLANATION_SPEC_FIELD_NUMBER
Field Value
public static final int EXPLANATION_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilder()
Returns
public static ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilder(ModelEvaluation.ModelEvaluationExplanationSpec prototype)
Parameter
Returns
public static ModelEvaluation.ModelEvaluationExplanationSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelEvaluation.ModelEvaluationExplanationSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelEvaluation.ModelEvaluationExplanationSpec> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
Returns
public ExplanationSpec getExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 2;
Returns
public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
Explanation spec details.
.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 2;
Returns
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.
|
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.
|
public Parser<ModelEvaluation.ModelEvaluationExplanationSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 2;
Returns
Type | Description |
boolean | Whether the explanationSpec field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilderForType()
Returns
protected ModelEvaluation.ModelEvaluationExplanationSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions