Interface InputConfigOrBuilder (2.20.0)

public interface InputConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for mimeType.

getSourceCase()

public abstract InputConfig.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.