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.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.v1.GcsDocuments gcs_documents = 2;
Returns
public BatchDocumentsInputConfig.Builder clearGcsPrefix()
The set of documents that match the specified Cloud Storage [gcs_prefix].
.google.cloud.documentai.v1.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.v1.GcsDocuments gcs_documents = 2;
Returns
public GcsDocuments.Builder getGcsDocumentsBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
Returns
public GcsDocumentsOrBuilder getGcsDocumentsOrBuilder()
The set of documents individually specified on Cloud Storage.
.google.cloud.documentai.v1.GcsDocuments gcs_documents = 2;
Returns
public GcsPrefix getGcsPrefix()
The set of documents that match the specified Cloud Storage [gcs_prefix].
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
Returns
public GcsPrefix.Builder getGcsPrefixBuilder()
The set of documents that match the specified Cloud Storage [gcs_prefix].
.google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1;
Returns
public GcsPrefixOrBuilder getGcsPrefixOrBuilder()
The set of documents that match the specified Cloud Storage [gcs_prefix].
.google.cloud.documentai.v1.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.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()
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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