- java.lang.Object
-
- java.lang.Enum<ProcessingKey>
-
- io.axoniq.axonserver.grpc.ProcessingKey
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProcessingKey>
@Generated public enum ProcessingKey extends Enum<ProcessingKey> implements com.google.protobuf.ProtocolMessageEnum
An enumeration of possible keys for processing instructions.
Protobuf enumio.axoniq.axonserver.grpc.ProcessingKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_SUPPORTS_STREAMINGkey indicating whether Client supports streaming.NR_OF_RESULTSkey indicating that the requester expects at most the given number of results from this message.PRIORITYkey indicating that the attached value indicates relative priority of this message.ROUTING_KEYkey indicating that the attached value should be used for consistent routing.SERVER_SUPPORTS_STREAMINGkey indicating whether Axon Server supports streaming.TIMEOUTkey indicating that the accompanied message has a finite validity.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_SUPPORTS_STREAMING_VALUEkey indicating whether Client supports streaming.static intNR_OF_RESULTS_VALUEkey indicating that the requester expects at most the given number of results from this message.static intPRIORITY_VALUEkey indicating that the attached value indicates relative priority of this message.static intROUTING_KEY_VALUEkey indicating that the attached value should be used for consistent routing.static intSERVER_SUPPORTS_STREAMING_VALUEkey indicating whether Axon Server supports streaming.static intTIMEOUT_VALUEkey indicating that the accompanied message has a finite validity.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProcessingKeyforNumber(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<ProcessingKey>internalGetValueMap()static ProcessingKeyvalueOf(int value)Deprecated.static ProcessingKeyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProcessingKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static ProcessingKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUTING_KEY
public static final ProcessingKey ROUTING_KEY
key indicating that the attached value should be used for consistent routing.
ROUTING_KEY = 0;
-
PRIORITY
public static final ProcessingKey PRIORITY
key indicating that the attached value indicates relative priority of this message.
PRIORITY = 1;
-
TIMEOUT
public static final ProcessingKey TIMEOUT
key indicating that the accompanied message has a finite validity. The attached value contains the number of milliseconds.
TIMEOUT = 2;
-
NR_OF_RESULTS
public static final ProcessingKey NR_OF_RESULTS
key indicating that the requester expects at most the given number of results from this message. Use -1 for unlimited.
NR_OF_RESULTS = 3;
-
SERVER_SUPPORTS_STREAMING
public static final ProcessingKey SERVER_SUPPORTS_STREAMING
key indicating whether Axon Server supports streaming.
SERVER_SUPPORTS_STREAMING = 7;
-
CLIENT_SUPPORTS_STREAMING
public static final ProcessingKey CLIENT_SUPPORTS_STREAMING
key indicating whether Client supports streaming.
CLIENT_SUPPORTS_STREAMING = 8;
-
UNRECOGNIZED
public static final ProcessingKey UNRECOGNIZED
-
-
Field Detail
-
ROUTING_KEY_VALUE
public static final int ROUTING_KEY_VALUE
key indicating that the attached value should be used for consistent routing.
ROUTING_KEY = 0;- See Also:
- Constant Field Values
-
PRIORITY_VALUE
public static final int PRIORITY_VALUE
key indicating that the attached value indicates relative priority of this message.
PRIORITY = 1;- See Also:
- Constant Field Values
-
TIMEOUT_VALUE
public static final int TIMEOUT_VALUE
key indicating that the accompanied message has a finite validity. The attached value contains the number of milliseconds.
TIMEOUT = 2;- See Also:
- Constant Field Values
-
NR_OF_RESULTS_VALUE
public static final int NR_OF_RESULTS_VALUE
key indicating that the requester expects at most the given number of results from this message. Use -1 for unlimited.
NR_OF_RESULTS = 3;- See Also:
- Constant Field Values
-
SERVER_SUPPORTS_STREAMING_VALUE
public static final int SERVER_SUPPORTS_STREAMING_VALUE
key indicating whether Axon Server supports streaming.
SERVER_SUPPORTS_STREAMING = 7;- See Also:
- Constant Field Values
-
CLIENT_SUPPORTS_STREAMING_VALUE
public static final int CLIENT_SUPPORTS_STREAMING_VALUE
key indicating whether Client supports streaming.
CLIENT_SUPPORTS_STREAMING = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProcessingKey[] 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 (ProcessingKey c : ProcessingKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessingKey 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ProcessingKey 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 ProcessingKey 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<ProcessingKey> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ProcessingKey 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-