Interface Card.CardFixedFooterOrBuilder (2.48.0)

public static interface Card.CardFixedFooterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrimaryButton()

public abstract Button getPrimaryButton()

The primary button of the fixed footer. The button must be a text button with text and color set.

.google.apps.card.v1.Button primary_button = 1;

Returns
Type Description
Button

The primaryButton.

getPrimaryButtonOrBuilder()

public abstract ButtonOrBuilder getPrimaryButtonOrBuilder()

The primary button of the fixed footer. The button must be a text button with text and color set.

.google.apps.card.v1.Button primary_button = 1;

Returns
Type Description
ButtonOrBuilder

getSecondaryButton()

public abstract Button getSecondaryButton()

The secondary button of the fixed footer. The button must be a text button with text and color set. If secondaryButton is set, you must also set primaryButton.

.google.apps.card.v1.Button secondary_button = 2;

Returns
Type Description
Button

The secondaryButton.

getSecondaryButtonOrBuilder()

public abstract ButtonOrBuilder getSecondaryButtonOrBuilder()

The secondary button of the fixed footer. The button must be a text button with text and color set. If secondaryButton is set, you must also set primaryButton.

.google.apps.card.v1.Button secondary_button = 2;

Returns
Type Description
ButtonOrBuilder

hasPrimaryButton()

public abstract boolean hasPrimaryButton()

The primary button of the fixed footer. The button must be a text button with text and color set.

.google.apps.card.v1.Button primary_button = 1;

Returns
Type Description
boolean

Whether the primaryButton field is set.

hasSecondaryButton()

public abstract boolean hasSecondaryButton()

The secondary button of the fixed footer. The button must be a text button with text and color set. If secondaryButton is set, you must also set primaryButton.

.google.apps.card.v1.Button secondary_button = 2;

Returns
Type Description
boolean

Whether the secondaryButton field is set.