Class BatchDatasetDocuments.Builder (2.50.0)

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

Dataset documents that the batch operation will be applied to.

Protobuf type google.cloud.documentai.v1beta3.BatchDatasetDocuments

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDatasetDocuments build()
Returns
Type Description
BatchDatasetDocuments

buildPartial()

public BatchDatasetDocuments buildPartial()
Returns
Type Description
BatchDatasetDocuments

clear()

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

clearCriteria()

public BatchDatasetDocuments.Builder clearCriteria()
Returns
Type Description
BatchDatasetDocuments.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public BatchDatasetDocuments.Builder clearFilter()

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Returns
Type Description
BatchDatasetDocuments.Builder

This builder for chaining.

clearIndividualDocumentIds()

public BatchDatasetDocuments.Builder clearIndividualDocumentIds()

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

Returns
Type Description
BatchDatasetDocuments.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCriteriaCase()

public BatchDatasetDocuments.CriteriaCase getCriteriaCase()
Returns
Type Description
BatchDatasetDocuments.CriteriaCase

getDefaultInstanceForType()

public BatchDatasetDocuments getDefaultInstanceForType()
Returns
Type Description
BatchDatasetDocuments

getDescriptorForType()

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

getFilter()

public String getFilter()

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getIndividualDocumentIds()

public BatchDatasetDocuments.IndividualDocumentIds getIndividualDocumentIds()

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds

The individualDocumentIds.

getIndividualDocumentIdsBuilder()

public BatchDatasetDocuments.IndividualDocumentIds.Builder getIndividualDocumentIdsBuilder()

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIds.Builder

getIndividualDocumentIdsOrBuilder()

public BatchDatasetDocuments.IndividualDocumentIdsOrBuilder getIndividualDocumentIdsOrBuilder()

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

Returns
Type Description
BatchDatasetDocuments.IndividualDocumentIdsOrBuilder

hasFilter()

public boolean hasFilter()

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Returns
Type Description
boolean

Whether the filter field is set.

hasIndividualDocumentIds()

public boolean hasIndividualDocumentIds()

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

Returns
Type Description
boolean

Whether the individualDocumentIds field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDatasetDocuments other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds value)

public BatchDatasetDocuments.Builder mergeIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds value)

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public BatchDatasetDocuments.Builder setFilter(String value)

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
BatchDatasetDocuments.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public BatchDatasetDocuments.Builder setFilterBytes(ByteString value)

A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
BatchDatasetDocuments.Builder

This builder for chaining.

setIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds value)

public BatchDatasetDocuments.Builder setIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds value)

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

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

setIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds.Builder builderForValue)

public BatchDatasetDocuments.Builder setIndividualDocumentIds(BatchDatasetDocuments.IndividualDocumentIds.Builder builderForValue)

Document identifiers.

.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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