Enum Text.TextStyle.HorizontalAlignment (2.46.0)

public enum Text.TextStyle.HorizontalAlignment extends Enum<Text.TextStyle.HorizontalAlignment> implements ProtocolMessageEnum

The horizontal alignment of both the title and content on a text widget

Protobuf enum google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment

Implements

ProtocolMessageEnum

Static Fields

Name Description
HORIZONTAL_ALIGNMENT_UNSPECIFIED

No horizontal alignment specified, will default to H_LEFT

HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;

HORIZONTAL_ALIGNMENT_UNSPECIFIED_VALUE

No horizontal alignment specified, will default to H_LEFT

HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;

H_CENTER

Center-align

H_CENTER = 2;

H_CENTER_VALUE

Center-align

H_CENTER = 2;

H_LEFT

Left-align

H_LEFT = 1;

H_LEFT_VALUE

Left-align

H_LEFT = 1;

H_RIGHT

Right-align

H_RIGHT = 3;

H_RIGHT_VALUE

Right-align

H_RIGHT = 3;

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()