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.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.v1beta3.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig.Builder clearGcsPrefix()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.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.v1beta3.GcsDocuments gcs_documents = 2;
public GcsDocuments.Builder getGcsDocumentsBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
public GcsPrefix getGcsPrefix()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.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.v1beta3.GcsPrefix gcs_prefix = 1;
public GcsPrefixOrBuilder getGcsPrefixOrBuilder()
The set of documents that match the specified Cloud Storage gcs_prefix
.
.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig.SourceCase getSourceCase()
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()
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.v1beta3.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.v1beta3.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.v1beta3.GcsDocuments gcs_documents = 2;
public BatchDocumentsInputConfig.Builder setGcsDocuments(GcsDocuments.Builder builderForValue)
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1beta3.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.v1beta3.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.v1beta3.GcsPrefix gcs_prefix = 1;
public BatchDocumentsInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchDocumentsInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides