Enum Property.ValuesCase
- java.lang.Object
-
- java.lang.Enum<Property.ValuesCase>
-
- com.google.cloud.contentwarehouse.v1.Property.ValuesCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Property.ValuesCase>
- Enclosing class:
- Property
public static enum Property.ValuesCase extends Enum<Property.ValuesCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE_TIME_VALUES
ENUM_VALUES
FLOAT_VALUES
INTEGER_VALUES
MAP_PROPERTY
PROPERTY_VALUES
TEXT_VALUES
TIMESTAMP_VALUES
VALUES_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Property.ValuesCase
forNumber(int value)
int
getNumber()
static Property.ValuesCase
valueOf(int value)
Deprecated.static Property.ValuesCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Property.ValuesCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER_VALUES
public static final Property.ValuesCase INTEGER_VALUES
-
FLOAT_VALUES
public static final Property.ValuesCase FLOAT_VALUES
-
TEXT_VALUES
public static final Property.ValuesCase TEXT_VALUES
-
ENUM_VALUES
public static final Property.ValuesCase ENUM_VALUES
-
PROPERTY_VALUES
public static final Property.ValuesCase PROPERTY_VALUES
-
DATE_TIME_VALUES
public static final Property.ValuesCase DATE_TIME_VALUES
-
MAP_PROPERTY
public static final Property.ValuesCase MAP_PROPERTY
-
TIMESTAMP_VALUES
public static final Property.ValuesCase TIMESTAMP_VALUES
-
VALUES_NOT_SET
public static final Property.ValuesCase VALUES_NOT_SET
-
-
Method Detail
-
values
public static Property.ValuesCase[] 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 (Property.ValuesCase c : Property.ValuesCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Property.ValuesCase 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
-
valueOf
@Deprecated public static Property.ValuesCase 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 Property.ValuesCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-