Class Card.NestedWidget

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.apps.card.v1.Card.NestedWidget
All Implemented Interfaces:
Card.NestedWidgetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Card

public static final class Card.NestedWidget extends com.google.protobuf.GeneratedMessage implements Card.NestedWidgetOrBuilder
 A list of widgets that can be displayed in a containing layout, such
 as a `CarouselCard`.
 [Google Chat apps](https://developers.google.com/workspace/chat):
 
Protobuf type google.apps.card.v1.Card.NestedWidget
See Also:
  • Field Details

    • TEXT_PARAGRAPH_FIELD_NUMBER

      public static final int TEXT_PARAGRAPH_FIELD_NUMBER
      See Also:
    • BUTTON_LIST_FIELD_NUMBER

      public static final int BUTTON_LIST_FIELD_NUMBER
      See Also:
    • IMAGE_FIELD_NUMBER

      public static final int IMAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDataCase

      public Card.NestedWidget.DataCase getDataCase()
      Specified by:
      getDataCase in interface Card.NestedWidgetOrBuilder
    • hasTextParagraph

      public boolean hasTextParagraph()
       A text paragraph widget.
       
      .google.apps.card.v1.TextParagraph text_paragraph = 1;
      Specified by:
      hasTextParagraph in interface Card.NestedWidgetOrBuilder
      Returns:
      Whether the textParagraph field is set.
    • getTextParagraph

      public TextParagraph getTextParagraph()
       A text paragraph widget.
       
      .google.apps.card.v1.TextParagraph text_paragraph = 1;
      Specified by:
      getTextParagraph in interface Card.NestedWidgetOrBuilder
      Returns:
      The textParagraph.
    • getTextParagraphOrBuilder

      public TextParagraphOrBuilder getTextParagraphOrBuilder()
       A text paragraph widget.
       
      .google.apps.card.v1.TextParagraph text_paragraph = 1;
      Specified by:
      getTextParagraphOrBuilder in interface Card.NestedWidgetOrBuilder
    • hasButtonList

      public boolean hasButtonList()
       A button list widget.
       
      .google.apps.card.v1.ButtonList button_list = 3;
      Specified by:
      hasButtonList in interface Card.NestedWidgetOrBuilder
      Returns:
      Whether the buttonList field is set.
    • getButtonList

      public ButtonList getButtonList()
       A button list widget.
       
      .google.apps.card.v1.ButtonList button_list = 3;
      Specified by:
      getButtonList in interface Card.NestedWidgetOrBuilder
      Returns:
      The buttonList.
    • getButtonListOrBuilder

      public ButtonListOrBuilder getButtonListOrBuilder()
       A button list widget.
       
      .google.apps.card.v1.ButtonList button_list = 3;
      Specified by:
      getButtonListOrBuilder in interface Card.NestedWidgetOrBuilder
    • hasImage

      public boolean hasImage()
       An image widget.
       
      .google.apps.card.v1.Image image = 10;
      Specified by:
      hasImage in interface Card.NestedWidgetOrBuilder
      Returns:
      Whether the image field is set.
    • getImage

      public Image getImage()
       An image widget.
       
      .google.apps.card.v1.Image image = 10;
      Specified by:
      getImage in interface Card.NestedWidgetOrBuilder
      Returns:
      The image.
    • getImageOrBuilder

      public ImageOrBuilder getImageOrBuilder()
       An image widget.
       
      .google.apps.card.v1.Image image = 10;
      Specified by:
      getImageOrBuilder in interface Card.NestedWidgetOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Card.NestedWidget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Card.NestedWidget parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Card.NestedWidget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Card.NestedWidget parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Card.NestedWidget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Card.NestedWidget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Card.NestedWidget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Card.NestedWidget.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Card.NestedWidget.Builder newBuilder()
    • newBuilder

      public static Card.NestedWidget.Builder newBuilder(Card.NestedWidget prototype)
    • toBuilder

      public Card.NestedWidget.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Card.NestedWidget.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Card.NestedWidget getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Card.NestedWidget> parser()
    • getParserForType

      public com.google.protobuf.Parser<Card.NestedWidget> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Card.NestedWidget getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder