Send feedback
Class BatchDocumentsInputConfig.Builder (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public BatchDocumentsInputConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public BatchDocumentsInputConfig build ()
Returns
public BatchDocumentsInputConfig buildPartial ()
Returns
public BatchDocumentsInputConfig . Builder clear ()
Returns
Overrides
public BatchDocumentsInputConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public BatchDocumentsInputConfig . Builder clearGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Returns
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
public BatchDocumentsInputConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public BatchDocumentsInputConfig . Builder clearSource ()
Returns
public BatchDocumentsInputConfig . Builder clone ()
Returns
Overrides
public BatchDocumentsInputConfig getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public GcsDocuments getGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Returns
public GcsDocuments . Builder getGcsDocumentsBuilder ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Returns
public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Returns
public GcsPrefix getGcsPrefix ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
Returns
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
public GcsPrefixOrBuilder getGcsPrefixOrBuilder ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
Returns
public BatchDocumentsInputConfig . SourceCase getSourceCase ()
Returns
public boolean hasGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Returns
Type Description boolean
Whether the gcsDocuments field is set.
public boolean hasGcsPrefix ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
Returns
Type Description boolean
Whether the gcsPrefix field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public BatchDocumentsInputConfig . Builder mergeFrom ( BatchDocumentsInputConfig other )
Parameter
Returns
public BatchDocumentsInputConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public BatchDocumentsInputConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public BatchDocumentsInputConfig . Builder mergeGcsDocuments ( GcsDocuments value )
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Parameter
Returns
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
Returns
public final BatchDocumentsInputConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public BatchDocumentsInputConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public BatchDocumentsInputConfig . Builder setGcsDocuments ( GcsDocuments value )
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public BatchDocumentsInputConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final BatchDocumentsInputConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]