final class Card extends GeneratedMessageV3 with CardOrBuilder

A card interface displayed in a Google Chat message or Google Workspace
Add-on.

Cards support a defined layout, interactive UI elements like buttons, and
rich media like images. Use cards to present detailed information,
gather information from users, and guide users to take a next step.

[Card builder](https://addons.gsuite.google.com/uikit/builder)

To learn how
to build cards, see the following documentation:

* For Google Chat apps, see [Design the components of a card or
  dialog](https://developers.google.com/workspace/chat/design-components-card-dialog).
* For Google Workspace Add-ons, see [Card-based
interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards).

**Example: Card message for a Google Chat app**

![Example contact
card](https://developers.google.com/workspace/chat/images/card_api_reference.png)

To create the sample card message in Google Chat, use the following JSON:

```
{
  "cardsV2": [
    {
      "cardId": "unique-card-id",
      "card": {
        "header": {
           "title": "Sasha",
           "subtitle": "Software Engineer",
           "imageUrl":
           "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png",
           "imageType": "CIRCLE",
           "imageAltText": "Avatar for Sasha"
         },
         "sections": [
           {
             "header": "Contact Info",
             "collapsible": true,
             "uncollapsibleWidgetsCount": 1,
             "widgets": [
               {
                 "decoratedText": {
                   "startIcon": {
                     "knownIcon": "EMAIL"
                   },
                   "text": "sasha@example.com"
                 }
               },
               {
                 "decoratedText": {
                   "startIcon": {
                     "knownIcon": "PERSON"
                   },
                   "text": "<font color=\"#80e27e\">Online</font>"
                 }
               },
               {
                 "decoratedText": {
                   "startIcon": {
                     "knownIcon": "PHONE"
                   },
                   "text": "+1 (555) 555-1234"
                 }
               },
               {
                 "buttonList": {
                   "buttons": [
                     {
                       "text": "Share",
                       "onClick": {
                        "openLink": {
                           "url": "https://example.com/share"
                         }
                       }
                     },
                     {
                       "text": "Edit",
                       "onClick": {
                         "action": {
                           "function": "goToView",
                           "parameters": [
                             {
                               "key": "viewType",
                               "value": "EDIT"
                             }
                           ]
                         }
                       }
                     }
                   ]
                 }
               }
             ]
           }
         ]
       }
    }
  ]
}
```

Protobuf type google.apps.card.v1.Card

Source
Card.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Card
  2. CardOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    Card → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. def getCardActions(index: Int): CardAction

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    repeated .google.apps.card.v1.Card.CardAction card_actions = 3;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  12. def getCardActionsCount(): Int

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    repeated .google.apps.card.v1.Card.CardAction card_actions = 3;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  13. def getCardActionsList(): List[CardAction]

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    repeated .google.apps.card.v1.Card.CardAction card_actions = 3;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  14. def getCardActionsOrBuilder(index: Int): CardActionOrBuilder

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    repeated .google.apps.card.v1.Card.CardAction card_actions = 3;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  15. def getCardActionsOrBuilderList(): List[_ <: CardActionOrBuilder]

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    The card's actions. Actions are added to the card's toolbar menu.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    
    For example, the following JSON constructs a card action menu with
    `Settings` and `Send Feedback` options:
    
    ```
    "card_actions": [
      {
        "actionLabel": "Settings",
        "onClick": {
          "action": {
            "functionName": "goToView",
            "parameters": [
              {
                "key": "viewType",
                "value": "SETTING"
             }
            ],
            "loadIndicator": "LoadIndicator.SPINNER"
          }
        }
      },
      {
        "actionLabel": "Send Feedback",
        "onClick": {
          "openLink": {
            "url": "https://example.com/feedback"
          }
        }
      }
    ]
    ```
    

    repeated .google.apps.card.v1.Card.CardAction card_actions = 3;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getDefaultInstanceForType(): Card
    Definition Classes
    Card → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  18. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  19. def getDisplayStyle(): DisplayStyle

    In Google Workspace Add-ons, sets the display properties of the
    `peekCardHeader`.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    In Google Workspace Add-ons, sets the display properties of the
    `peekCardHeader`.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    .google.apps.card.v1.Card.DisplayStyle display_style = 6;

    returns

    The displayStyle.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  20. def getDisplayStyleValue(): Int

    In Google Workspace Add-ons, sets the display properties of the
    `peekCardHeader`.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    In Google Workspace Add-ons, sets the display properties of the
    `peekCardHeader`.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    .google.apps.card.v1.Card.DisplayStyle display_style = 6;

    returns

    The enum numeric value on the wire for displayStyle.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  21. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  22. def getFixedFooter(): CardFixedFooter

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    .google.apps.card.v1.Card.CardFixedFooter fixed_footer = 5;

    returns

    The fixedFooter.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  23. def getFixedFooterOrBuilder(): CardFixedFooterOrBuilder

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    .google.apps.card.v1.Card.CardFixedFooter fixed_footer = 5;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  24. def getHeader(): CardHeader

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    .google.apps.card.v1.Card.CardHeader header = 1;

    returns

    The header.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  25. def getHeaderOrBuilder(): CardHeaderOrBuilder

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    .google.apps.card.v1.Card.CardHeader header = 1;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  26. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  27. def getName(): String

    Name of the card. Used as a card identifier in card navigation.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    Name of the card. Used as a card identifier in card navigation.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    string name = 4;

    returns

    The name.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  28. def getNameBytes(): ByteString

    Name of the card. Used as a card identifier in card navigation.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    Name of the card. Used as a card identifier in card navigation.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    string name = 4;

    returns

    The bytes for name.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  29. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  30. def getParserForType(): Parser[Card]
    Definition Classes
    Card → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  31. def getPeekCardHeader(): CardHeader

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    .google.apps.card.v1.Card.CardHeader peek_card_header = 7;

    returns

    The peekCardHeader.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  32. def getPeekCardHeaderOrBuilder(): CardHeaderOrBuilder

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    .google.apps.card.v1.Card.CardHeader peek_card_header = 7;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  33. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  34. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  35. def getSectionDividerStyle(): DividerStyle

    The divider style between sections.
    

    The divider style between sections.
    

    .google.apps.card.v1.Card.DividerStyle section_divider_style = 9;

    returns

    The sectionDividerStyle.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  36. def getSectionDividerStyleValue(): Int

    The divider style between sections.
    

    The divider style between sections.
    

    .google.apps.card.v1.Card.DividerStyle section_divider_style = 9;

    returns

    The enum numeric value on the wire for sectionDividerStyle.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  37. def getSections(index: Int): Section

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    repeated .google.apps.card.v1.Card.Section sections = 2;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  38. def getSectionsCount(): Int

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    repeated .google.apps.card.v1.Card.Section sections = 2;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  39. def getSectionsList(): List[Section]

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    repeated .google.apps.card.v1.Card.Section sections = 2;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  40. def getSectionsOrBuilder(index: Int): SectionOrBuilder

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    repeated .google.apps.card.v1.Card.Section sections = 2;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  41. def getSectionsOrBuilderList(): List[_ <: SectionOrBuilder]

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    Contains a collection of widgets. Each section has its own, optional
    header. Sections are visually separated by a line divider. For an example
    in Google Chat apps, see [Define a section of a
    card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).
    

    repeated .google.apps.card.v1.Card.Section sections = 2;

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  42. def getSerializedSize(): Int
    Definition Classes
    Card → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  43. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  44. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  45. def hasFixedFooter(): Boolean

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    The fixed footer shown at the bottom of this card.
    
    Setting `fixedFooter` without specifying a `primaryButton` or a
    `secondaryButton` causes an error. For Chat apps, you can use fixed footers
    in
    [dialogs](https://developers.google.com/workspace/chat/dialogs), but not
    [card
    messages](https://developers.google.com/workspace/chat/create-messages#create).
    
    [Google Workspace Add-ons and Chat
    apps](https://developers.google.com/workspace/extend):
    

    .google.apps.card.v1.Card.CardFixedFooter fixed_footer = 5;

    returns

    Whether the fixedFooter field is set.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  46. def hasHeader(): Boolean

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    The header of the card. A header usually contains a leading image and a
    title. Headers always appear at the top of a card.
    

    .google.apps.card.v1.Card.CardHeader header = 1;

    returns

    Whether the header field is set.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  47. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  48. def hasPeekCardHeader(): Boolean

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    When displaying contextual content, the peek card header acts as a
    placeholder so that the user can navigate forward between the homepage
    cards and the contextual cards.
    
    [Google Workspace
    Add-ons](https://developers.google.com/workspace/add-ons):
    

    .google.apps.card.v1.Card.CardHeader peek_card_header = 7;

    returns

    Whether the peekCardHeader field is set.

    Definition Classes
    CardCardOrBuilder
    Annotations
    @Override()
  49. def hashCode(): Int
    Definition Classes
    Card → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  50. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v1]
    Definition Classes
    Card → GeneratedMessageV3
    Annotations
    @Override()
  51. def internalGetMapField(arg0: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  52. final def isInitialized(): Boolean
    Definition Classes
    Card → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v1]
    Definition Classes
    Card → GeneratedMessageV3
    Annotations
    @Override()
  57. def newBuilderForType(): Builder
    Definition Classes
    Card → Message → MessageLite
    Annotations
    @Override()
  58. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  59. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v1]
    Definition Classes
    Card → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  63. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  64. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  65. def toBuilder(): Builder
    Definition Classes
    Card → Message → MessageLite
    Annotations
    @Override()
  66. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  67. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  68. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  73. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  74. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    Card → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  75. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def mergeFromAndMakeImmutableInternal(arg0: CodedInputStream, arg1: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from CardOrBuilder

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped