Class BatchDatasetDocuments.IndividualDocumentIds.Builder (2.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1beta3.DocumentId>
Returns
TypeDescription
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
NameDescription
valueDocumentId
Returns
TypeDescription
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
NameDescription
builderForValueDocumentId.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDocumentId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocumentId.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DocumentId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDatasetDocuments.IndividualDocumentIds build()
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds

buildPartial()

public BatchDatasetDocuments.IndividualDocumentIds buildPartial()
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds

clear()

public BatchDatasetDocuments.IndividualDocumentIds.Builder clear()
Returns
TypeDescription
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
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchDatasetDocuments.IndividualDocumentIds.Builder clone()
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder
Overrides

getDefaultInstanceForType()

public BatchDatasetDocuments.IndividualDocumentIds getDefaultInstanceForType()
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.DocumentIdOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDatasetDocuments.IndividualDocumentIds other)

public BatchDatasetDocuments.IndividualDocumentIds.Builder mergeFrom(BatchDatasetDocuments.IndividualDocumentIds other)
Parameter
NameDescription
otherBatchDatasetDocuments.IndividualDocumentIds
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDatasetDocuments.IndividualDocumentIds.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDocumentId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocumentId.Builder
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDatasetDocuments.IndividualDocumentIds.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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