Enum 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 enum io.axoniq.axonserver.grpc.ProcessingKey
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null