Interface InputConfigOrBuilder (2.0.29)

public interface InputConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract GcsSource getGcsSource()

The Google Cloud Storage location to read the input from.

.google.cloud.vision.v1p2beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

The Google Cloud Storage location to read the input from.

.google.cloud.vision.v1p2beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
GcsSourceOrBuilder

getMimeType()

public abstract String getMimeType()

The type of the file. Currently only "application/pdf" and "image/tiff" are supported. Wildcards are not supported.

string mime_type = 2;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The type of the file. Currently only "application/pdf" and "image/tiff" are supported. Wildcards are not supported.

string mime_type = 2;

Returns
TypeDescription
ByteString

The bytes for mimeType.

hasGcsSource()

public abstract boolean hasGcsSource()

The Google Cloud Storage location to read the input from.

.google.cloud.vision.v1p2beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.