Package biscuit.format.schema
Enum Schema.TermV2.ContentCase
- java.lang.Object
-
- java.lang.Enum<Schema.TermV2.ContentCase>
-
- biscuit.format.schema.Schema.TermV2.ContentCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Schema.TermV2.ContentCase>
- Enclosing class:
- Schema.TermV2
public static enum Schema.TermV2.ContentCase extends Enum<Schema.TermV2.ContentCase> implements com.google.protobuf.Internal.EnumLite
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Schema.TermV2.ContentCaseforNumber(int value)intgetNumber()static Schema.TermV2.ContentCasevalueOf(int value)Deprecated.static Schema.TermV2.ContentCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Schema.TermV2.ContentCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARIABLE
public static final Schema.TermV2.ContentCase VARIABLE
-
INTEGER
public static final Schema.TermV2.ContentCase INTEGER
-
STRING
public static final Schema.TermV2.ContentCase STRING
-
DATE
public static final Schema.TermV2.ContentCase DATE
-
BYTES
public static final Schema.TermV2.ContentCase BYTES
-
BOOL
public static final Schema.TermV2.ContentCase BOOL
-
SET
public static final Schema.TermV2.ContentCase SET
-
CONTENT_NOT_SET
public static final Schema.TermV2.ContentCase CONTENT_NOT_SET
-
-
Method Detail
-
values
public static Schema.TermV2.ContentCase[] 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 (Schema.TermV2.ContentCase c : Schema.TermV2.ContentCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Schema.TermV2.ContentCase 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 Schema.TermV2.ContentCase 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 Schema.TermV2.ContentCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-