Interface ImageOrBuilder (2.54.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.

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.