Class SanitizationResult.SanitizationMetadata (0.11.0)

publicstaticfinalclass SanitizationResult.SanitizationMetadataextendsGeneratedMessageV3implementsSanitizationResult.SanitizationMetadataOrBuilder

Message describing Sanitization metadata.

Protobuf type google.cloud.modelarmor.v1.SanitizationResult.SanitizationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SanitizationResult.SanitizationMetadata

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

ERROR_CODE_FIELD_NUMBER

publicstaticfinalintERROR_CODE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

publicstaticfinalintERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

IGNORE_PARTIAL_INVOCATION_FAILURES_FIELD_NUMBER

publicstaticfinalintIGNORE_PARTIAL_INVOCATION_FAILURES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSanitizationResult.SanitizationMetadatagetDefaultInstance()
Returns
Type Description
SanitizationResult.SanitizationMetadata

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSanitizationResult.SanitizationMetadata.BuildernewBuilder()
Returns
Type Description
SanitizationResult.SanitizationMetadata.Builder

newBuilder(SanitizationResult.SanitizationMetadata prototype)

publicstaticSanitizationResult.SanitizationMetadata.BuildernewBuilder(SanitizationResult.SanitizationMetadataprototype)
Parameter
Name Description
prototype SanitizationResult.SanitizationMetadata
Returns
Type Description
SanitizationResult.SanitizationMetadata.Builder

parseDelimitedFrom(InputStream input)

publicstaticSanitizationResult.SanitizationMetadataparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSanitizationResult.SanitizationMetadataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SanitizationResult.SanitizationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SanitizationResult.SanitizationMetadata>parser()
Returns
Type Description
Parser<SanitizationMetadata>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicSanitizationResult.SanitizationMetadatagetDefaultInstanceForType()
Returns
Type Description
SanitizationResult.SanitizationMetadata

getErrorCode()

publiclonggetErrorCode()

Error code if any.

int64 error_code = 1;

Returns
Type Description
long

The errorCode.

getErrorMessage()

publicStringgetErrorMessage()

Error message if any.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

publicByteStringgetErrorMessageBytes()

Error message if any.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getIgnorePartialInvocationFailures()

publicbooleangetIgnorePartialInvocationFailures()

Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures.

bool ignore_partial_invocation_failures = 3;

Returns
Type Description
boolean

The ignorePartialInvocationFailures.

getParserForType()

publicParser<SanitizationResult.SanitizationMetadata>getParserForType()
Returns
Type Description
Parser<SanitizationMetadata>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSanitizationResult.SanitizationMetadata.BuildernewBuilderForType()
Returns
Type Description
SanitizationResult.SanitizationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSanitizationResult.SanitizationMetadata.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SanitizationResult.SanitizationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSanitizationResult.SanitizationMetadata.BuildertoBuilder()
Returns
Type Description
SanitizationResult.SanitizationMetadata.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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年10月30日 UTC.