public static final class BatchProcessRequest.BatchInputConfig.Builder extends GeneratedMessage.Builder<BatchProcessRequest.BatchInputConfig.Builder> implements BatchProcessRequest.BatchInputConfigOrBuilderThe message for input config in batch process.
Protobuf type google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchProcessRequest.BatchInputConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchProcessRequest.BatchInputConfig build()| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig |
|
buildPartial()
public BatchProcessRequest.BatchInputConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig |
|
clear()
public BatchProcessRequest.BatchInputConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
|
clearGcsSource()
public BatchProcessRequest.BatchInputConfig.Builder clearGcsSource()The Cloud Storage location as the source of the document.
string gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |
clearMimeType()
public BatchProcessRequest.BatchInputConfig.Builder clearMimeType() An IANA published media type (MIME
type) of
the input. If the input is a raw document, refer to supported file
types for the list
of media types. If the input is a
Document, the type should be
application/json.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchProcessRequest.BatchInputConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsSource()
public String getGcsSource()The Cloud Storage location as the source of the document.
string gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The gcsSource. |
getGcsSourceBytes()
public ByteString getGcsSourceBytes()The Cloud Storage location as the source of the document.
string gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsSource. |
getMimeType()
public String getMimeType() An IANA published media type (MIME
type) of
the input. If the input is a raw document, refer to supported file
types for the list
of media types. If the input is a
Document, the type should be
application/json.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public ByteString getMimeTypeBytes() An IANA published media type (MIME
type) of
the input. If the input is a raw document, refer to supported file
types for the list
of media types. If the input is a
Document, the type should be
application/json.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchProcessRequest.BatchInputConfig other)
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(BatchProcessRequest.BatchInputConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchProcessRequest.BatchInputConfig |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
|
setGcsSource(String value)
public BatchProcessRequest.BatchInputConfig.Builder setGcsSource(String value)The Cloud Storage location as the source of the document.
string gcs_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsSource to set. |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |
setGcsSourceBytes(ByteString value)
public BatchProcessRequest.BatchInputConfig.Builder setGcsSourceBytes(ByteString value)The Cloud Storage location as the source of the document.
string gcs_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsSource to set. |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |
setMimeType(String value)
public BatchProcessRequest.BatchInputConfig.Builder setMimeType(String value) An IANA published media type (MIME
type) of
the input. If the input is a raw document, refer to supported file
types for the list
of media types. If the input is a
Document, the type should be
application/json.
string mime_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |
setMimeTypeBytes(ByteString value)
public BatchProcessRequest.BatchInputConfig.Builder setMimeTypeBytes(ByteString value) An IANA published media type (MIME
type) of
the input. If the input is a raw document, refer to supported file
types for the list
of media types. If the input is a
Document, the type should be
application/json.
string mime_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
BatchProcessRequest.BatchInputConfig.Builder |
This builder for chaining. |