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_UNSPECIFIEDNot specified.MEDIUM168 DP.SHORT112 DP.TALL264 DP.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intHEIGHT_UNSPECIFIED_VALUENot specified.static intMEDIUM_VALUE168 DP.static intSHORT_VALUE112 DP.static intTALL_VALUE264 DP.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Intent.Message.RbmCardContent.RbmMedia.HeightforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Intent.Message.RbmCardContent.RbmMedia.Height>internalGetValueMap()static Intent.Message.RbmCardContent.RbmMedia.HeightvalueOf(int value)Deprecated.static Intent.Message.RbmCardContent.RbmMedia.HeightvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Intent.Message.RbmCardContent.RbmMedia.HeightvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-