Enum PropagationStrategy

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<PropagationStrategy>

    public enum PropagationStrategy
    extends java.lang.Enum<PropagationStrategy>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.common.PropagationStrategy
    • Enum Constant Detail

      • PROPAGATION_STRATEGY_INVALID

        public static final PropagationStrategy PROPAGATION_STRATEGY_INVALID
        PROPAGATION_STRATEGY_INVALID = 0;
      • PROPAGATION_STRATEGY_UNSET

        public static final PropagationStrategy PROPAGATION_STRATEGY_UNSET
        PROPAGATION_STRATEGY_UNSET = 1;
      • PROPAGATION_STRATEGY_IGNORE

        public static final PropagationStrategy PROPAGATION_STRATEGY_IGNORE
         Initial call will be ignored
         
        PROPAGATION_STRATEGY_IGNORE = 2;
      • PROPAGATION_STRATEGY_AWAIT

        public static final PropagationStrategy PROPAGATION_STRATEGY_AWAIT
         Initial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be received
         
        PROPAGATION_STRATEGY_AWAIT = 3;
      • PROPAGATION_STRATEGY_PUBLISH

        public static final PropagationStrategy PROPAGATION_STRATEGY_PUBLISH
         Initial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streams
         
        PROPAGATION_STRATEGY_PUBLISH = 4;
    • Field Detail

      • PROPAGATION_STRATEGY_INVALID_VALUE

        public static final int PROPAGATION_STRATEGY_INVALID_VALUE
        PROPAGATION_STRATEGY_INVALID = 0;
        See Also:
        Constant Field Values
      • PROPAGATION_STRATEGY_UNSET_VALUE

        public static final int PROPAGATION_STRATEGY_UNSET_VALUE
        PROPAGATION_STRATEGY_UNSET = 1;
        See Also:
        Constant Field Values
      • PROPAGATION_STRATEGY_IGNORE_VALUE

        public static final int PROPAGATION_STRATEGY_IGNORE_VALUE
         Initial call will be ignored
         
        PROPAGATION_STRATEGY_IGNORE = 2;
        See Also:
        Constant Field Values
      • PROPAGATION_STRATEGY_AWAIT_VALUE

        public static final int PROPAGATION_STRATEGY_AWAIT_VALUE
         Initial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be received
         
        PROPAGATION_STRATEGY_AWAIT = 3;
        See Also:
        Constant Field Values
      • PROPAGATION_STRATEGY_PUBLISH_VALUE

        public static final int PROPAGATION_STRATEGY_PUBLISH_VALUE
         Initial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streams
         
        PROPAGATION_STRATEGY_PUBLISH = 4;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PropagationStrategy[] 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 (PropagationStrategy c : PropagationStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PropagationStrategy 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
      • valueOf

        @Deprecated
        public static PropagationStrategy 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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<PropagationStrategy> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()