Package biscuit.format.schema
Enum Schema.OpBinary.Kind
- java.lang.Object
-
- java.lang.Enum<Schema.OpBinary.Kind>
-
- biscuit.format.schema.Schema.OpBinary.Kind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Schema.OpBinary.Kind>
- Enclosing class:
- Schema.OpBinary
public static enum Schema.OpBinary.Kind extends Enum<Schema.OpBinary.Kind> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumbiscuit.format.schema.OpBinary.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddAdd = 9;AndAnd = 13;ContainsContains = 5;DivDiv = 12;EqualEqual = 4;GreaterOrEqualGreaterOrEqual = 3;GreaterThanGreaterThan = 1;IntersectionIntersection = 15;LessOrEqualLessOrEqual = 2;LessThanLessThan = 0;MulMul = 11;OrOr = 14;PrefixPrefix = 6;RegexRegex = 8;SubSub = 10;SuffixSuffix = 7;UnionUnion = 16;
-
Field Summary
Fields Modifier and Type Field Description static intAdd_VALUEAdd = 9;static intAnd_VALUEAnd = 13;static intContains_VALUEContains = 5;static intDiv_VALUEDiv = 12;static intEqual_VALUEEqual = 4;static intGreaterOrEqual_VALUEGreaterOrEqual = 3;static intGreaterThan_VALUEGreaterThan = 1;static intIntersection_VALUEIntersection = 15;static intLessOrEqual_VALUELessOrEqual = 2;static intLessThan_VALUELessThan = 0;static intMul_VALUEMul = 11;static intOr_VALUEOr = 14;static intPrefix_VALUEPrefix = 6;static intRegex_VALUERegex = 8;static intSub_VALUESub = 10;static intSuffix_VALUESuffix = 7;static intUnion_VALUEUnion = 16;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Schema.OpBinary.KindforNumber(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<Schema.OpBinary.Kind>internalGetValueMap()static Schema.OpBinary.KindvalueOf(int value)Deprecated.static Schema.OpBinary.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Schema.OpBinary.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Schema.OpBinary.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan
public static final Schema.OpBinary.Kind LessThan
LessThan = 0;
-
GreaterThan
public static final Schema.OpBinary.Kind GreaterThan
GreaterThan = 1;
-
LessOrEqual
public static final Schema.OpBinary.Kind LessOrEqual
LessOrEqual = 2;
-
GreaterOrEqual
public static final Schema.OpBinary.Kind GreaterOrEqual
GreaterOrEqual = 3;
-
Equal
public static final Schema.OpBinary.Kind Equal
Equal = 4;
-
Contains
public static final Schema.OpBinary.Kind Contains
Contains = 5;
-
Prefix
public static final Schema.OpBinary.Kind Prefix
Prefix = 6;
-
Suffix
public static final Schema.OpBinary.Kind Suffix
Suffix = 7;
-
Regex
public static final Schema.OpBinary.Kind Regex
Regex = 8;
-
Add
public static final Schema.OpBinary.Kind Add
Add = 9;
-
Sub
public static final Schema.OpBinary.Kind Sub
Sub = 10;
-
Mul
public static final Schema.OpBinary.Kind Mul
Mul = 11;
-
Div
public static final Schema.OpBinary.Kind Div
Div = 12;
-
And
public static final Schema.OpBinary.Kind And
And = 13;
-
Or
public static final Schema.OpBinary.Kind Or
Or = 14;
-
Intersection
public static final Schema.OpBinary.Kind Intersection
Intersection = 15;
-
Union
public static final Schema.OpBinary.Kind Union
Union = 16;
-
-
Field Detail
-
LessThan_VALUE
public static final int LessThan_VALUE
LessThan = 0;- See Also:
- Constant Field Values
-
GreaterThan_VALUE
public static final int GreaterThan_VALUE
GreaterThan = 1;- See Also:
- Constant Field Values
-
LessOrEqual_VALUE
public static final int LessOrEqual_VALUE
LessOrEqual = 2;- See Also:
- Constant Field Values
-
GreaterOrEqual_VALUE
public static final int GreaterOrEqual_VALUE
GreaterOrEqual = 3;- See Also:
- Constant Field Values
-
Equal_VALUE
public static final int Equal_VALUE
Equal = 4;- See Also:
- Constant Field Values
-
Contains_VALUE
public static final int Contains_VALUE
Contains = 5;- See Also:
- Constant Field Values
-
Prefix_VALUE
public static final int Prefix_VALUE
Prefix = 6;- See Also:
- Constant Field Values
-
Suffix_VALUE
public static final int Suffix_VALUE
Suffix = 7;- See Also:
- Constant Field Values
-
Regex_VALUE
public static final int Regex_VALUE
Regex = 8;- See Also:
- Constant Field Values
-
Add_VALUE
public static final int Add_VALUE
Add = 9;- See Also:
- Constant Field Values
-
Sub_VALUE
public static final int Sub_VALUE
Sub = 10;- See Also:
- Constant Field Values
-
Mul_VALUE
public static final int Mul_VALUE
Mul = 11;- See Also:
- Constant Field Values
-
Div_VALUE
public static final int Div_VALUE
Div = 12;- See Also:
- Constant Field Values
-
And_VALUE
public static final int And_VALUE
And = 13;- See Also:
- Constant Field Values
-
Or_VALUE
public static final int Or_VALUE
Or = 14;- See Also:
- Constant Field Values
-
Intersection_VALUE
public static final int Intersection_VALUE
Intersection = 15;- See Also:
- Constant Field Values
-
Union_VALUE
public static final int Union_VALUE
Union = 16;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Schema.OpBinary.Kind[] 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.OpBinary.Kind c : Schema.OpBinary.Kind.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.OpBinary.Kind 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 Schema.OpBinary.Kind 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.OpBinary.Kind 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<Schema.OpBinary.Kind> 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 Schema.OpBinary.Kind 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
-
-