public static enum Intent.Message.RbmCarouselCard.CardWidth extends Enum<Intent.Message.RbmCarouselCard.CardWidth> implements ProtocolMessageEnum
The width of the cards in the carousel.Protobuf enum
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth
Enum Constant and Description |
---|
CARD_WIDTH_UNSPECIFIED
Not specified.
|
MEDIUM
232 DP.
|
SMALL
120 DP.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CARD_WIDTH_UNSPECIFIED_VALUE
Not specified.
|
static int |
MEDIUM_VALUE
232 DP.
|
static int |
SMALL_VALUE
120 DP.
|
Modifier and Type | Method and Description |
---|---|
static Intent.Message.RbmCarouselCard.CardWidth |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Intent.Message.RbmCarouselCard.CardWidth> |
internalGetValueMap() |
static Intent.Message.RbmCarouselCard.CardWidth |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Intent.Message.RbmCarouselCard.CardWidth |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.Message.RbmCarouselCard.CardWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Message.RbmCarouselCard.CardWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.Message.RbmCarouselCard.CardWidth CARD_WIDTH_UNSPECIFIED
Not specified.
CARD_WIDTH_UNSPECIFIED = 0;
public static final Intent.Message.RbmCarouselCard.CardWidth SMALL
120 DP. Note that tall media cannot be used.
SMALL = 1;
public static final Intent.Message.RbmCarouselCard.CardWidth MEDIUM
232 DP.
MEDIUM = 2;
public static final Intent.Message.RbmCarouselCard.CardWidth UNRECOGNIZED
public static final int CARD_WIDTH_UNSPECIFIED_VALUE
Not specified.
CARD_WIDTH_UNSPECIFIED = 0;
public static final int SMALL_VALUE
120 DP. Note that tall media cannot be used.
SMALL = 1;
public static final int MEDIUM_VALUE
232 DP.
MEDIUM = 2;
public static Intent.Message.RbmCarouselCard.CardWidth[] values()
for (Intent.Message.RbmCarouselCard.CardWidth c : Intent.Message.RbmCarouselCard.CardWidth.values()) System.out.println(c);
public static Intent.Message.RbmCarouselCard.CardWidth 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.RbmCarouselCard.CardWidth valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.RbmCarouselCard.CardWidth forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.RbmCarouselCard.CardWidth> 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.RbmCarouselCard.CardWidth valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.