Interface ImageOrBuilder (0.1.0)

public interface ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAltText()

public abstract String getAltText()

The alternative text of this image that's used for accessibility.

string alt_text = 3;

Returns
TypeDescription
String

The altText.

getAltTextBytes()

public abstract ByteString getAltTextBytes()

The alternative text of this image that's used for accessibility.

string alt_text = 3;

Returns
TypeDescription
ByteString

The bytes for altText.

getImageUrl()

public abstract String getImageUrl()

The HTTPS URL that hosts the image.

For example:

<code><code> https://developers.google.com/chat/images/quickstart-app-avatar.png </code></code>

string image_url = 1;

Returns
TypeDescription
String

The imageUrl.

getImageUrlBytes()

public abstract ByteString getImageUrlBytes()

The HTTPS URL that hosts the image.

For example:

<code><code> https://developers.google.com/chat/images/quickstart-app-avatar.png </code></code>

string image_url = 1;

Returns
TypeDescription
ByteString

The bytes for imageUrl.

getOnClick()

public abstract OnClick getOnClick()

When a user clicks the image, the click triggers this action.

.google.apps.card.v1.OnClick on_click = 2;

Returns
TypeDescription
OnClick

The onClick.

getOnClickOrBuilder()

public abstract OnClickOrBuilder getOnClickOrBuilder()

When a user clicks the image, the click triggers this action.

.google.apps.card.v1.OnClick on_click = 2;

Returns
TypeDescription
OnClickOrBuilder

hasOnClick()

public abstract boolean hasOnClick()

When a user clicks the image, the click triggers this action.

.google.apps.card.v1.OnClick on_click = 2;

Returns
TypeDescription
boolean

Whether the onClick field is set.