Class GcsDocuments.Builder (2.46.0)

public static final class GcsDocuments.Builder extends GeneratedMessageV3.Builder<GcsDocuments.Builder> implements GcsDocumentsOrBuilder

Specifies a set of documents on Cloud Storage.

Protobuf type google.cloud.documentai.v1beta3.GcsDocuments

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDocuments(Iterable<? extends GcsDocument> values)

public GcsDocuments.Builder addAllDocuments(Iterable<? extends GcsDocument> values)

The list of documents.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1beta3.GcsDocument>
Returns
Type Description
GcsDocuments.Builder

addDocuments(GcsDocument value)

public GcsDocuments.Builder addDocuments(GcsDocument value)

The list of documents.

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

Parameter
Name Description
value GcsDocument
Returns
Type Description
GcsDocuments.Builder

addDocuments(GcsDocument.Builder builderForValue)

public GcsDocuments.Builder addDocuments(GcsDocument.Builder builderForValue)

The list of documents.

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

Parameter
Name Description
builderForValue GcsDocument.Builder
Returns
Type Description
GcsDocuments.Builder

addDocuments(int index, GcsDocument value)

public GcsDocuments.Builder addDocuments(int index, GcsDocument value)

The list of documents.

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

Parameters
Name Description
index int
value GcsDocument
Returns
Type Description
GcsDocuments.Builder

addDocuments(int index, GcsDocument.Builder builderForValue)

public GcsDocuments.Builder addDocuments(int index, GcsDocument.Builder builderForValue)

The list of documents.

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

Parameters
Name Description
index int
builderForValue GcsDocument.Builder
Returns
Type Description
GcsDocuments.Builder

addDocumentsBuilder()

public GcsDocument.Builder addDocumentsBuilder()

The list of documents.

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

Returns
Type Description
GcsDocument.Builder

addDocumentsBuilder(int index)

public GcsDocument.Builder addDocumentsBuilder(int index)

The list of documents.

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

Parameter
Name Description
index int
Returns
Type Description
GcsDocument.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsDocuments.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsDocuments.Builder
Overrides

build()

public GcsDocuments build()
Returns
Type Description
GcsDocuments

buildPartial()

public GcsDocuments buildPartial()
Returns
Type Description
GcsDocuments

clear()

public GcsDocuments.Builder clear()
Returns
Type Description
GcsDocuments.Builder
Overrides

clearDocuments()

public GcsDocuments.Builder clearDocuments()

The list of documents.

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

Returns
Type Description
GcsDocuments.Builder

clearField(Descriptors.FieldDescriptor field)

public GcsDocuments.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcsDocuments.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsDocuments.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GcsDocuments.Builder
Overrides

clone()

public GcsDocuments.Builder clone()
Returns
Type Description
GcsDocuments.Builder
Overrides

getDefaultInstanceForType()

public GcsDocuments getDefaultInstanceForType()
Returns
Type Description
GcsDocuments

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocuments(int index)

public GcsDocument getDocuments(int index)

The list of documents.

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

Parameter
Name Description
index int
Returns
Type Description
GcsDocument

getDocumentsBuilder(int index)

public GcsDocument.Builder getDocumentsBuilder(int index)

The list of documents.

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

Parameter
Name Description
index int
Returns
Type Description
GcsDocument.Builder

getDocumentsBuilderList()

public List<GcsDocument.Builder> getDocumentsBuilderList()

The list of documents.

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

Returns
Type Description
List<Builder>

getDocumentsCount()

public int getDocumentsCount()

The list of documents.

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

Returns
Type Description
int

getDocumentsList()

public List<GcsDocument> getDocumentsList()

The list of documents.

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

Returns
Type Description
List<GcsDocument>

getDocumentsOrBuilder(int index)

public GcsDocumentOrBuilder getDocumentsOrBuilder(int index)

The list of documents.

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

Parameter
Name Description
index int
Returns
Type Description
GcsDocumentOrBuilder

getDocumentsOrBuilderList()

public List<? extends GcsDocumentOrBuilder> getDocumentsOrBuilderList()

The list of documents.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsDocuments other)

public GcsDocuments.Builder mergeFrom(GcsDocuments other)
Parameter
Name Description
other GcsDocuments
Returns
Type Description
GcsDocuments.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsDocuments.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsDocuments.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcsDocuments.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcsDocuments.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsDocuments.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsDocuments.Builder
Overrides

removeDocuments(int index)

public GcsDocuments.Builder removeDocuments(int index)

The list of documents.

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

Parameter
Name Description
index int
Returns
Type Description
GcsDocuments.Builder

setDocuments(int index, GcsDocument value)

public GcsDocuments.Builder setDocuments(int index, GcsDocument value)

The list of documents.

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

Parameters
Name Description
index int
value GcsDocument
Returns
Type Description
GcsDocuments.Builder

setDocuments(int index, GcsDocument.Builder builderForValue)

public GcsDocuments.Builder setDocuments(int index, GcsDocument.Builder builderForValue)

The list of documents.

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

Parameters
Name Description
index int
builderForValue GcsDocument.Builder
Returns
Type Description
GcsDocuments.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GcsDocuments.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsDocuments.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcsDocuments.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcsDocuments.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsDocuments.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsDocuments.Builder
Overrides