Interface BatchProcessRequest.BatchInputConfigOrBuilder

public static interface BatchProcessRequest.BatchInputConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract String getGcsSource()

The Cloud Storage location as the source of the document.

string gcs_source = 1;

Returns
TypeDescription
String

The gcsSource.

getGcsSourceBytes()

public abstract ByteString getGcsSourceBytes()

The Cloud Storage location as the source of the document.

string gcs_source = 1;

Returns
TypeDescription
ByteString

The bytes for gcsSource.

getMimeType()

public abstract String getMimeType()

Mimetype of the input. If the input is a raw document, the supported mimetypes are application/pdf, image/tiff, and image/gif. If the input is a [Document] proto, the type should be application/json.

string mime_type = 2;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Mimetype of the input. If the input is a raw document, the supported mimetypes are application/pdf, image/tiff, and image/gif. If the input is a [Document] proto, the type should be application/json.

string mime_type = 2;

Returns
TypeDescription
ByteString

The bytes for mimeType.