Interface ImageOrBuilder (2.2.2)

public interface ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataCase()

public abstract Image.DataCase getDataCase()
Returns
TypeDescription
Image.DataCase

getImageBytes()

public abstract ByteString getImageBytes()

Image content represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

bytes image_bytes = 1;

Returns
TypeDescription
ByteString

The imageBytes.

getInputConfig()

public abstract InputConfig getInputConfig()

An input config specifying the content of the image.

.google.cloud.automl.v1beta1.InputConfig input_config = 6;

Returns
TypeDescription
InputConfig

The inputConfig.

getInputConfigOrBuilder()

public abstract InputConfigOrBuilder getInputConfigOrBuilder()

An input config specifying the content of the image.

.google.cloud.automl.v1beta1.InputConfig input_config = 6;

Returns
TypeDescription
InputConfigOrBuilder

getThumbnailUri()

public abstract String getThumbnailUri()

Output only. HTTP URI to the thumbnail image.

string thumbnail_uri = 4;

Returns
TypeDescription
String

The thumbnailUri.

getThumbnailUriBytes()

public abstract ByteString getThumbnailUriBytes()

Output only. HTTP URI to the thumbnail image.

string thumbnail_uri = 4;

Returns
TypeDescription
ByteString

The bytes for thumbnailUri.

hasImageBytes()

public abstract boolean hasImageBytes()

Image content represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

bytes image_bytes = 1;

Returns
TypeDescription
boolean

Whether the imageBytes field is set.

hasInputConfig()

public abstract boolean hasInputConfig()

An input config specifying the content of the image.

.google.cloud.automl.v1beta1.InputConfig input_config = 6;

Returns
TypeDescription
boolean

Whether the inputConfig field is set.