Class GcsDocuments (2.1.9)

public final class GcsDocuments extends GeneratedMessageV3 implements GcsDocumentsOrBuilder

Specifies a set of documents on Cloud Storage.

Protobuf type google.cloud.documentai.v1beta3.GcsDocuments

Fields

DOCUMENTS_FIELD_NUMBER

public static final int DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static GcsDocuments getDefaultInstance()
Returns
TypeDescription
GcsDocuments

getDefaultInstanceForType()

public GcsDocuments getDefaultInstanceForType()
Returns
TypeDescription
GcsDocuments

getDescriptor()

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

getDocuments(int index)

public GcsDocument getDocuments(int index)

The list of documents.

repeated .google.cloud.documentai.v1beta3.GcsDocument documents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocument

getDocumentsCount()

public int getDocumentsCount()

The list of documents.

repeated .google.cloud.documentai.v1beta3.GcsDocument documents = 1;

Returns
TypeDescription
int

getDocumentsList()

public List<GcsDocument> getDocumentsList()

The list of documents.

repeated .google.cloud.documentai.v1beta3.GcsDocument documents = 1;

Returns
TypeDescription
List<GcsDocument>

getDocumentsOrBuilder(int index)

public GcsDocumentOrBuilder getDocumentsOrBuilder(int index)

The list of documents.

repeated .google.cloud.documentai.v1beta3.GcsDocument documents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocumentOrBuilder

getDocumentsOrBuilderList()

public List<? extends GcsDocumentOrBuilder> getDocumentsOrBuilderList()

The list of documents.

repeated .google.cloud.documentai.v1beta3.GcsDocument documents = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.GcsDocumentOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilder()

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

newBuilder(GcsDocuments prototype)

public static GcsDocuments.Builder newBuilder(GcsDocuments prototype)
Parameter
NameDescription
prototypeGcsDocuments
Returns
TypeDescription
GcsDocuments.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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