Class Columns.Column.Widgets.Builder (2.38.0)

public static final class Columns.Column.Widgets.Builder extends GeneratedMessageV3.Builder<Columns.Column.Widgets.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Columns.Column.Widgets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Columns.Column.Widgets.Builder clear()
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

clearButtonList()

public Columns.Column.Widgets.Builder clearButtonList()

ButtonList widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearData()

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

clearDateTimePicker()

public Columns.Column.Widgets.Builder clearDateTimePicker()

DateTimePicker widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearDecoratedText()

public Columns.Column.Widgets.Builder clearDecoratedText()

DecoratedText widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearField(Descriptors.FieldDescriptor field)

public Columns.Column.Widgets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

clearImage()

public Columns.Column.Widgets.Builder clearImage()

Image widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Columns.Column.Widgets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

clearSelectionInput()

public Columns.Column.Widgets.Builder clearSelectionInput()

SelectionInput widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearTextInput()

public Columns.Column.Widgets.Builder clearTextInput()

TextInput widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clearTextParagraph()

public Columns.Column.Widgets.Builder clearTextParagraph()

TextParagraph widget.

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

Returns
Type Description
Columns.Column.Widgets.Builder

clone()

public Columns.Column.Widgets.Builder clone()
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

getButtonList()

public ButtonList getButtonList()

ButtonList widget.

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

Returns
Type Description
ButtonList

The buttonList.

getButtonListBuilder()

public ButtonList.Builder getButtonListBuilder()

ButtonList widget.

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

Returns
Type Description
ButtonList.Builder

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.

getDateTimePickerBuilder()

public DateTimePicker.Builder getDateTimePickerBuilder()

DateTimePicker widget.

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

Returns
Type Description
DateTimePicker.Builder

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.

getDecoratedTextBuilder()

public DecoratedText.Builder getDecoratedTextBuilder()

DecoratedText widget.

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

Returns
Type Description
DecoratedText.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImage()

public Image getImage()

Image widget.

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

Returns
Type Description
Image

The image.

getImageBuilder()

public Image.Builder getImageBuilder()

Image widget.

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

Returns
Type Description
Image.Builder

getImageOrBuilder()

public ImageOrBuilder getImageOrBuilder()

Image widget.

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

Returns
Type Description
ImageOrBuilder

getSelectionInput()

public SelectionInput getSelectionInput()

SelectionInput widget.

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

Returns
Type Description
SelectionInput

The selectionInput.

getSelectionInputBuilder()

public SelectionInput.Builder getSelectionInputBuilder()

SelectionInput widget.

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

Returns
Type Description
SelectionInput.Builder

getSelectionInputOrBuilder()

public SelectionInputOrBuilder getSelectionInputOrBuilder()

SelectionInput widget.

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

Returns
Type Description
SelectionInputOrBuilder

getTextInput()

public TextInput getTextInput()

TextInput widget.

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

Returns
Type Description
TextInput

The textInput.

getTextInputBuilder()

public TextInput.Builder getTextInputBuilder()

TextInput widget.

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

Returns
Type Description
TextInput.Builder

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.

getTextParagraphBuilder()

public TextParagraph.Builder getTextParagraphBuilder()

TextParagraph widget.

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

Returns
Type Description
TextParagraph.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeButtonList(ButtonList value)

public Columns.Column.Widgets.Builder mergeButtonList(ButtonList value)

ButtonList widget.

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

Parameter
Name Description
value ButtonList
Returns
Type Description
Columns.Column.Widgets.Builder

mergeDateTimePicker(DateTimePicker value)

public Columns.Column.Widgets.Builder mergeDateTimePicker(DateTimePicker value)

DateTimePicker widget.

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

Parameter
Name Description
value DateTimePicker
Returns
Type Description
Columns.Column.Widgets.Builder

mergeDecoratedText(DecoratedText value)

public Columns.Column.Widgets.Builder mergeDecoratedText(DecoratedText value)

DecoratedText widget.

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

Parameter
Name Description
value DecoratedText
Returns
Type Description
Columns.Column.Widgets.Builder

mergeFrom(Columns.Column.Widgets other)

public Columns.Column.Widgets.Builder mergeFrom(Columns.Column.Widgets other)
Parameter
Name Description
other Columns.Column.Widgets
Returns
Type Description
Columns.Column.Widgets.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Columns.Column.Widgets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Columns.Column.Widgets.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

mergeImage(Image value)

public Columns.Column.Widgets.Builder mergeImage(Image value)

Image widget.

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

Parameter
Name Description
value Image
Returns
Type Description
Columns.Column.Widgets.Builder

mergeSelectionInput(SelectionInput value)

public Columns.Column.Widgets.Builder mergeSelectionInput(SelectionInput value)

SelectionInput widget.

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

Parameter
Name Description
value SelectionInput
Returns
Type Description
Columns.Column.Widgets.Builder

mergeTextInput(TextInput value)

public Columns.Column.Widgets.Builder mergeTextInput(TextInput value)

TextInput widget.

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

Parameter
Name Description
value TextInput
Returns
Type Description
Columns.Column.Widgets.Builder

mergeTextParagraph(TextParagraph value)

public Columns.Column.Widgets.Builder mergeTextParagraph(TextParagraph value)

TextParagraph widget.

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

Parameter
Name Description
value TextParagraph
Returns
Type Description
Columns.Column.Widgets.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Columns.Column.Widgets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

setButtonList(ButtonList value)

public Columns.Column.Widgets.Builder setButtonList(ButtonList value)

ButtonList widget.

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

Parameter
Name Description
value ButtonList
Returns
Type Description
Columns.Column.Widgets.Builder

setButtonList(ButtonList.Builder builderForValue)

public Columns.Column.Widgets.Builder setButtonList(ButtonList.Builder builderForValue)

ButtonList widget.

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

Parameter
Name Description
builderForValue ButtonList.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setDateTimePicker(DateTimePicker value)

public Columns.Column.Widgets.Builder setDateTimePicker(DateTimePicker value)

DateTimePicker widget.

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

Parameter
Name Description
value DateTimePicker
Returns
Type Description
Columns.Column.Widgets.Builder

setDateTimePicker(DateTimePicker.Builder builderForValue)

public Columns.Column.Widgets.Builder setDateTimePicker(DateTimePicker.Builder builderForValue)

DateTimePicker widget.

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

Parameter
Name Description
builderForValue DateTimePicker.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setDecoratedText(DecoratedText value)

public Columns.Column.Widgets.Builder setDecoratedText(DecoratedText value)

DecoratedText widget.

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

Parameter
Name Description
value DecoratedText
Returns
Type Description
Columns.Column.Widgets.Builder

setDecoratedText(DecoratedText.Builder builderForValue)

public Columns.Column.Widgets.Builder setDecoratedText(DecoratedText.Builder builderForValue)

DecoratedText widget.

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

Parameter
Name Description
builderForValue DecoratedText.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Columns.Column.Widgets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

setImage(Image value)

public Columns.Column.Widgets.Builder setImage(Image value)

Image widget.

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

Parameter
Name Description
value Image
Returns
Type Description
Columns.Column.Widgets.Builder

setImage(Image.Builder builderForValue)

public Columns.Column.Widgets.Builder setImage(Image.Builder builderForValue)

Image widget.

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

Parameter
Name Description
builderForValue Image.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Columns.Column.Widgets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides

setSelectionInput(SelectionInput value)

public Columns.Column.Widgets.Builder setSelectionInput(SelectionInput value)

SelectionInput widget.

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

Parameter
Name Description
value SelectionInput
Returns
Type Description
Columns.Column.Widgets.Builder

setSelectionInput(SelectionInput.Builder builderForValue)

public Columns.Column.Widgets.Builder setSelectionInput(SelectionInput.Builder builderForValue)

SelectionInput widget.

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

Parameter
Name Description
builderForValue SelectionInput.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setTextInput(TextInput value)

public Columns.Column.Widgets.Builder setTextInput(TextInput value)

TextInput widget.

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

Parameter
Name Description
value TextInput
Returns
Type Description
Columns.Column.Widgets.Builder

setTextInput(TextInput.Builder builderForValue)

public Columns.Column.Widgets.Builder setTextInput(TextInput.Builder builderForValue)

TextInput widget.

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

Parameter
Name Description
builderForValue TextInput.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setTextParagraph(TextParagraph value)

public Columns.Column.Widgets.Builder setTextParagraph(TextParagraph value)

TextParagraph widget.

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

Parameter
Name Description
value TextParagraph
Returns
Type Description
Columns.Column.Widgets.Builder

setTextParagraph(TextParagraph.Builder builderForValue)

public Columns.Column.Widgets.Builder setTextParagraph(TextParagraph.Builder builderForValue)

TextParagraph widget.

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

Parameter
Name Description
builderForValue TextParagraph.Builder
Returns
Type Description
Columns.Column.Widgets.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Columns.Column.Widgets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Columns.Column.Widgets.Builder
Overrides