Class ImportProcessorVersionMetadata (2.41.0)

public final class ImportProcessorVersionMetadata extends GeneratedMessageV3 implements ImportProcessorVersionMetadataOrBuilder

The long-running operation metadata for the ImportProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.ImportProcessorVersionMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportProcessorVersionMetadata

Static Fields

COMMON_METADATA_FIELD_NUMBER

public static final int COMMON_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportProcessorVersionMetadata getDefaultInstance()
Returns
TypeDescription
ImportProcessorVersionMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportProcessorVersionMetadata prototype)

public static ImportProcessorVersionMetadata.Builder newBuilder(ImportProcessorVersionMetadata prototype)
Parameter
NameDescription
prototypeImportProcessorVersionMetadata
Returns
TypeDescription
ImportProcessorVersionMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata for the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata

The commonMetadata.

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata for the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public ImportProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportProcessorVersionMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata for the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
boolean

Whether the commonMetadata 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 ImportProcessorVersionMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImportProcessorVersionMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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