Enum ACLResource

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<ACLResource>

    public enum ACLResource
    extends java.lang.Enum<ACLResource>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum littlehorse.ACLResource
    • Enum Constant Detail

      • ACL_WORKFLOW

        public static final ACLResource ACL_WORKFLOW
        ACL_WORKFLOW = 0;
      • ACL_TASK

        public static final ACLResource ACL_TASK
        ACL_TASK = 1;
      • ACL_EXTERNAL_EVENT

        public static final ACLResource ACL_EXTERNAL_EVENT
        ACL_EXTERNAL_EVENT = 2;
      • ACL_USER_TASK

        public static final ACLResource ACL_USER_TASK
        ACL_USER_TASK = 3;
      • ACL_PRINCIPAL

        public static final ACLResource ACL_PRINCIPAL
        ACL_PRINCIPAL = 4;
      • ACL_TENANT

        public static final ACLResource ACL_TENANT
        ACL_TENANT = 5;
      • ACL_ALL_RESOURCES

        public static final ACLResource ACL_ALL_RESOURCES
        ACL_ALL_RESOURCES = 6;
      • UNRECOGNIZED

        public static final ACLResource UNRECOGNIZED
    • Field Detail

      • ACL_WORKFLOW_VALUE

        public static final int ACL_WORKFLOW_VALUE
        ACL_WORKFLOW = 0;
        See Also:
        Constant Field Values
      • ACL_EXTERNAL_EVENT_VALUE

        public static final int ACL_EXTERNAL_EVENT_VALUE
        ACL_EXTERNAL_EVENT = 2;
        See Also:
        Constant Field Values
      • ACL_USER_TASK_VALUE

        public static final int ACL_USER_TASK_VALUE
        ACL_USER_TASK = 3;
        See Also:
        Constant Field Values
      • ACL_PRINCIPAL_VALUE

        public static final int ACL_PRINCIPAL_VALUE
        ACL_PRINCIPAL = 4;
        See Also:
        Constant Field Values
      • ACL_TENANT_VALUE

        public static final int ACL_TENANT_VALUE
        ACL_TENANT = 5;
        See Also:
        Constant Field Values
      • ACL_ALL_RESOURCES_VALUE

        public static final int ACL_ALL_RESOURCES_VALUE
        ACL_ALL_RESOURCES = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ACLResource[] 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 (ACLResource c : ACLResource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ACLResource 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 ACLResource 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 ACLResource 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<ACLResource> internalGetValueMap()
      • 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 ACLResource 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