Send feedback
Class ExplanationSpec (3.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.0keyboard_arrow_down
public final class ExplanationSpec extends GeneratedMessageV3 implements ExplanationSpecOrBuilder
Specification of Model explanation.
Protobuf type google.cloud.aiplatform.v1beta1.ExplanationSpec
Static Fields
public static final int METADATA_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ExplanationSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ExplanationSpec . Builder newBuilder ()
public static ExplanationSpec . Builder newBuilder ( ExplanationSpec prototype )
public static ExplanationSpec parseDelimitedFrom ( InputStream input )
public static ExplanationSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExplanationSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ExplanationSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ExplanationSpec parseFrom ( ByteString data )
public static ExplanationSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ExplanationSpec parseFrom ( CodedInputStream input )
public static ExplanationSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ExplanationSpec parseFrom ( InputStream input )
public static ExplanationSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExplanationSpec parseFrom ( ByteBuffer data )
public static ExplanationSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ExplanationSpec> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ExplanationSpec getDefaultInstanceForType ()
public ExplanationMetadata getMetadata ()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
public ExplanationMetadataOrBuilder getMetadataOrBuilder ()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
public ExplanationParameters getParameters ()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.aiplatform.v1beta1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
public ExplanationParametersOrBuilder getParametersOrBuilder ()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.aiplatform.v1beta1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
public Parser<ExplanationSpec> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
public boolean hasMetadata ()
Optional. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the metadata field is set.
public boolean hasParameters ()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.aiplatform.v1beta1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the parameters field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ExplanationSpec . Builder newBuilderForType ()
protected ExplanationSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ExplanationSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[],[]]