Package com.streamlayer.common
Enum PropagationStrategy
- java.lang.Object
-
- java.lang.Enum<PropagationStrategy>
-
- com.streamlayer.common.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 enumstreamlayer.common.PropagationStrategy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROPAGATION_STRATEGY_AWAITInitial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be receivedPROPAGATION_STRATEGY_IGNOREInitial call will be ignoredPROPAGATION_STRATEGY_INVALIDPROPAGATION_STRATEGY_INVALID = 0;PROPAGATION_STRATEGY_PUBLISHInitial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streamsPROPAGATION_STRATEGY_UNSETPROPAGATION_STRATEGY_UNSET = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPROPAGATION_STRATEGY_AWAIT_VALUEInitial call will be forwarded to a specified RPC method handler and proxy will pause both streams until the response would be receivedstatic intPROPAGATION_STRATEGY_IGNORE_VALUEInitial call will be ignoredstatic intPROPAGATION_STRATEGY_INVALID_VALUEPROPAGATION_STRATEGY_INVALID = 0;static intPROPAGATION_STRATEGY_PUBLISH_VALUEInitial call will be forwarded to a specified RPC method handler, but proxy won't pause client/server streamsstatic intPROPAGATION_STRATEGY_UNSET_VALUEPROPAGATION_STRATEGY_UNSET = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PropagationStrategyforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<PropagationStrategy>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static PropagationStrategyvalueOf(int value)Deprecated.static PropagationStrategyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PropagationStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final PropagationStrategy UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static PropagationStrategy forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PropagationStrategy> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-