Interface ImageOrBuilder (0.51.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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The width.