Interface Columns.ColumnOrBuilder (2.37.1)

public static interface Columns.ColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHorizontalAlignment()

public abstract Widget.HorizontalAlignment getHorizontalAlignment()

Specifies whether widgets align to the left, right, or center of a column.

.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;

Returns
TypeDescription
Widget.HorizontalAlignment

The horizontalAlignment.

getHorizontalAlignmentValue()

public abstract int getHorizontalAlignmentValue()

Specifies whether widgets align to the left, right, or center of a column.

.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for horizontalAlignment.

getHorizontalSizeStyle()

public abstract Columns.Column.HorizontalSizeStyle getHorizontalSizeStyle()

Specifies how a column fills the width of the card.

Google Chat apps:

.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;

Returns
TypeDescription
Columns.Column.HorizontalSizeStyle

The horizontalSizeStyle.

getHorizontalSizeStyleValue()

public abstract int getHorizontalSizeStyleValue()

Specifies how a column fills the width of the card.

Google Chat apps:

.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for horizontalSizeStyle.

getVerticalAlignment()

public abstract Columns.Column.VerticalAlignment getVerticalAlignment()

Specifies whether widgets align to the top, bottom, or center of a column.

Google Chat apps:

.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;

Returns
TypeDescription
Columns.Column.VerticalAlignment

The verticalAlignment.

getVerticalAlignmentValue()

public abstract int getVerticalAlignmentValue()

Specifies whether widgets align to the top, bottom, or center of a column.

Google Chat apps:

.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for verticalAlignment.

getWidgets(int index)

public abstract Columns.Column.Widgets getWidgets(int index)

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Columns.Column.Widgets

getWidgetsCount()

public abstract int getWidgetsCount()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
TypeDescription
int

getWidgetsList()

public abstract List<Columns.Column.Widgets> getWidgetsList()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
TypeDescription
List<Widgets>

getWidgetsOrBuilder(int index)

public abstract Columns.Column.WidgetsOrBuilder getWidgetsOrBuilder(int index)

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Columns.Column.WidgetsOrBuilder

getWidgetsOrBuilderList()

public abstract List<? extends Columns.Column.WidgetsOrBuilder> getWidgetsOrBuilderList()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
TypeDescription
List<? extends com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder>