Class Columns.Column.Widgets.Builder (2.37.1)

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 Chat apps:

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Columns.Column.Widgets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Columns.Column.Widgets.Builder clear()
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

clearButtonList()

public Columns.Column.Widgets.Builder clearButtonList()

ButtonList widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearData()

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

clearDateTimePicker()

public Columns.Column.Widgets.Builder clearDateTimePicker()

DateTimePicker widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearDecoratedText()

public Columns.Column.Widgets.Builder clearDecoratedText()

DecoratedText widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearField(Descriptors.FieldDescriptor field)

public Columns.Column.Widgets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

clearImage()

public Columns.Column.Widgets.Builder clearImage()

Image widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Columns.Column.Widgets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

clearSelectionInput()

public Columns.Column.Widgets.Builder clearSelectionInput()

SelectionInput widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearTextInput()

public Columns.Column.Widgets.Builder clearTextInput()

TextInput widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clearTextParagraph()

public Columns.Column.Widgets.Builder clearTextParagraph()

TextParagraph widget.

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

Returns
TypeDescription
Columns.Column.Widgets.Builder

clone()

public Columns.Column.Widgets.Builder clone()
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides

getButtonList()

public ButtonList getButtonList()

ButtonList widget.

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

Returns
TypeDescription
ButtonList

The buttonList.

getButtonListBuilder()

public ButtonList.Builder getButtonListBuilder()

ButtonList widget.

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

Returns
TypeDescription
ButtonList.Builder

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.

getDateTimePickerBuilder()

public DateTimePicker.Builder getDateTimePickerBuilder()

DateTimePicker widget.

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

Returns
TypeDescription
DateTimePicker.Builder

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.

getDecoratedTextBuilder()

public DecoratedText.Builder getDecoratedTextBuilder()

DecoratedText widget.

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

Returns
TypeDescription
DecoratedText.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImage()

public Image getImage()

Image widget.

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

Returns
TypeDescription
Image

The image.

getImageBuilder()

public Image.Builder getImageBuilder()

Image widget.

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

Returns
TypeDescription
Image.Builder

getImageOrBuilder()

public ImageOrBuilder getImageOrBuilder()

Image widget.

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

Returns
TypeDescription
ImageOrBuilder

getSelectionInput()

public SelectionInput getSelectionInput()

SelectionInput widget.

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

Returns
TypeDescription
SelectionInput

The selectionInput.

getSelectionInputBuilder()

public SelectionInput.Builder getSelectionInputBuilder()

SelectionInput widget.

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

Returns
TypeDescription
SelectionInput.Builder

getSelectionInputOrBuilder()

public SelectionInputOrBuilder getSelectionInputOrBuilder()

SelectionInput widget.

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

Returns
TypeDescription
SelectionInputOrBuilder

getTextInput()

public TextInput getTextInput()

TextInput widget.

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

Returns
TypeDescription
TextInput

The textInput.

getTextInputBuilder()

public TextInput.Builder getTextInputBuilder()

TextInput widget.

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

Returns
TypeDescription
TextInput.Builder

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.

getTextParagraphBuilder()

public TextParagraph.Builder getTextParagraphBuilder()

TextParagraph widget.

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

Returns
TypeDescription
TextParagraph.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeButtonList(ButtonList value)

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

ButtonList widget.

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

Parameter
NameDescription
valueButtonList
Returns
TypeDescription
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
NameDescription
valueDateTimePicker
Returns
TypeDescription
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
NameDescription
valueDecoratedText
Returns
TypeDescription
Columns.Column.Widgets.Builder

mergeFrom(Columns.Column.Widgets other)

public Columns.Column.Widgets.Builder mergeFrom(Columns.Column.Widgets other)
Parameter
NameDescription
otherColumns.Column.Widgets
Returns
TypeDescription
Columns.Column.Widgets.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Columns.Column.Widgets.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImage
Returns
TypeDescription
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
NameDescription
valueSelectionInput
Returns
TypeDescription
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
NameDescription
valueTextInput
Returns
TypeDescription
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
NameDescription
valueTextParagraph
Returns
TypeDescription
Columns.Column.Widgets.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Columns.Column.Widgets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueButtonList
Returns
TypeDescription
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
NameDescription
builderForValueButtonList.Builder
Returns
TypeDescription
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
NameDescription
valueDateTimePicker
Returns
TypeDescription
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
NameDescription
builderForValueDateTimePicker.Builder
Returns
TypeDescription
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
NameDescription
valueDecoratedText
Returns
TypeDescription
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
NameDescription
builderForValueDecoratedText.Builder
Returns
TypeDescription
Columns.Column.Widgets.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Columns.Column.Widgets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImage
Returns
TypeDescription
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
NameDescription
builderForValueImage.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSelectionInput
Returns
TypeDescription
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
NameDescription
builderForValueSelectionInput.Builder
Returns
TypeDescription
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
NameDescription
valueTextInput
Returns
TypeDescription
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
NameDescription
builderForValueTextInput.Builder
Returns
TypeDescription
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
NameDescription
valueTextParagraph
Returns
TypeDescription
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
NameDescription
builderForValueTextParagraph.Builder
Returns
TypeDescription
Columns.Column.Widgets.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Columns.Column.Widgets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Columns.Column.Widgets.Builder
Overrides