Interface ElementsImageOrBuilder (0.67.0)

public interface ElementsImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageCase()

public abstract ElementsImage.ImageCase getImageCase()
Returns
Type Description
ElementsImage.ImageCase

getImageUri()

public abstract String getImageUri()

Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it.

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

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it.

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

Returns
Type Description
ByteString

The bytes for imageUri.

hasImageUri()

public abstract boolean hasImageUri()

Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it.

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

Returns
Type Description
boolean

Whether the imageUri field is set.