Class BatchDatasetDocuments.IndividualDocumentIds.Builder (2.53.0)

public static final class BatchDatasetDocuments.IndividualDocumentIds.Builder extends GeneratedMessageV3.Builder<BatchDatasetDocuments.IndividualDocumentIds.Builder> implements BatchDatasetDocuments.IndividualDocumentIdsOrBuilder

List of individual DocumentIds.

Protobuf type google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds

Static Methods

getDescriptor()

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

Methods

addAllDocumentIds(Iterable<? extends DocumentId> values)

public BatchDatasetDocuments.IndividualDocumentIds.Builder addAllDocumentIds(Iterable<? extends DocumentId> values)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1beta3.DocumentId>
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

addDocumentIds(DocumentId value)

public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(DocumentId value)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DocumentId
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

addDocumentIds(DocumentId.Builder builderForValue)

public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(DocumentId.Builder builderForValue)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DocumentId.Builder
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

addDocumentIds(int index, DocumentId value)

public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(int index, DocumentId value)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value DocumentId
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

addDocumentIds(int index, DocumentId.Builder builderForValue)

public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(int index, DocumentId.Builder builderForValue)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue DocumentId.Builder
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

addDocumentIdsBuilder()

public DocumentId.Builder addDocumentIdsBuilder()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentId.Builder

addDocumentIdsBuilder(int index)

public DocumentId.Builder addDocumentIdsBuilder(int index)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DocumentId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDatasetDocuments.IndividualDocumentIds build()
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds

buildPartial()

public BatchDatasetDocuments.IndividualDocumentIds buildPartial()
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds

clear()

public BatchDatasetDocuments.IndividualDocumentIds.Builder clear()
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder
Overrides

clearDocumentIds()

public BatchDatasetDocuments.IndividualDocumentIds.Builder clearDocumentIds()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchDatasetDocuments.IndividualDocumentIds.Builder clone()
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder
Overrides

getDefaultInstanceForType()

public BatchDatasetDocuments.IndividualDocumentIds getDefaultInstanceForType()
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds

getDescriptorForType()

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

getDocumentIds(int index)

public DocumentId getDocumentIds(int index)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DocumentId

getDocumentIdsBuilder(int index)

public DocumentId.Builder getDocumentIdsBuilder(int index)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DocumentId.Builder

getDocumentIdsBuilderList()

public List<DocumentId.Builder> getDocumentIdsBuilderList()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDocumentIdsCount()

public int getDocumentIdsCount()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDocumentIdsList()

public List<DocumentId> getDocumentIdsList()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<DocumentId>

getDocumentIdsOrBuilder(int index)

public DocumentIdOrBuilder getDocumentIdsOrBuilder(int index)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DocumentIdOrBuilder

getDocumentIdsOrBuilderList()

public List<? extends DocumentIdOrBuilder> getDocumentIdsOrBuilderList()

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDatasetDocuments.IndividualDocumentIds other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDocumentIds(int index)

public BatchDatasetDocuments.IndividualDocumentIds.Builder removeDocumentIds(int index)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

setDocumentIds(int index, DocumentId value)

public BatchDatasetDocuments.IndividualDocumentIds.Builder setDocumentIds(int index, DocumentId value)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value DocumentId
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

setDocumentIds(int index, DocumentId.Builder builderForValue)

public BatchDatasetDocuments.IndividualDocumentIds.Builder setDocumentIds(int index, DocumentId.Builder builderForValue)

Required. List of Document IDs indicating where the actual documents are stored.

repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue DocumentId.Builder
Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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