public static enum Intent.Message.ColumnProperties.HorizontalAlignment extends Enum<Intent.Message.ColumnProperties.HorizontalAlignment> implements ProtocolMessageEnum
Text alignments within a cell.Protobuf enum
google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignment
Enum Constant and Description |
---|
CENTER
Text is centered in the column.
|
HORIZONTAL_ALIGNMENT_UNSPECIFIED
Text is aligned to the leading edge of the column.
|
LEADING
Text is aligned to the leading edge of the column.
|
TRAILING
Text is aligned to the trailing edge of the column.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CENTER_VALUE
Text is centered in the column.
|
static int |
HORIZONTAL_ALIGNMENT_UNSPECIFIED_VALUE
Text is aligned to the leading edge of the column.
|
static int |
LEADING_VALUE
Text is aligned to the leading edge of the column.
|
static int |
TRAILING_VALUE
Text is aligned to the trailing edge of the column.
|
public static final Intent.Message.ColumnProperties.HorizontalAlignment HORIZONTAL_ALIGNMENT_UNSPECIFIED
Text is aligned to the leading edge of the column.
HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;
public static final Intent.Message.ColumnProperties.HorizontalAlignment LEADING
Text is aligned to the leading edge of the column.
LEADING = 1;
public static final Intent.Message.ColumnProperties.HorizontalAlignment CENTER
Text is centered in the column.
CENTER = 2;
public static final Intent.Message.ColumnProperties.HorizontalAlignment TRAILING
Text is aligned to the trailing edge of the column.
TRAILING = 3;
public static final Intent.Message.ColumnProperties.HorizontalAlignment UNRECOGNIZED
public static final int HORIZONTAL_ALIGNMENT_UNSPECIFIED_VALUE
Text is aligned to the leading edge of the column.
HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;
public static final int LEADING_VALUE
Text is aligned to the leading edge of the column.
LEADING = 1;
public static final int CENTER_VALUE
Text is centered in the column.
CENTER = 2;
public static final int TRAILING_VALUE
Text is aligned to the trailing edge of the column.
TRAILING = 3;
public static Intent.Message.ColumnProperties.HorizontalAlignment[] values()
for (Intent.Message.ColumnProperties.HorizontalAlignment c : Intent.Message.ColumnProperties.HorizontalAlignment.values()) System.out.println(c);
public static Intent.Message.ColumnProperties.HorizontalAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Intent.Message.ColumnProperties.HorizontalAlignment valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.ColumnProperties.HorizontalAlignment forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.ColumnProperties.HorizontalAlignment> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Intent.Message.ColumnProperties.HorizontalAlignment valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.