Enum Widget.HorizontalAlignment (2.48.0)

public enum Widget.HorizontalAlignment extends Enum<Widget.HorizontalAlignment> implements ProtocolMessageEnum

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

Google Chat apps:

Protobuf enum google.apps.card.v1.Widget.HorizontalAlignment

Implements

ProtocolMessageEnum

Static Fields

Name Description
CENTER

Aligns widgets to the center of the column.

CENTER = 2;

CENTER_VALUE

Aligns widgets to the center of the column.

CENTER = 2;

END

Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left.

END = 3;

END_VALUE

Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left.

END = 3;

HORIZONTAL_ALIGNMENT_UNSPECIFIED

Don't use. Unspecified.

HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;

HORIZONTAL_ALIGNMENT_UNSPECIFIED_VALUE

Don't use. Unspecified.

HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;

START

Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.

START = 1;

START_VALUE

Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.

START = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()