Interface ImageOrBuilder (0.25.0)

public interface ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeight()

public abstract int getHeight()

Optional. Height of the image in number of pixels.

int32 height = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The height.

getUri()

public abstract String getUri()

Required. URL of the image with a length limit of 5 KiB.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. URL of the image with a length limit of 5 KiB.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for uri.

getWidth()

public abstract int getWidth()

Optional. Width of the image in number of pixels.

int32 width = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The width.