Class BatchDocumentsInputConfig.Builder (2.32.0)

public static final class BatchDocumentsInputConfig.Builder extends GeneratedMessageV3.Builder<BatchDocumentsInputConfig.Builder> implements BatchDocumentsInputConfigOrBuilder

The common config to specify a set of documents used as input.

Protobuf type google.cloud.documentai.v1beta3.BatchDocumentsInputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDocumentsInputConfig build()
Returns
TypeDescription
BatchDocumentsInputConfig

buildPartial()

public BatchDocumentsInputConfig buildPartial()
Returns
TypeDescription
BatchDocumentsInputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsDocuments()

public BatchDocumentsInputConfig.Builder clearGcsDocuments()

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Returns
TypeDescription
BatchDocumentsInputConfig.Builder

clearGcsPrefix()

public BatchDocumentsInputConfig.Builder clearGcsPrefix()

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Returns
TypeDescription
BatchDocumentsInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public BatchDocumentsInputConfig.Builder clearSource()
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

clone()

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

getDefaultInstanceForType()

public BatchDocumentsInputConfig getDefaultInstanceForType()
Returns
TypeDescription
BatchDocumentsInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsDocuments()

public GcsDocuments getGcsDocuments()

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Returns
TypeDescription
GcsDocuments

The gcsDocuments.

getGcsDocumentsBuilder()

public GcsDocuments.Builder getGcsDocumentsBuilder()

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Returns
TypeDescription
GcsDocuments.Builder

getGcsDocumentsOrBuilder()

public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder()

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Returns
TypeDescription
GcsDocumentsOrBuilder

getGcsPrefix()

public GcsPrefix getGcsPrefix()

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Returns
TypeDescription
GcsPrefix

The gcsPrefix.

getGcsPrefixBuilder()

public GcsPrefix.Builder getGcsPrefixBuilder()

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Returns
TypeDescription
GcsPrefix.Builder

getGcsPrefixOrBuilder()

public GcsPrefixOrBuilder getGcsPrefixOrBuilder()

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Returns
TypeDescription
GcsPrefixOrBuilder

getSourceCase()

public BatchDocumentsInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
BatchDocumentsInputConfig.SourceCase

hasGcsDocuments()

public boolean hasGcsDocuments()

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Returns
TypeDescription
boolean

Whether the gcsDocuments field is set.

hasGcsPrefix()

public boolean hasGcsPrefix()

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Returns
TypeDescription
boolean

Whether the gcsPrefix field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDocumentsInputConfig other)

public BatchDocumentsInputConfig.Builder mergeFrom(BatchDocumentsInputConfig other)
Parameter
NameDescription
otherBatchDocumentsInputConfig
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsDocuments(GcsDocuments value)

public BatchDocumentsInputConfig.Builder mergeGcsDocuments(GcsDocuments value)

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Parameter
NameDescription
valueGcsDocuments
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

mergeGcsPrefix(GcsPrefix value)

public BatchDocumentsInputConfig.Builder mergeGcsPrefix(GcsPrefix value)

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Parameter
NameDescription
valueGcsPrefix
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsDocuments(GcsDocuments value)

public BatchDocumentsInputConfig.Builder setGcsDocuments(GcsDocuments value)

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Parameter
NameDescription
valueGcsDocuments
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

setGcsDocuments(GcsDocuments.Builder builderForValue)

public BatchDocumentsInputConfig.Builder setGcsDocuments(GcsDocuments.Builder builderForValue)

The set of documents individually specified on Cloud Storage.

.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;

Parameter
NameDescription
builderForValueGcsDocuments.Builder
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

setGcsPrefix(GcsPrefix value)

public BatchDocumentsInputConfig.Builder setGcsPrefix(GcsPrefix value)

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Parameter
NameDescription
valueGcsPrefix
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

setGcsPrefix(GcsPrefix.Builder builderForValue)

public BatchDocumentsInputConfig.Builder setGcsPrefix(GcsPrefix.Builder builderForValue)

The set of documents that match the specified Cloud Storage gcs_prefix.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;

Parameter
NameDescription
builderForValueGcsPrefix.Builder
Returns
TypeDescription
BatchDocumentsInputConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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