Enum Intent.Message.RbmCardContent.RbmMedia.Height
- java.lang.Object
-
- java.lang.Enum<Intent.Message.RbmCardContent.RbmMedia.Height>
-
- com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Intent.Message.RbmCardContent.RbmMedia.Height>
- Enclosing class:
- Intent.Message.RbmCardContent.RbmMedia
public static enum Intent.Message.RbmCardContent.RbmMedia.Height extends Enum<Intent.Message.RbmCardContent.RbmMedia.Height> implements com.google.protobuf.ProtocolMessageEnum
Media height
Protobuf enumgoogle.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEIGHT_UNSPECIFIED
Not specified.MEDIUM
168 DP.SHORT
112 DP.TALL
264 DP.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Intent.Message.RbmCardContent.RbmMedia.Height
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Intent.Message.RbmCardContent.RbmMedia.Height>
internalGetValueMap()
static Intent.Message.RbmCardContent.RbmMedia.Height
valueOf(int value)
Deprecated.static Intent.Message.RbmCardContent.RbmMedia.Height
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
HEIGHT_UNSPECIFIED
public static final Intent.Message.RbmCardContent.RbmMedia.Height HEIGHT_UNSPECIFIED
Not specified.
HEIGHT_UNSPECIFIED = 0;
-
SHORT
public static final Intent.Message.RbmCardContent.RbmMedia.Height SHORT
112 DP.
SHORT = 1;
-
MEDIUM
public static final Intent.Message.RbmCardContent.RbmMedia.Height MEDIUM
168 DP.
MEDIUM = 2;
-
TALL
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;
-
UNRECOGNIZED
public static final Intent.Message.RbmCardContent.RbmMedia.Height UNRECOGNIZED
-
-
Field Detail
-
HEIGHT_UNSPECIFIED_VALUE
public static final int HEIGHT_UNSPECIFIED_VALUE
Not specified.
HEIGHT_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SHORT_VALUE
public static final int SHORT_VALUE
112 DP.
SHORT = 1;
- See Also:
- Constant Field Values
-
MEDIUM_VALUE
public static final int MEDIUM_VALUE
168 DP.
MEDIUM = 2;
- See Also:
- Constant Field Values
-
TALL_VALUE
public static final int TALL_VALUE
264 DP. Not available for rich card carousels when the card width is set to small.
TALL = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Intent.Message.RbmCardContent.RbmMedia.Height[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Intent.Message.RbmCardContent.RbmMedia.Height c : Intent.Message.RbmCardContent.RbmMedia.Height.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Intent.Message.RbmCardContent.RbmMedia.Height valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Intent.Message.RbmCardContent.RbmMedia.Height valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Intent.Message.RbmCardContent.RbmMedia.Height forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Intent.Message.RbmCardContent.RbmMedia.Height> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Intent.Message.RbmCardContent.RbmMedia.Height valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-