Class Columns.Column.Widgets (2.39.0)

public static final class Columns.Column.Widgets extends GeneratedMessageV3 implements Columns.Column.WidgetsOrBuilder

The supported widgets that you can include in a column.

Google Workspace Add-ons and Chat apps: Columns for Google Workspace Add-ons are in Developer Preview.

Protobuf type google.apps.card.v1.Columns.Column.Widgets

Static Fields

BUTTON_LIST_FIELD_NUMBER

public static final int BUTTON_LIST_FIELD_NUMBER
Field Value
Type Description
int

DATE_TIME_PICKER_FIELD_NUMBER

public static final int DATE_TIME_PICKER_FIELD_NUMBER
Field Value
Type Description
int

DECORATED_TEXT_FIELD_NUMBER

public static final int DECORATED_TEXT_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
Type Description
int

SELECTION_INPUT_FIELD_NUMBER

public static final int SELECTION_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TEXT_INPUT_FIELD_NUMBER

public static final int TEXT_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TEXT_PARAGRAPH_FIELD_NUMBER

public static final int TEXT_PARAGRAPH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Columns.Column.Widgets getDefaultInstance()
Returns
Type Description
Columns.Column.Widgets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Columns.Column.Widgets.Builder newBuilder()
Returns
Type Description
Columns.Column.Widgets.Builder

newBuilder(Columns.Column.Widgets prototype)

public static Columns.Column.Widgets.Builder newBuilder(Columns.Column.Widgets prototype)
Parameter
Name Description
prototype Columns.Column.Widgets
Returns
Type Description
Columns.Column.Widgets.Builder

parseDelimitedFrom(InputStream input)

public static Columns.Column.Widgets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Columns.Column.Widgets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Columns.Column.Widgets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Columns.Column.Widgets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Columns.Column.Widgets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Columns.Column.Widgets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Columns.Column.Widgets> parser()
Returns
Type Description
Parser<Widgets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getButtonList()

public ButtonList getButtonList()

ButtonList widget.

.google.apps.card.v1.ButtonList button_list = 4;

Returns
Type Description
ButtonList

The buttonList.

getButtonListOrBuilder()

public ButtonListOrBuilder getButtonListOrBuilder()

ButtonList widget.

.google.apps.card.v1.ButtonList button_list = 4;

Returns
Type Description
ButtonListOrBuilder

getDataCase()

public Columns.Column.Widgets.DataCase getDataCase()
Returns
Type Description
Columns.Column.Widgets.DataCase

getDateTimePicker()

public DateTimePicker getDateTimePicker()

DateTimePicker widget.

.google.apps.card.v1.DateTimePicker date_time_picker = 7;

Returns
Type Description
DateTimePicker

The dateTimePicker.

getDateTimePickerOrBuilder()

public DateTimePickerOrBuilder getDateTimePickerOrBuilder()

DateTimePicker widget.

.google.apps.card.v1.DateTimePicker date_time_picker = 7;

Returns
Type Description
DateTimePickerOrBuilder

getDecoratedText()

public DecoratedText getDecoratedText()

DecoratedText widget.

.google.apps.card.v1.DecoratedText decorated_text = 3;

Returns
Type Description
DecoratedText

The decoratedText.

getDecoratedTextOrBuilder()

public DecoratedTextOrBuilder getDecoratedTextOrBuilder()

DecoratedText widget.

.google.apps.card.v1.DecoratedText decorated_text = 3;

Returns
Type Description
DecoratedTextOrBuilder

getDefaultInstanceForType()

public Columns.Column.Widgets getDefaultInstanceForType()
Returns
Type Description
Columns.Column.Widgets

getImage()

public Image getImage()

Image widget.

.google.apps.card.v1.Image image = 2;

Returns
Type Description
Image

The image.

getImageOrBuilder()

public ImageOrBuilder getImageOrBuilder()

Image widget.

.google.apps.card.v1.Image image = 2;

Returns
Type Description
ImageOrBuilder

getParserForType()

public Parser<Columns.Column.Widgets> getParserForType()
Returns
Type Description
Parser<Widgets>
Overrides

getSelectionInput()

public SelectionInput getSelectionInput()

SelectionInput widget.

.google.apps.card.v1.SelectionInput selection_input = 6;

Returns
Type Description
SelectionInput

The selectionInput.

getSelectionInputOrBuilder()

public SelectionInputOrBuilder getSelectionInputOrBuilder()

SelectionInput widget.

.google.apps.card.v1.SelectionInput selection_input = 6;

Returns
Type Description
SelectionInputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTextInput()

public TextInput getTextInput()

TextInput widget.

.google.apps.card.v1.TextInput text_input = 5;

Returns
Type Description
TextInput

The textInput.

getTextInputOrBuilder()

public TextInputOrBuilder getTextInputOrBuilder()

TextInput widget.

.google.apps.card.v1.TextInput text_input = 5;

Returns
Type Description
TextInputOrBuilder

getTextParagraph()

public TextParagraph getTextParagraph()

TextParagraph widget.

.google.apps.card.v1.TextParagraph text_paragraph = 1;

Returns
Type Description
TextParagraph

The textParagraph.

getTextParagraphOrBuilder()

public TextParagraphOrBuilder getTextParagraphOrBuilder()

TextParagraph widget.

.google.apps.card.v1.TextParagraph text_paragraph = 1;

Returns
Type Description
TextParagraphOrBuilder

hasButtonList()

public boolean hasButtonList()

ButtonList widget.

.google.apps.card.v1.ButtonList button_list = 4;

Returns
Type Description
boolean

Whether the buttonList field is set.

hasDateTimePicker()

public boolean hasDateTimePicker()

DateTimePicker widget.

.google.apps.card.v1.DateTimePicker date_time_picker = 7;

Returns
Type Description
boolean

Whether the dateTimePicker field is set.

hasDecoratedText()

public boolean hasDecoratedText()

DecoratedText widget.

.google.apps.card.v1.DecoratedText decorated_text = 3;

Returns
Type Description
boolean

Whether the decoratedText field is set.

hasImage()

public boolean hasImage()

Image widget.

.google.apps.card.v1.Image image = 2;

Returns
Type Description
boolean

Whether the image field is set.

hasSelectionInput()

public boolean hasSelectionInput()

SelectionInput widget.

.google.apps.card.v1.SelectionInput selection_input = 6;

Returns
Type Description
boolean

Whether the selectionInput field is set.

hasTextInput()

public boolean hasTextInput()

TextInput widget.

.google.apps.card.v1.TextInput text_input = 5;

Returns
Type Description
boolean

Whether the textInput field is set.

hasTextParagraph()

public boolean hasTextParagraph()

TextParagraph widget.

.google.apps.card.v1.TextParagraph text_paragraph = 1;

Returns
Type Description
boolean

Whether the textParagraph field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Columns.Column.Widgets.Builder newBuilderForType()
Returns
Type Description
Columns.Column.Widgets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Columns.Column.Widgets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Columns.Column.Widgets.Builder toBuilder()
Returns
Type Description
Columns.Column.Widgets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException