Class BatchDatasetDocuments.Builder (2.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDatasetDocuments build()
Returns
TypeDescription
BatchDatasetDocuments

buildPartial()

public BatchDatasetDocuments buildPartial()
Returns
TypeDescription
BatchDatasetDocuments

clear()

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

clearCriteria()

public BatchDatasetDocuments.Builder clearCriteria()
Returns
TypeDescription
BatchDatasetDocuments.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchDatasetDocuments.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchDatasetDocuments.Builder

This builder for chaining.

clearIndividualDocumentIds()

public BatchDatasetDocuments.Builder clearIndividualDocumentIds()

Document identifiers.

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

Returns
TypeDescription
BatchDatasetDocuments.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCriteriaCase()

public BatchDatasetDocuments.CriteriaCase getCriteriaCase()
Returns
TypeDescription
BatchDatasetDocuments.CriteriaCase

getDefaultInstanceForType()

public BatchDatasetDocuments getDefaultInstanceForType()
Returns
TypeDescription
BatchDatasetDocuments

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for filter.

getIndividualDocumentIds()

public BatchDatasetDocuments.IndividualDocumentIds getIndividualDocumentIds()

Document identifiers.

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

Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds

The individualDocumentIds.

getIndividualDocumentIdsBuilder()

public BatchDatasetDocuments.IndividualDocumentIds.Builder getIndividualDocumentIdsBuilder()

Document identifiers.

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

Returns
TypeDescription
BatchDatasetDocuments.IndividualDocumentIds.Builder

getIndividualDocumentIdsOrBuilder()

public BatchDatasetDocuments.IndividualDocumentIdsOrBuilder getIndividualDocumentIdsOrBuilder()

Document identifiers.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the filter field is set.

hasIndividualDocumentIds()

public boolean hasIndividualDocumentIds()

Document identifiers.

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

Returns
TypeDescription
boolean

Whether the individualDocumentIds field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDatasetDocuments other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchDatasetDocuments.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueBatchDatasetDocuments.IndividualDocumentIds
Returns
TypeDescription
BatchDatasetDocuments.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueBatchDatasetDocuments.IndividualDocumentIds
Returns
TypeDescription
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
NameDescription
builderForValueBatchDatasetDocuments.IndividualDocumentIds.Builder
Returns
TypeDescription
BatchDatasetDocuments.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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