Package io.axoniq.axonserver.grpc.query
Enum SubscriptionQueryRequest.RequestCase
- java.lang.Object
-
- java.lang.Enum<SubscriptionQueryRequest.RequestCase>
-
- io.axoniq.axonserver.grpc.query.SubscriptionQueryRequest.RequestCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<SubscriptionQueryRequest.RequestCase>
- Enclosing class:
- SubscriptionQueryRequest
public static enum SubscriptionQueryRequest.RequestCase extends Enum<SubscriptionQueryRequest.RequestCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_CONTROLGET_INITIAL_RESULTDeprecated.REQUEST_NOT_SETSUBSCRIBEUNSUBSCRIBE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubscriptionQueryRequest.RequestCaseforNumber(int value)intgetNumber()static SubscriptionQueryRequest.RequestCasevalueOf(int value)Deprecated.static SubscriptionQueryRequest.RequestCasevalueOf(String name)Returns the enum constant of this type with the specified name.static SubscriptionQueryRequest.RequestCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBSCRIBE
public static final SubscriptionQueryRequest.RequestCase SUBSCRIBE
-
UNSUBSCRIBE
public static final SubscriptionQueryRequest.RequestCase UNSUBSCRIBE
-
GET_INITIAL_RESULT
@Deprecated public static final SubscriptionQueryRequest.RequestCase GET_INITIAL_RESULT
Deprecated.
-
FLOW_CONTROL
public static final SubscriptionQueryRequest.RequestCase FLOW_CONTROL
-
REQUEST_NOT_SET
public static final SubscriptionQueryRequest.RequestCase REQUEST_NOT_SET
-
-
Method Detail
-
values
public static SubscriptionQueryRequest.RequestCase[] 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 (SubscriptionQueryRequest.RequestCase c : SubscriptionQueryRequest.RequestCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionQueryRequest.RequestCase valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static SubscriptionQueryRequest.RequestCase 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static SubscriptionQueryRequest.RequestCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-