Interface Columns.ColumnOrBuilder (2.45.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
Type Description
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
Type Description
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.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;

Returns
Type Description
Columns.Column.HorizontalSizeStyle

The horizontalSizeStyle.

getHorizontalSizeStyleValue()

public abstract int getHorizontalSizeStyleValue()

Specifies how a column fills the width of the card.

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

Returns
Type Description
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.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;

Returns
Type Description
Columns.Column.VerticalAlignment

The verticalAlignment.

getVerticalAlignmentValue()

public abstract int getVerticalAlignmentValue()

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

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder>