Send feedback
Class BatchDocumentsInputConfig.Builder (2.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.44.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.v1.BatchDocumentsInputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
Methods
public BatchDocumentsInputConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public BatchDocumentsInputConfig build ()
public BatchDocumentsInputConfig buildPartial ()
public BatchDocumentsInputConfig . Builder clear ()
Overrides
public BatchDocumentsInputConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public BatchDocumentsInputConfig . Builder clearGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig . Builder clearGcsPrefix ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public BatchDocumentsInputConfig . Builder clearSource ()
public BatchDocumentsInputConfig . Builder clone ()
Overrides
public BatchDocumentsInputConfig getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public GcsDocuments getGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public GcsDocuments . Builder getGcsDocumentsBuilder ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public GcsPrefix getGcsPrefix ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
Returns Type Description GcsPrefix
The gcsPrefix.
public GcsPrefix . Builder getGcsPrefixBuilder ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public GcsPrefixOrBuilder getGcsPrefixOrBuilder ()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig . SourceCase getSourceCase ()
public boolean hasGcsDocuments ()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.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.v1.GcsPrefix gcs_prefix = 1;
Returns Type Description boolean
Whether the gcsPrefix field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BatchDocumentsInputConfig . Builder mergeFrom ( BatchDocumentsInputConfig other )
public BatchDocumentsInputConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public BatchDocumentsInputConfig . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public BatchDocumentsInputConfig . Builder mergeGcsDocuments ( GcsDocuments value )
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig . Builder mergeGcsPrefix ( GcsPrefix value )
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public final BatchDocumentsInputConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public BatchDocumentsInputConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public BatchDocumentsInputConfig . Builder setGcsDocuments ( GcsDocuments value )
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig . Builder setGcsDocuments ( GcsDocuments . Builder builderForValue )
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig . Builder setGcsPrefix ( GcsPrefix value )
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig . Builder setGcsPrefix ( GcsPrefix . Builder builderForValue )
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final BatchDocumentsInputConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-27 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-27 UTC."],[],[]]