Interface ImageOrBuilder (2.17.0)

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.

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.