Class GcsDocuments.Builder (2.19.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.v1.GcsDocuments

Static Methods

getDescriptor()

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

Methods

addAllDocuments(Iterable<? extends GcsDocument> values)

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

The list of documents.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.GcsDocument>
Returns
TypeDescription
GcsDocuments.Builder

addDocuments(GcsDocument value)

public GcsDocuments.Builder addDocuments(GcsDocument value)

The list of documents.

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

Parameter
NameDescription
valueGcsDocument
Returns
TypeDescription
GcsDocuments.Builder

addDocuments(GcsDocument.Builder builderForValue)

public GcsDocuments.Builder addDocuments(GcsDocument.Builder builderForValue)

The list of documents.

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

Parameter
NameDescription
builderForValueGcsDocument.Builder
Returns
TypeDescription
GcsDocuments.Builder

addDocuments(int index, GcsDocument value)

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

The list of documents.

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

Parameters
NameDescription
indexint
valueGcsDocument
Returns
TypeDescription
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.v1.GcsDocument documents = 1;

Parameters
NameDescription
indexint
builderForValueGcsDocument.Builder
Returns
TypeDescription
GcsDocuments.Builder

addDocumentsBuilder()

public GcsDocument.Builder addDocumentsBuilder()

The list of documents.

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

Returns
TypeDescription
GcsDocument.Builder

addDocumentsBuilder(int index)

public GcsDocument.Builder addDocumentsBuilder(int index)

The list of documents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocument.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsDocuments.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcsDocuments.Builder
Overrides

build()

public GcsDocuments build()
Returns
TypeDescription
GcsDocuments

buildPartial()

public GcsDocuments buildPartial()
Returns
TypeDescription
GcsDocuments

clear()

public GcsDocuments.Builder clear()
Returns
TypeDescription
GcsDocuments.Builder
Overrides

clearDocuments()

public GcsDocuments.Builder clearDocuments()

The list of documents.

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

Returns
TypeDescription
GcsDocuments.Builder

clearField(Descriptors.FieldDescriptor field)

public GcsDocuments.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GcsDocuments.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsDocuments.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GcsDocuments.Builder
Overrides

clone()

public GcsDocuments.Builder clone()
Returns
TypeDescription
GcsDocuments.Builder
Overrides

getDefaultInstanceForType()

public GcsDocuments getDefaultInstanceForType()
Returns
TypeDescription
GcsDocuments

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocuments(int index)

public GcsDocument getDocuments(int index)

The list of documents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocument

getDocumentsBuilder(int index)

public GcsDocument.Builder getDocumentsBuilder(int index)

The list of documents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocument.Builder

getDocumentsBuilderList()

public List<GcsDocument.Builder> getDocumentsBuilderList()

The list of documents.

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

Returns
TypeDescription
List<Builder>

getDocumentsCount()

public int getDocumentsCount()

The list of documents.

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

Returns
TypeDescription
int

getDocumentsList()

public List<GcsDocument> getDocumentsList()

The list of documents.

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

Returns
TypeDescription
List<GcsDocument>

getDocumentsOrBuilder(int index)

public GcsDocumentOrBuilder getDocumentsOrBuilder(int index)

The list of documents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocumentOrBuilder

getDocumentsOrBuilderList()

public List<? extends GcsDocumentOrBuilder> getDocumentsOrBuilderList()

The list of documents.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsDocuments other)

public GcsDocuments.Builder mergeFrom(GcsDocuments other)
Parameter
NameDescription
otherGcsDocuments
Returns
TypeDescription
GcsDocuments.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsDocuments.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcsDocuments.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcsDocuments.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GcsDocuments.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsDocuments.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcsDocuments.Builder
Overrides

removeDocuments(int index)

public GcsDocuments.Builder removeDocuments(int index)

The list of documents.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsDocuments.Builder

setDocuments(int index, GcsDocument value)

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

The list of documents.

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

Parameters
NameDescription
indexint
valueGcsDocument
Returns
TypeDescription
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.v1.GcsDocument documents = 1;

Parameters
NameDescription
indexint
builderForValueGcsDocument.Builder
Returns
TypeDescription
GcsDocuments.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GcsDocuments.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcsDocuments.Builder
Overrides

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

public GcsDocuments.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcsDocuments.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsDocuments.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcsDocuments.Builder
Overrides