Class ExplanationSpecOverride (3.46.0)

public final class ExplanationSpecOverride extends GeneratedMessageV3 implements ExplanationSpecOverrideOrBuilder

The ExplanationSpec entries that can be overridden at online explanation time.

Protobuf type google.cloud.aiplatform.v1.ExplanationSpecOverride

Static Fields

EXAMPLES_OVERRIDE_FIELD_NUMBER

public static final int EXAMPLES_OVERRIDE_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExplanationSpecOverride getDefaultInstance()
Returns
Type Description
ExplanationSpecOverride

getDescriptor()

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

newBuilder()

public static ExplanationSpecOverride.Builder newBuilder()
Returns
Type Description
ExplanationSpecOverride.Builder

newBuilder(ExplanationSpecOverride prototype)

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

parseDelimitedFrom(InputStream input)

public static ExplanationSpecOverride parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationSpecOverride
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExplanationSpecOverride parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExplanationSpecOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExplanationSpecOverride parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExplanationSpecOverride
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExplanationSpecOverride parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExplanationSpecOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExplanationSpecOverride parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExplanationSpecOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExplanationSpecOverride> parser()
Returns
Type Description
Parser<ExplanationSpecOverride>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExplanationSpecOverride getDefaultInstanceForType()
Returns
Type Description
ExplanationSpecOverride

getExamplesOverride()

public ExamplesOverride getExamplesOverride()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExamplesOverride

The examplesOverride.

getExamplesOverrideOrBuilder()

public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;

Returns
Type Description
ExamplesOverrideOrBuilder

getMetadata()

public ExplanationMetadataOverride getMetadata()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationMetadataOverride

The metadata.

getMetadataOrBuilder()

public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
ExplanationMetadataOverrideOrBuilder

getParameters()

public ExplanationParameters getParameters()

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationParameters

The parameters.

getParametersOrBuilder()

public ExplanationParametersOrBuilder getParametersOrBuilder()

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;

Returns
Type Description
ExplanationParametersOrBuilder

getParserForType()

public Parser<ExplanationSpecOverride> getParserForType()
Returns
Type Description
Parser<ExplanationSpecOverride>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExamplesOverride()

public boolean hasExamplesOverride()

The example-based explanations parameter overrides.

.google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;

Returns
Type Description
boolean

Whether the examplesOverride field is set.

hasMetadata()

public boolean hasMetadata()

The metadata to be overridden. If not specified, no metadata is overridden.

.google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

hasParameters()

public boolean hasParameters()

The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden.

.google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;

Returns
Type Description
boolean

Whether the parameters 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 ExplanationSpecOverride.Builder newBuilderForType()
Returns
Type Description
ExplanationSpecOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ExplanationSpecOverride.Builder toBuilder()
Returns
Type Description
ExplanationSpecOverride.Builder

writeTo(CodedOutputStream output)

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