public static enum Intent.Message.RbmCardContent.RbmMedia.Height extends Enum<Intent.Message.RbmCardContent.RbmMedia.Height> implements ProtocolMessageEnum
Media heightProtobuf enum
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height
Enum Constant and Description |
---|
HEIGHT_UNSPECIFIED
Not specified.
|
MEDIUM
168 DP.
|
SHORT
112 DP.
|
TALL
264 DP.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
HEIGHT_UNSPECIFIED_VALUE
Not specified.
|
static int |
MEDIUM_VALUE
168 DP.
|
static int |
SHORT_VALUE
112 DP.
|
static int |
TALL_VALUE
264 DP.
|
Modifier and Type | Method and Description |
---|---|
static Intent.Message.RbmCardContent.RbmMedia.Height |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Intent.Message.RbmCardContent.RbmMedia.Height> |
internalGetValueMap() |
static Intent.Message.RbmCardContent.RbmMedia.Height |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Intent.Message.RbmCardContent.RbmMedia.Height |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.Message.RbmCardContent.RbmMedia.Height |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Message.RbmCardContent.RbmMedia.Height[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.Message.RbmCardContent.RbmMedia.Height HEIGHT_UNSPECIFIED
Not specified.
HEIGHT_UNSPECIFIED = 0;
public static final Intent.Message.RbmCardContent.RbmMedia.Height SHORT
112 DP.
SHORT = 1;
public static final Intent.Message.RbmCardContent.RbmMedia.Height MEDIUM
168 DP.
MEDIUM = 2;
public static final Intent.Message.RbmCardContent.RbmMedia.Height TALL
264 DP. Not available for rich card carousels when the card width is set to small.
TALL = 3;
public static final Intent.Message.RbmCardContent.RbmMedia.Height UNRECOGNIZED
public static final int HEIGHT_UNSPECIFIED_VALUE
Not specified.
HEIGHT_UNSPECIFIED = 0;
public static final int SHORT_VALUE
112 DP.
SHORT = 1;
public static final int MEDIUM_VALUE
168 DP.
MEDIUM = 2;
public static final int TALL_VALUE
264 DP. Not available for rich card carousels when the card width is set to small.
TALL = 3;
public static Intent.Message.RbmCardContent.RbmMedia.Height[] values()
for (Intent.Message.RbmCardContent.RbmMedia.Height c : Intent.Message.RbmCardContent.RbmMedia.Height.values()) System.out.println(c);
public static Intent.Message.RbmCardContent.RbmMedia.Height 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.RbmCardContent.RbmMedia.Height valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.RbmCardContent.RbmMedia.Height forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.RbmCardContent.RbmMedia.Height> 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.RbmCardContent.RbmMedia.Height valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.