Class Columns.Column.Widgets

  • All Implemented Interfaces:
    Columns.Column.WidgetsOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    Columns.Column

    public static final class Columns.Column.Widgets
    extends com.google.protobuf.GeneratedMessageV3
    implements Columns.Column.WidgetsOrBuilder
     The supported widgets that you can include in a column.
    
     [Google Workspace Add-ons and Chat
     apps](https://developers.google.com/workspace/extend):
     Columns for Google Workspace Add-ons are in
     Developer Preview.
     
    Protobuf type google.apps.card.v1.Columns.Column.Widgets
    See Also:
    Serialized Form
    • Field Detail

      • TEXT_PARAGRAPH_FIELD_NUMBER

        public static final int TEXT_PARAGRAPH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DECORATED_TEXT_FIELD_NUMBER

        public static final int DECORATED_TEXT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BUTTON_LIST_FIELD_NUMBER

        public static final int BUTTON_LIST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TEXT_INPUT_FIELD_NUMBER

        public static final int TEXT_INPUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SELECTION_INPUT_FIELD_NUMBER

        public static final int SELECTION_INPUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATE_TIME_PICKER_FIELD_NUMBER

        public static final int DATE_TIME_PICKER_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Overrides:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasTextParagraph

        public boolean hasTextParagraph()
         [TextParagraph][google.apps.card.v1.TextParagraph] widget.
         
        .google.apps.card.v1.TextParagraph text_paragraph = 1;
        Specified by:
        hasTextParagraph in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the textParagraph field is set.
      • hasImage

        public boolean hasImage()
         [Image][google.apps.card.v1.Image] widget.
         
        .google.apps.card.v1.Image image = 2;
        Specified by:
        hasImage in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the image field is set.
      • hasDecoratedText

        public boolean hasDecoratedText()
         [DecoratedText][google.apps.card.v1.DecoratedText] widget.
         
        .google.apps.card.v1.DecoratedText decorated_text = 3;
        Specified by:
        hasDecoratedText in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the decoratedText field is set.
      • hasButtonList

        public boolean hasButtonList()
         [ButtonList][google.apps.card.v1.ButtonList] widget.
         
        .google.apps.card.v1.ButtonList button_list = 4;
        Specified by:
        hasButtonList in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the buttonList field is set.
      • hasTextInput

        public boolean hasTextInput()
         [TextInput][google.apps.card.v1.TextInput] widget.
         
        .google.apps.card.v1.TextInput text_input = 5;
        Specified by:
        hasTextInput in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the textInput field is set.
      • hasSelectionInput

        public boolean hasSelectionInput()
         [SelectionInput][google.apps.card.v1.SelectionInput] widget.
         
        .google.apps.card.v1.SelectionInput selection_input = 6;
        Specified by:
        hasSelectionInput in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the selectionInput field is set.
      • hasDateTimePicker

        public boolean hasDateTimePicker()
         [DateTimePicker][google.apps.card.v1.DateTimePicker] widget.
         
        .google.apps.card.v1.DateTimePicker date_time_picker = 7;
        Specified by:
        hasDateTimePicker in interface Columns.Column.WidgetsOrBuilder
        Returns:
        Whether the dateTimePicker field is set.
      • isInitialized

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

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.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​(java.lang.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 Columns.Column.Widgets parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(java.nio.ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Columns.Column.Widgets parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Columns.Column.Widgets parseDelimitedFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Columns.Column.Widgets parseFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Columns.Column.Widgets.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Columns.Column.Widgets.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Columns.Column.Widgets.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Columns.Column.Widgets> 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 Columns.Column.Widgets getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder