Enum Persistent.ReadReq.Nack.Action
- java.lang.Object
-
- java.lang.Enum<Persistent.ReadReq.Nack.Action>
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.ReadReq.Nack.Action
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Persistent.ReadReq.Nack.Action>
- Enclosing class:
- Persistent.ReadReq.Nack
public static enum Persistent.ReadReq.Nack.Action extends java.lang.Enum<Persistent.ReadReq.Nack.Action> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumevent_store.client.persistent_subscriptions.ReadReq.Nack.Action
-
-
Field Summary
Fields Modifier and Type Field Description static int
Park_VALUE
Park = 1;
static int
Retry_VALUE
Retry = 2;
static int
Skip_VALUE
Skip = 3;
static int
Stop_VALUE
Stop = 4;
static int
Unknown_VALUE
Unknown = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Persistent.ReadReq.Nack.Action
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Persistent.ReadReq.Nack.Action>
internalGetValueMap()
static Persistent.ReadReq.Nack.Action
valueOf(int value)
Deprecated.static Persistent.ReadReq.Nack.Action
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Persistent.ReadReq.Nack.Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Persistent.ReadReq.Nack.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final Persistent.ReadReq.Nack.Action Unknown
Unknown = 0;
-
Park
public static final Persistent.ReadReq.Nack.Action Park
Park = 1;
-
Retry
public static final Persistent.ReadReq.Nack.Action Retry
Retry = 2;
-
Skip
public static final Persistent.ReadReq.Nack.Action Skip
Skip = 3;
-
Stop
public static final Persistent.ReadReq.Nack.Action Stop
Stop = 4;
-
UNRECOGNIZED
public static final Persistent.ReadReq.Nack.Action UNRECOGNIZED
-
-
Field Detail
-
Unknown_VALUE
public static final int Unknown_VALUE
Unknown = 0;
- See Also:
- Constant Field Values
-
Park_VALUE
public static final int Park_VALUE
Park = 1;
- See Also:
- Constant Field Values
-
Retry_VALUE
public static final int Retry_VALUE
Retry = 2;
- See Also:
- Constant Field Values
-
Skip_VALUE
public static final int Skip_VALUE
Skip = 3;
- See Also:
- Constant Field Values
-
Stop_VALUE
public static final int Stop_VALUE
Stop = 4;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Persistent.ReadReq.Nack.Action[] 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 (Persistent.ReadReq.Nack.Action c : Persistent.ReadReq.Nack.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Persistent.ReadReq.Nack.Action 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Persistent.ReadReq.Nack.Action 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 Persistent.ReadReq.Nack.Action 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<Persistent.ReadReq.Nack.Action> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Persistent.ReadReq.Nack.Action 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
-
-