Package io.littlehorse.common.proto
Enum ACLResource
- java.lang.Object
-
- java.lang.Enum<ACLResource>
-
- io.littlehorse.common.proto.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 enumlittlehorse.ACLResource
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACL_ALL_RESOURCESACL_ALL_RESOURCES = 6;ACL_EXTERNAL_EVENTACL_EXTERNAL_EVENT = 2;ACL_PRINCIPALACL_PRINCIPAL = 4;ACL_TASKACL_TASK = 1;ACL_TENANTACL_TENANT = 5;ACL_USER_TASKACL_USER_TASK = 3;ACL_WORKFLOWACL_WORKFLOW = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACL_ALL_RESOURCES_VALUEACL_ALL_RESOURCES = 6;static intACL_EXTERNAL_EVENT_VALUEACL_EXTERNAL_EVENT = 2;static intACL_PRINCIPAL_VALUEACL_PRINCIPAL = 4;static intACL_TASK_VALUEACL_TASK = 1;static intACL_TENANT_VALUEACL_TENANT = 5;static intACL_USER_TASK_VALUEACL_USER_TASK = 3;static intACL_WORKFLOW_VALUEACL_WORKFLOW = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ACLResourceforNumber(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<ACLResource>internalGetValueMap()static ACLResourcevalueOf(int value)Deprecated.static ACLResourcevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ACLResourcevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ACLResource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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_TASK_VALUE
public static final int ACL_TASK_VALUE
ACL_TASK = 1;- 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 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 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 namejava.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:
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 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 namejava.lang.NullPointerException- if the argument is null
-
-