Package dev.cerbos.api.v1.engine
Enum Engine.Trace.Component.Kind
- java.lang.Object
-
- java.lang.Enum<Engine.Trace.Component.Kind>
-
- dev.cerbos.api.v1.engine.Engine.Trace.Component.Kind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Engine.Trace.Component.Kind>
- Enclosing class:
- Engine.Trace.Component
public static enum Engine.Trace.Component.Kind extends java.lang.Enum<Engine.Trace.Component.Kind> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcerbos.engine.v1.Trace.Component.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KIND_ACTIONKIND_ACTION = 1;KIND_CONDITIONKIND_CONDITION = 5;KIND_CONDITION_ALLKIND_CONDITION_ALL = 2;KIND_CONDITION_ANYKIND_CONDITION_ANY = 3;KIND_CONDITION_NONEKIND_CONDITION_NONE = 4;KIND_DERIVED_ROLEKIND_DERIVED_ROLE = 6;KIND_EXPRKIND_EXPR = 7;KIND_OUTPUTKIND_OUTPUT = 14;KIND_POLICYKIND_POLICY = 8;KIND_RESOURCEKIND_RESOURCE = 9;KIND_RULEKIND_RULE = 10;KIND_SCOPEKIND_SCOPE = 11;KIND_UNSPECIFIEDKIND_UNSPECIFIED = 0;KIND_VARIABLEKIND_VARIABLE = 12;KIND_VARIABLESKIND_VARIABLES = 13;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intKIND_ACTION_VALUEKIND_ACTION = 1;static intKIND_CONDITION_ALL_VALUEKIND_CONDITION_ALL = 2;static intKIND_CONDITION_ANY_VALUEKIND_CONDITION_ANY = 3;static intKIND_CONDITION_NONE_VALUEKIND_CONDITION_NONE = 4;static intKIND_CONDITION_VALUEKIND_CONDITION = 5;static intKIND_DERIVED_ROLE_VALUEKIND_DERIVED_ROLE = 6;static intKIND_EXPR_VALUEKIND_EXPR = 7;static intKIND_OUTPUT_VALUEKIND_OUTPUT = 14;static intKIND_POLICY_VALUEKIND_POLICY = 8;static intKIND_RESOURCE_VALUEKIND_RESOURCE = 9;static intKIND_RULE_VALUEKIND_RULE = 10;static intKIND_SCOPE_VALUEKIND_SCOPE = 11;static intKIND_UNSPECIFIED_VALUEKIND_UNSPECIFIED = 0;static intKIND_VARIABLE_VALUEKIND_VARIABLE = 12;static intKIND_VARIABLES_VALUEKIND_VARIABLES = 13;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Engine.Trace.Component.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<Engine.Trace.Component.Kind>internalGetValueMap()static Engine.Trace.Component.KindvalueOf(int value)Deprecated.static Engine.Trace.Component.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Engine.Trace.Component.KindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Engine.Trace.Component.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KIND_UNSPECIFIED
public static final Engine.Trace.Component.Kind KIND_UNSPECIFIED
KIND_UNSPECIFIED = 0;
-
KIND_ACTION
public static final Engine.Trace.Component.Kind KIND_ACTION
KIND_ACTION = 1;
-
KIND_CONDITION_ALL
public static final Engine.Trace.Component.Kind KIND_CONDITION_ALL
KIND_CONDITION_ALL = 2;
-
KIND_CONDITION_ANY
public static final Engine.Trace.Component.Kind KIND_CONDITION_ANY
KIND_CONDITION_ANY = 3;
-
KIND_CONDITION_NONE
public static final Engine.Trace.Component.Kind KIND_CONDITION_NONE
KIND_CONDITION_NONE = 4;
-
KIND_CONDITION
public static final Engine.Trace.Component.Kind KIND_CONDITION
KIND_CONDITION = 5;
-
KIND_DERIVED_ROLE
public static final Engine.Trace.Component.Kind KIND_DERIVED_ROLE
KIND_DERIVED_ROLE = 6;
-
KIND_EXPR
public static final Engine.Trace.Component.Kind KIND_EXPR
KIND_EXPR = 7;
-
KIND_POLICY
public static final Engine.Trace.Component.Kind KIND_POLICY
KIND_POLICY = 8;
-
KIND_RESOURCE
public static final Engine.Trace.Component.Kind KIND_RESOURCE
KIND_RESOURCE = 9;
-
KIND_RULE
public static final Engine.Trace.Component.Kind KIND_RULE
KIND_RULE = 10;
-
KIND_SCOPE
public static final Engine.Trace.Component.Kind KIND_SCOPE
KIND_SCOPE = 11;
-
KIND_VARIABLE
public static final Engine.Trace.Component.Kind KIND_VARIABLE
KIND_VARIABLE = 12;
-
KIND_VARIABLES
public static final Engine.Trace.Component.Kind KIND_VARIABLES
KIND_VARIABLES = 13;
-
KIND_OUTPUT
public static final Engine.Trace.Component.Kind KIND_OUTPUT
KIND_OUTPUT = 14;
-
UNRECOGNIZED
public static final Engine.Trace.Component.Kind UNRECOGNIZED
-
-
Field Detail
-
KIND_UNSPECIFIED_VALUE
public static final int KIND_UNSPECIFIED_VALUE
KIND_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
KIND_ACTION_VALUE
public static final int KIND_ACTION_VALUE
KIND_ACTION = 1;- See Also:
- Constant Field Values
-
KIND_CONDITION_ALL_VALUE
public static final int KIND_CONDITION_ALL_VALUE
KIND_CONDITION_ALL = 2;- See Also:
- Constant Field Values
-
KIND_CONDITION_ANY_VALUE
public static final int KIND_CONDITION_ANY_VALUE
KIND_CONDITION_ANY = 3;- See Also:
- Constant Field Values
-
KIND_CONDITION_NONE_VALUE
public static final int KIND_CONDITION_NONE_VALUE
KIND_CONDITION_NONE = 4;- See Also:
- Constant Field Values
-
KIND_CONDITION_VALUE
public static final int KIND_CONDITION_VALUE
KIND_CONDITION = 5;- See Also:
- Constant Field Values
-
KIND_DERIVED_ROLE_VALUE
public static final int KIND_DERIVED_ROLE_VALUE
KIND_DERIVED_ROLE = 6;- See Also:
- Constant Field Values
-
KIND_EXPR_VALUE
public static final int KIND_EXPR_VALUE
KIND_EXPR = 7;- See Also:
- Constant Field Values
-
KIND_POLICY_VALUE
public static final int KIND_POLICY_VALUE
KIND_POLICY = 8;- See Also:
- Constant Field Values
-
KIND_RESOURCE_VALUE
public static final int KIND_RESOURCE_VALUE
KIND_RESOURCE = 9;- See Also:
- Constant Field Values
-
KIND_RULE_VALUE
public static final int KIND_RULE_VALUE
KIND_RULE = 10;- See Also:
- Constant Field Values
-
KIND_SCOPE_VALUE
public static final int KIND_SCOPE_VALUE
KIND_SCOPE = 11;- See Also:
- Constant Field Values
-
KIND_VARIABLE_VALUE
public static final int KIND_VARIABLE_VALUE
KIND_VARIABLE = 12;- See Also:
- Constant Field Values
-
KIND_VARIABLES_VALUE
public static final int KIND_VARIABLES_VALUE
KIND_VARIABLES = 13;- See Also:
- Constant Field Values
-
KIND_OUTPUT_VALUE
public static final int KIND_OUTPUT_VALUE
KIND_OUTPUT = 14;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Engine.Trace.Component.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 (Engine.Trace.Component.Kind c : Engine.Trace.Component.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 Engine.Trace.Component.Kind 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Engine.Trace.Component.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Engine.Trace.Component.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<Engine.Trace.Component.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 Engine.Trace.Component.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-