public static enum Intent.Message.RbmStandaloneCard.CardOrientation extends Enum<Intent.Message.RbmStandaloneCard.CardOrientation> implements ProtocolMessageEnum
Orientation of the card.Protobuf enum
google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation
Enum Constant and Description |
---|
CARD_ORIENTATION_UNSPECIFIED
Not specified.
|
HORIZONTAL
Horizontal layout.
|
UNRECOGNIZED |
VERTICAL
Vertical layout.
|
Modifier and Type | Field and Description |
---|---|
static int |
CARD_ORIENTATION_UNSPECIFIED_VALUE
Not specified.
|
static int |
HORIZONTAL_VALUE
Horizontal layout.
|
static int |
VERTICAL_VALUE
Vertical layout.
|
Modifier and Type | Method and Description |
---|---|
static Intent.Message.RbmStandaloneCard.CardOrientation |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Intent.Message.RbmStandaloneCard.CardOrientation> |
internalGetValueMap() |
static Intent.Message.RbmStandaloneCard.CardOrientation |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Intent.Message.RbmStandaloneCard.CardOrientation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.Message.RbmStandaloneCard.CardOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Message.RbmStandaloneCard.CardOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.Message.RbmStandaloneCard.CardOrientation CARD_ORIENTATION_UNSPECIFIED
Not specified.
CARD_ORIENTATION_UNSPECIFIED = 0;
public static final Intent.Message.RbmStandaloneCard.CardOrientation HORIZONTAL
Horizontal layout.
HORIZONTAL = 1;
public static final Intent.Message.RbmStandaloneCard.CardOrientation VERTICAL
Vertical layout.
VERTICAL = 2;
public static final Intent.Message.RbmStandaloneCard.CardOrientation UNRECOGNIZED
public static final int CARD_ORIENTATION_UNSPECIFIED_VALUE
Not specified.
CARD_ORIENTATION_UNSPECIFIED = 0;
public static final int HORIZONTAL_VALUE
Horizontal layout.
HORIZONTAL = 1;
public static final int VERTICAL_VALUE
Vertical layout.
VERTICAL = 2;
public static Intent.Message.RbmStandaloneCard.CardOrientation[] values()
for (Intent.Message.RbmStandaloneCard.CardOrientation c : Intent.Message.RbmStandaloneCard.CardOrientation.values()) System.out.println(c);
public static Intent.Message.RbmStandaloneCard.CardOrientation 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.RbmStandaloneCard.CardOrientation valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.RbmStandaloneCard.CardOrientation forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.RbmStandaloneCard.CardOrientation> 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.RbmStandaloneCard.CardOrientation valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.