Interface Card.CardHeaderOrBuilder (0.1.0)

public static interface Card.CardHeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageAltText()

public abstract String getImageAltText()

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

string image_alt_text = 5;

Returns
TypeDescription
String

The imageAltText.

getImageAltTextBytes()

public abstract ByteString getImageAltTextBytes()

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

string image_alt_text = 5;

Returns
TypeDescription
ByteString

The bytes for imageAltText.

getImageType()

public abstract Widget.ImageType getImageType()

The shape used to crop the image.

Google Workspace Add-ons and Chat apps:

.google.apps.card.v1.Widget.ImageType image_type = 3;

Returns
TypeDescription
Widget.ImageType

The imageType.

getImageTypeValue()

public abstract int getImageTypeValue()

The shape used to crop the image.

Google Workspace Add-ons and Chat apps:

.google.apps.card.v1.Widget.ImageType image_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for imageType.

getImageUrl()

public abstract String getImageUrl()

The HTTPS URL of the image in the card header.

string image_url = 4;

Returns
TypeDescription
String

The imageUrl.

getImageUrlBytes()

public abstract ByteString getImageUrlBytes()

The HTTPS URL of the image in the card header.

string image_url = 4;

Returns
TypeDescription
ByteString

The bytes for imageUrl.

getSubtitle()

public abstract String getSubtitle()

The subtitle of the card header. If specified, appears on its own line below the title.

string subtitle = 2;

Returns
TypeDescription
String

The subtitle.

getSubtitleBytes()

public abstract ByteString getSubtitleBytes()

The subtitle of the card header. If specified, appears on its own line below the title.

string subtitle = 2;

Returns
TypeDescription
ByteString

The bytes for subtitle.

getTitle()

public abstract String getTitle()

Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.