Enum NewEnrichmentItem.EnrichmentCase
- java.lang.Object
-
- java.lang.Enum<NewEnrichmentItem.EnrichmentCase>
-
- com.google.photos.library.v1.proto.NewEnrichmentItem.EnrichmentCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<NewEnrichmentItem.EnrichmentCase>
- Enclosing class:
- NewEnrichmentItem
public static enum NewEnrichmentItem.EnrichmentCase extends java.lang.Enum<NewEnrichmentItem.EnrichmentCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENRICHMENT_NOT_SET
LOCATION_ENRICHMENT
MAP_ENRICHMENT
TEXT_ENRICHMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NewEnrichmentItem.EnrichmentCase
forNumber(int value)
int
getNumber()
static NewEnrichmentItem.EnrichmentCase
valueOf(int value)
Deprecated.static NewEnrichmentItem.EnrichmentCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NewEnrichmentItem.EnrichmentCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT_ENRICHMENT
public static final NewEnrichmentItem.EnrichmentCase TEXT_ENRICHMENT
-
LOCATION_ENRICHMENT
public static final NewEnrichmentItem.EnrichmentCase LOCATION_ENRICHMENT
-
MAP_ENRICHMENT
public static final NewEnrichmentItem.EnrichmentCase MAP_ENRICHMENT
-
ENRICHMENT_NOT_SET
public static final NewEnrichmentItem.EnrichmentCase ENRICHMENT_NOT_SET
-
-
Method Detail
-
values
public static NewEnrichmentItem.EnrichmentCase[] 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 (NewEnrichmentItem.EnrichmentCase c : NewEnrichmentItem.EnrichmentCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NewEnrichmentItem.EnrichmentCase 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 NewEnrichmentItem.EnrichmentCase 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 NewEnrichmentItem.EnrichmentCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-