Enum Card.DisplayStyle (2.40.0)

public enum Card.DisplayStyle extends Enum<Card.DisplayStyle> implements ProtocolMessageEnum

In Google Workspace Add-ons, determines how a card is displayed.

Google Workspace Add-ons:

Protobuf enum google.apps.card.v1.Card.DisplayStyle

Implements

ProtocolMessageEnum

Static Fields

Name Description
DISPLAY_STYLE_UNSPECIFIED

Don't use. Unspecified.

DISPLAY_STYLE_UNSPECIFIED = 0;

DISPLAY_STYLE_UNSPECIFIED_VALUE

Don't use. Unspecified.

DISPLAY_STYLE_UNSPECIFIED = 0;

PEEK

The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.

PEEK = 1;

PEEK_VALUE

The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.

PEEK = 1;

REPLACE

Default value. The card is shown by replacing the view of the top card in the card stack.

REPLACE = 2;

REPLACE_VALUE

Default value. The card is shown by replacing the view of the top card in the card stack.

REPLACE = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()