public final class ExplanationSpecOverride extends GeneratedMessageV3 implements ExplanationSpecOverrideOrBuilder
The ExplanationSpec entries
that can be overridden at online
explanation time.
Protobuf type google.cloud.vertexai.v1.ExplanationSpecOverride
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXAMPLES_OVERRIDE_FIELD_NUMBER
public static final int EXAMPLES_OVERRIDE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExplanationSpecOverride.Builder newBuilder()
newBuilder(ExplanationSpecOverride prototype)
public static ExplanationSpecOverride.Builder newBuilder(ExplanationSpecOverride prototype)
public static ExplanationSpecOverride parseDelimitedFrom(InputStream input)
public static ExplanationSpecOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExplanationSpecOverride parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExplanationSpecOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExplanationSpecOverride parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExplanationSpecOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExplanationSpecOverride parseFrom(CodedInputStream input)
public static ExplanationSpecOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExplanationSpecOverride parseFrom(InputStream input)
public static ExplanationSpecOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExplanationSpecOverride parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExplanationSpecOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExplanationSpecOverride> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ExplanationSpecOverride getDefaultInstanceForType()
getExamplesOverride()
public ExamplesOverride getExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
getExamplesOverrideOrBuilder()
public ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
public ExplanationMetadataOverride getMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
public ExplanationMetadataOverrideOrBuilder getMetadataOrBuilder()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;
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.vertexai.v1.ExplanationParameters parameters = 1;
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.vertexai.v1.ExplanationParameters parameters = 1;
getParserForType()
public Parser<ExplanationSpecOverride> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasExamplesOverride()
public boolean hasExamplesOverride()
The example-based explanations parameter overrides.
.google.cloud.vertexai.v1.ExamplesOverride examples_override = 3;
Returns |
Type |
Description |
boolean |
Whether the examplesOverride field is set.
|
public boolean hasMetadata()
The metadata to be overridden. If not specified, no metadata is overridden.
.google.cloud.vertexai.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.vertexai.v1.ExplanationParameters parameters = 1;
Returns |
Type |
Description |
boolean |
Whether the parameters field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExplanationSpecOverride.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExplanationSpecOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExplanationSpecOverride.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides