Send feedback
Class Card.CardFixedFooter (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Card . CardFixedFooter extends GeneratedMessageV3 implements Card . CardFixedFooterOrBuilder
A persistent (sticky) footer that that appears at the bottom of the card.
Setting fixedFooter
without specifying a primaryButton
or a
secondaryButton
causes an error.
For Chat apps, you can use fixed footers in
dialogs , but not
card
messages .
For an example in Google Chat apps, see Card
footer .
Google Workspace Add-ons and Chat
apps :
Protobuf type google.apps.card.v1.Card.CardFixedFooter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PRIMARY_BUTTON_FIELD_NUMBER
Field Value Type Description int
public static final int SECONDARY_BUTTON_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static Card . CardFixedFooter getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Card . CardFixedFooter . Builder newBuilder ()
public static Card . CardFixedFooter . Builder newBuilder ( Card . CardFixedFooter prototype )
public static Card . CardFixedFooter parseDelimitedFrom ( InputStream input )
public static Card . CardFixedFooter parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Card . CardFixedFooter parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static Card . CardFixedFooter parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Card . CardFixedFooter parseFrom ( ByteString data )
public static Card . CardFixedFooter parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Card . CardFixedFooter parseFrom ( CodedInputStream input )
public static Card . CardFixedFooter parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Card . CardFixedFooter parseFrom ( InputStream input )
public static Card . CardFixedFooter parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Card . CardFixedFooter parseFrom ( ByteBuffer data )
public static Card . CardFixedFooter parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Card . CardFixedFooter > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public Card . CardFixedFooter getDefaultInstanceForType ()
public Parser<Card . CardFixedFooter > getParserForType ()
Overrides
public 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.
public 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;
public 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.
public 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;
public int getSerializedSize ()
Returns Type Description int
Overrides
public 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.
public 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.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Card . CardFixedFooter . Builder newBuilderForType ()
protected Card . CardFixedFooter . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public Card . CardFixedFooter . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]