Class Columns.Column.Widgets (2.37.1)

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

The supported widgets that you can include in a column.

Google Chat apps:

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
TypeDescription
int

DATE_TIME_PICKER_FIELD_NUMBER

public static final int DATE_TIME_PICKER_FIELD_NUMBER
Field Value
TypeDescription
int

DECORATED_TEXT_FIELD_NUMBER

public static final int DECORATED_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

SELECTION_INPUT_FIELD_NUMBER

public static final int SELECTION_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_INPUT_FIELD_NUMBER

public static final int TEXT_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_PARAGRAPH_FIELD_NUMBER

public static final int TEXT_PARAGRAPH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Columns.Column.Widgets getDefaultInstance()
Returns
TypeDescription
Columns.Column.Widgets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Columns.Column.Widgets.Builder newBuilder()
Returns
TypeDescription
Columns.Column.Widgets.Builder

newBuilder(Columns.Column.Widgets prototype)

public static Columns.Column.Widgets.Builder newBuilder(Columns.Column.Widgets prototype)
Parameter
NameDescription
prototypeColumns.Column.Widgets
Returns
TypeDescription
Columns.Column.Widgets.Builder

parseDelimitedFrom(InputStream input)

public static Columns.Column.Widgets parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Columns.Column.Widgets parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Columns.Column.Widgets parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Columns.Column.Widgets parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Columns.Column.Widgets parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Columns.Column.Widgets parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Columns.Column.Widgets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Columns.Column.Widgets
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getButtonList()

public ButtonList getButtonList()

ButtonList widget.

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

Returns
TypeDescription
ButtonList

The buttonList.

getButtonListOrBuilder()

public ButtonListOrBuilder getButtonListOrBuilder()

ButtonList widget.

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

Returns
TypeDescription
ButtonListOrBuilder

getDataCase()

public Columns.Column.Widgets.DataCase getDataCase()
Returns
TypeDescription
Columns.Column.Widgets.DataCase

getDateTimePicker()

public DateTimePicker getDateTimePicker()

DateTimePicker widget.

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

Returns
TypeDescription
DateTimePicker

The dateTimePicker.

getDateTimePickerOrBuilder()

public DateTimePickerOrBuilder getDateTimePickerOrBuilder()

DateTimePicker widget.

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

Returns
TypeDescription
DateTimePickerOrBuilder

getDecoratedText()

public DecoratedText getDecoratedText()

DecoratedText widget.

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

Returns
TypeDescription
DecoratedText

The decoratedText.

getDecoratedTextOrBuilder()

public DecoratedTextOrBuilder getDecoratedTextOrBuilder()

DecoratedText widget.

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

Returns
TypeDescription
DecoratedTextOrBuilder

getDefaultInstanceForType()

public Columns.Column.Widgets getDefaultInstanceForType()
Returns
TypeDescription
Columns.Column.Widgets

getImage()

public Image getImage()

Image widget.

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

Returns
TypeDescription
Image

The image.

getImageOrBuilder()

public ImageOrBuilder getImageOrBuilder()

Image widget.

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

Returns
TypeDescription
ImageOrBuilder

getParserForType()

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

getSelectionInput()

public SelectionInput getSelectionInput()

SelectionInput widget.

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

Returns
TypeDescription
SelectionInput

The selectionInput.

getSelectionInputOrBuilder()

public SelectionInputOrBuilder getSelectionInputOrBuilder()

SelectionInput widget.

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

Returns
TypeDescription
SelectionInputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTextInput()

public TextInput getTextInput()

TextInput widget.

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

Returns
TypeDescription
TextInput

The textInput.

getTextInputOrBuilder()

public TextInputOrBuilder getTextInputOrBuilder()

TextInput widget.

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

Returns
TypeDescription
TextInputOrBuilder

getTextParagraph()

public TextParagraph getTextParagraph()

TextParagraph widget.

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

Returns
TypeDescription
TextParagraph

The textParagraph.

getTextParagraphOrBuilder()

public TextParagraphOrBuilder getTextParagraphOrBuilder()

TextParagraph widget.

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

Returns
TypeDescription
TextParagraphOrBuilder

hasButtonList()

public boolean hasButtonList()

ButtonList widget.

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

Returns
TypeDescription
boolean

Whether the buttonList field is set.

hasDateTimePicker()

public boolean hasDateTimePicker()

DateTimePicker widget.

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

Returns
TypeDescription
boolean

Whether the dateTimePicker field is set.

hasDecoratedText()

public boolean hasDecoratedText()

DecoratedText widget.

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

Returns
TypeDescription
boolean

Whether the decoratedText field is set.

hasImage()

public boolean hasImage()

Image widget.

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

Returns
TypeDescription
boolean

Whether the image field is set.

hasSelectionInput()

public boolean hasSelectionInput()

SelectionInput widget.

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

Returns
TypeDescription
boolean

Whether the selectionInput field is set.

hasTextInput()

public boolean hasTextInput()

TextInput widget.

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

Returns
TypeDescription
boolean

Whether the textInput field is set.

hasTextParagraph()

public boolean hasTextParagraph()

TextParagraph widget.

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

Returns
TypeDescription
boolean

Whether the textParagraph field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Columns.Column.Widgets.Builder newBuilderForType()
Returns
TypeDescription
Columns.Column.Widgets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Columns.Column.Widgets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Columns.Column.Widgets.Builder toBuilder()
Returns
TypeDescription
Columns.Column.Widgets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException