Interface ImageOrBuilder (2.48.0)

public interface ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataCase()

public abstract Image.DataCase getDataCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
InputConfigOrBuilder

getThumbnailUri()

public abstract String getThumbnailUri()

Output only. HTTP URI to the thumbnail image.

string thumbnail_uri = 4;

Returns
Type Description
String

The thumbnailUri.

getThumbnailUriBytes()

public abstract ByteString getThumbnailUriBytes()

Output only. HTTP URI to the thumbnail image.

string thumbnail_uri = 4;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the inputConfig field is set.