Package com.google.apps.card.v1
Enum Widget.DataCase
- java.lang.Object
-
- java.lang.Enum<Widget.DataCase>
-
- com.google.apps.card.v1.Widget.DataCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<Widget.DataCase>
- Enclosing class:
- Widget
public static enum Widget.DataCase extends java.lang.Enum<Widget.DataCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUTTON_LIST
COLUMNS
DATA_NOT_SET
DATE_TIME_PICKER
DECORATED_TEXT
DIVIDER
GRID
IMAGE
SELECTION_INPUT
TEXT_INPUT
TEXT_PARAGRAPH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Widget.DataCase
forNumber(int value)
int
getNumber()
static Widget.DataCase
valueOf(int value)
Deprecated.static Widget.DataCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Widget.DataCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT_PARAGRAPH
public static final Widget.DataCase TEXT_PARAGRAPH
-
IMAGE
public static final Widget.DataCase IMAGE
-
DECORATED_TEXT
public static final Widget.DataCase DECORATED_TEXT
-
BUTTON_LIST
public static final Widget.DataCase BUTTON_LIST
-
TEXT_INPUT
public static final Widget.DataCase TEXT_INPUT
-
SELECTION_INPUT
public static final Widget.DataCase SELECTION_INPUT
-
DATE_TIME_PICKER
public static final Widget.DataCase DATE_TIME_PICKER
-
DIVIDER
public static final Widget.DataCase DIVIDER
-
GRID
public static final Widget.DataCase GRID
-
COLUMNS
public static final Widget.DataCase COLUMNS
-
DATA_NOT_SET
public static final Widget.DataCase DATA_NOT_SET
-
-
Method Detail
-
values
public static Widget.DataCase[] 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 (Widget.DataCase c : Widget.DataCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Widget.DataCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static Widget.DataCase 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Widget.DataCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-