Interface ImageOrBuilder (2.39.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
Type Description
String

The altText.

getAltTextBytes()

public abstract ByteString getAltTextBytes()

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

string alt_text = 3;

Returns
Type Description
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/workspace/chat/images/quickstart-app-avatar.png </code></code>

string image_url = 1;

Returns
Type Description
String

The imageUrl.

getImageUrlBytes()

public abstract ByteString getImageUrlBytes()

The HTTPS URL that hosts the image.

For example:

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

string image_url = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the onClick field is set.