Enum 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 enum cerbos.engine.v1.Trace.Component.Kind
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null