Class ExplanationSpecOverride (3.9.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.v1beta1.ExplanationSpecOverride

Static Fields

EXAMPLES_OVERRIDE_FIELD_NUMBER

public static final int EXAMPLES_OVERRIDE_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExplanationSpecOverride getDefaultInstance()
Returns
TypeDescription
ExplanationSpecOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExplanationSpecOverride.Builder newBuilder()
Returns
TypeDescription
ExplanationSpecOverride.Builder

newBuilder(ExplanationSpecOverride prototype)

public static ExplanationSpecOverride.Builder newBuilder(ExplanationSpecOverride prototype)
Parameter
NameDescription
prototypeExplanationSpecOverride
Returns
TypeDescription
ExplanationSpecOverride.Builder

parseDelimitedFrom(InputStream input)

public static ExplanationSpecOverride parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExplanationSpecOverride parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExplanationSpecOverride parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExplanationSpecOverride parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExplanationSpecOverride parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExplanationSpecOverride parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExplanationSpecOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExplanationSpecOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExplanationSpecOverride> parser()
Returns
TypeDescription
Parser<ExplanationSpecOverride>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExplanationSpecOverride getDefaultInstanceForType()
Returns
TypeDescription
ExplanationSpecOverride

getExamplesOverride()

public ExamplesOverride getExamplesOverride()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
ExamplesOverride

The examplesOverride.

getExamplesOverrideOrBuilder()

public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
ExamplesOverrideOrBuilder

getMetadata()

public ExplanationMetadataOverride getMetadata()

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

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

Returns
TypeDescription
ExplanationMetadataOverride

The metadata.

getMetadataOrBuilder()

public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
ExplanationMetadataOverrideOrBuilder

getParameters()

public ExplanationParameters getParameters()

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

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

Returns
TypeDescription
ExplanationParameters

The parameters.

getParametersOrBuilder()

public ExplanationParametersOrBuilder getParametersOrBuilder()

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

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

Returns
TypeDescription
ExplanationParametersOrBuilder

getParserForType()

public Parser<ExplanationSpecOverride> getParserForType()
Returns
TypeDescription
Parser<ExplanationSpecOverride>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExamplesOverride()

public boolean hasExamplesOverride()

The example-based explanations parameter overrides.

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

Returns
TypeDescription
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.v1beta1.ExplanationMetadataOverride metadata = 2;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasParameters()

public boolean hasParameters()

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

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

Returns
TypeDescription
boolean

Whether the parameters field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExplanationSpecOverride.Builder newBuilderForType()
Returns
TypeDescription
ExplanationSpecOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExplanationSpecOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExplanationSpecOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExplanationSpecOverride.Builder toBuilder()
Returns
TypeDescription
ExplanationSpecOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException