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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BUTTON_LIST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
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 | |
public static final int IMAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
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
public static Columns.Column.Widgets getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Columns.Column.Widgets.Builder newBuilder()
public static Columns.Column.Widgets.Builder newBuilder(Columns.Column.Widgets prototype)
public static Columns.Column.Widgets parseDelimitedFrom(InputStream input)
public static Columns.Column.Widgets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Columns.Column.Widgets parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Columns.Column.Widgets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Columns.Column.Widgets parseFrom(ByteString data)
public static Columns.Column.Widgets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Columns.Column.Widgets parseFrom(CodedInputStream input)
public static Columns.Column.Widgets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Columns.Column.Widgets parseFrom(InputStream input)
public static Columns.Column.Widgets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Columns.Column.Widgets parseFrom(ByteBuffer data)
public static Columns.Column.Widgets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Columns.Column.Widgets> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ButtonList getButtonList()
ButtonList widget.
.google.apps.card.v1.ButtonList button_list = 4;
public ButtonListOrBuilder getButtonListOrBuilder()
ButtonList widget.
.google.apps.card.v1.ButtonList button_list = 4;
public Columns.Column.Widgets.DataCase getDataCase()
public DateTimePicker getDateTimePicker()
DateTimePicker widget.
.google.apps.card.v1.DateTimePicker date_time_picker = 7;
public DateTimePickerOrBuilder getDateTimePickerOrBuilder()
DateTimePicker widget.
.google.apps.card.v1.DateTimePicker date_time_picker = 7;
getDecoratedText()
public DecoratedText getDecoratedText()
DecoratedText widget.
.google.apps.card.v1.DecoratedText decorated_text = 3;
getDecoratedTextOrBuilder()
public DecoratedTextOrBuilder getDecoratedTextOrBuilder()
DecoratedText widget.
.google.apps.card.v1.DecoratedText decorated_text = 3;
public Columns.Column.Widgets getDefaultInstanceForType()
Image widget.
.google.apps.card.v1.Image image = 2;
Returns |
---|
Type | Description |
Image | The image.
|
public ImageOrBuilder getImageOrBuilder()
Image widget.
.google.apps.card.v1.Image image = 2;
public Parser<Columns.Column.Widgets> getParserForType()
Overrides
public SelectionInput getSelectionInput()
SelectionInput widget.
.google.apps.card.v1.SelectionInput selection_input = 6;
public SelectionInputOrBuilder getSelectionInputOrBuilder()
SelectionInput widget.
.google.apps.card.v1.SelectionInput selection_input = 6;
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;
getTextParagraph()
public TextParagraph getTextParagraph()
TextParagraph widget.
.google.apps.card.v1.TextParagraph text_paragraph = 1;
getTextParagraphOrBuilder()
public TextParagraphOrBuilder getTextParagraphOrBuilder()
TextParagraph widget.
.google.apps.card.v1.TextParagraph text_paragraph = 1;
public boolean hasButtonList()
ButtonList widget.
.google.apps.card.v1.ButtonList button_list = 4;
Returns |
---|
Type | Description |
boolean | Whether the buttonList field is set.
|
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.
|
public boolean hasImage()
Image widget.
.google.apps.card.v1.Image image = 2;
Returns |
---|
Type | Description |
boolean | Whether the image field is set.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Columns.Column.Widgets.Builder newBuilderForType()
protected Columns.Column.Widgets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Columns.Column.Widgets.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides