public interface InputConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGcsSource()
public abstract GcsSource getGcsSource()The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
GcsSource |
The gcsSource. |
getGcsSourceOrBuilder()
public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
GcsSourceOrBuilder |
|
getMimeType()
public abstract String getMimeType()Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif.
string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif.
string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
getSourceCase()
public abstract InputConfig.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
InputConfig.SourceCase |
|
hasGcsSource()
public abstract boolean hasGcsSource()The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsSource field is set. |