Package io.littlehorse.common.proto
Enum ACLAction
- java.lang.Object
-
- java.lang.Enum<ACLAction>
-
- io.littlehorse.common.proto.ACLAction
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ACLAction>
public enum ACLAction extends java.lang.Enum<ACLAction> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumlittlehorse.ACLAction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_ACTIONSALL_ACTIONS = 3;READREAD = 0;RUNRUN = 1;UNRECOGNIZEDWRITE_METADATAWRITE_METADATA = 2;
-
Field Summary
Fields Modifier and Type Field Description static intALL_ACTIONS_VALUEALL_ACTIONS = 3;static intREAD_VALUEREAD = 0;static intRUN_VALUERUN = 1;static intWRITE_METADATA_VALUEWRITE_METADATA = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ACLActionforNumber(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<ACLAction>internalGetValueMap()static ACLActionvalueOf(int value)Deprecated.static ACLActionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ACLActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ACLAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final ACLAction READ
READ = 0;
-
RUN
public static final ACLAction RUN
RUN = 1;
-
WRITE_METADATA
public static final ACLAction WRITE_METADATA
WRITE_METADATA = 2;
-
ALL_ACTIONS
public static final ACLAction ALL_ACTIONS
ALL_ACTIONS = 3;
-
UNRECOGNIZED
public static final ACLAction UNRECOGNIZED
-
-
Field Detail
-
READ_VALUE
public static final int READ_VALUE
READ = 0;- See Also:
- Constant Field Values
-
RUN_VALUE
public static final int RUN_VALUE
RUN = 1;- See Also:
- Constant Field Values
-
WRITE_METADATA_VALUE
public static final int WRITE_METADATA_VALUE
WRITE_METADATA = 2;- See Also:
- Constant Field Values
-
ALL_ACTIONS_VALUE
public static final int ALL_ACTIONS_VALUE
ALL_ACTIONS = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ACLAction[] 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 (ACLAction c : ACLAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ACLAction 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 ACLAction 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 ACLAction 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<ACLAction> 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 ACLAction 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
-
-