public interface InputConfigOrBuilder extends MessageOrBuilder
Implements
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;
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;
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];
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];
Type | Description |
ByteString | The bytes for mimeType. |
getSourceCase()
public abstract InputConfig.SourceCase getSourceCase()
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;
Type | Description |
boolean | Whether the gcsSource field is set. |