public enum ProcessingKey extends Enum<ProcessingKey> implements com.google.protobuf.ProtocolMessageEnum
An enumeration of possible keys for processing instructions.Protobuf enum
io.axoniq.axonserver.grpc.ProcessingKey
Enum Constant and Description |
---|
NR_OF_RESULTS
key indicating that the requester expects at most the given number of results from this message.
|
PRIORITY
key indicating that the attached value indicates relative priority of this message.
|
ROUTING_KEY
key indicating that the attached value should be used for consistent routing.
|
TIMEOUT
key indicating that the accompanied message has a finite validity.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
NR_OF_RESULTS_VALUE
key indicating that the requester expects at most the given number of results from this message.
|
static int |
PRIORITY_VALUE
key indicating that the attached value indicates relative priority of this message.
|
static int |
ROUTING_KEY_VALUE
key indicating that the attached value should be used for consistent routing.
|
static int |
TIMEOUT_VALUE
key indicating that the accompanied message has a finite validity.
|
Modifier and Type | Method and Description |
---|---|
static ProcessingKey |
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<ProcessingKey> |
internalGetValueMap() |
static ProcessingKey |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcessingKey |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProcessingKey |
valueOf(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.
|
public static final ProcessingKey ROUTING_KEY
key indicating that the attached value should be used for consistent routing.
ROUTING_KEY = 0;
public static final ProcessingKey PRIORITY
key indicating that the attached value indicates relative priority of this message.
PRIORITY = 1;
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;
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;
public static final ProcessingKey UNRECOGNIZED
public static final int ROUTING_KEY_VALUE
key indicating that the attached value should be used for consistent routing.
ROUTING_KEY = 0;
public static final int PRIORITY_VALUE
key indicating that the attached value indicates relative priority of this message.
PRIORITY = 1;
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;
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;
public static ProcessingKey[] values()
for (ProcessingKey c : ProcessingKey.values()) System.out.println(c);
public static ProcessingKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ProcessingKey valueOf(int value)
forNumber(int)
instead.public static ProcessingKey forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProcessingKey> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ProcessingKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2010–2020. All rights reserved.