Enum AffinityConfig.Command (1.11.0)

public enum AffinityConfig.Command extends Enum<AffinityConfig.Command> implements ProtocolMessageEnum

Protobuf enum grpc.gcp.AffinityConfig.Command

Implements

ProtocolMessageEnum

Static Fields

Name Description
BIND

The annotated method will establish the channel affinity with the channel which is used to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the response message.

BIND = 1;

BIND_VALUE

The annotated method will establish the channel affinity with the channel which is used to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the response message.

BIND = 1;

BOUND

The annotated method will be required to be bound to an existing session to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the request message.

BOUND = 0;

BOUND_VALUE

The annotated method will be required to be bound to an existing session to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the request message.

BOUND = 0;

UNBIND

The annotated method will remove the channel affinity with the channel which is used to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the request message.

UNBIND = 2;

UNBIND_VALUE

The annotated method will remove the channel affinity with the channel which is used to execute the RPC. The corresponding <affinity_key_field_path> will be used to find the affinity key from the request message.

UNBIND = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()