Interface ContextualAddOnMarkup.Card.CardHeaderOrBuilder (0.13.0)

public static interface ContextualAddOnMarkup.Card.CardHeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageStyle()

public abstract ContextualAddOnMarkup.Card.CardHeader.ImageStyle getImageStyle()

The image's type (for example, square border or circular border).

.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader.ImageStyle image_style = 3;

Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.ImageStyle

The imageStyle.

getImageStyleValue()

public abstract int getImageStyleValue()

The image's type (for example, square border or circular border).

.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader.ImageStyle image_style = 3;

Returns
Type Description
int

The enum numeric value on the wire for imageStyle.

getImageUrl()

public abstract String getImageUrl()

The URL of the image in the card header.

string image_url = 4;

Returns
Type Description
String

The imageUrl.

getImageUrlBytes()

public abstract ByteString getImageUrlBytes()

The URL of the image in the card header.

string image_url = 4;

Returns
Type Description
ByteString

The bytes for imageUrl.

getSubtitle()

public abstract String getSubtitle()

The subtitle of the card header.

string subtitle = 2;

Returns
Type Description
String

The subtitle.

getSubtitleBytes()

public abstract ByteString getSubtitleBytes()

The subtitle of the card header.

string subtitle = 2;

Returns
Type Description
ByteString

The bytes for subtitle.

getTitle()

public abstract String getTitle()

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

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

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

string title = 1;

Returns
Type Description
ByteString

The bytes for title.