Interface Card.CardFixedFooterOrBuilder (0.1.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the secondaryButton field is set.