public final class ExplanationSpec extends GeneratedMessageV3 implements ExplanationSpecOrBuilder
Specification of Model explanation.
Protobuf type google.cloud.aiplatform.v1.ExplanationSpec
Static Fields
public static final int METADATA_FIELD_NUMBER
Field Value
public static final int PARAMETERS_FIELD_NUMBER
Field Value
Static Methods
public static ExplanationSpec getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ExplanationSpec.Builder newBuilder()
Returns
public static ExplanationSpec.Builder newBuilder(ExplanationSpec prototype)
Parameter
Returns
public static ExplanationSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExplanationSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExplanationSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ExplanationSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExplanationSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ExplanationSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExplanationSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExplanationSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExplanationSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExplanationSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExplanationSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ExplanationSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ExplanationSpec> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ExplanationSpec getDefaultInstanceForType()
Returns
public ExplanationMetadata getMetadata()
Required. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ExplanationMetadataOrBuilder getMetadataOrBuilder()
Required. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ExplanationParameters getParameters()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public ExplanationParametersOrBuilder getParametersOrBuilder()
Required. Parameters that configure explaining of the Model's predictions.
.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<ExplanationSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasMetadata()
Required. Metadata describing the Model's input and output for explanation.
.google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the parameters field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExplanationSpec.Builder newBuilderForType()
Returns
protected ExplanationSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ExplanationSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions