Interface AffinityConfigOrBuilder (1.11.0)

public interface AffinityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAffinityKey()

public abstract String getAffinityKey()

The field path of the affinity key in the request/response message. For example: "f.a", "f.b.d", etc.

string affinity_key = 3;

Returns
Type Description
String

The affinityKey.

getAffinityKeyBytes()

public abstract ByteString getAffinityKeyBytes()

The field path of the affinity key in the request/response message. For example: "f.a", "f.b.d", etc.

string affinity_key = 3;

Returns
Type Description
ByteString

The bytes for affinityKey.

getCommand()

public abstract AffinityConfig.Command getCommand()

The affinity command applies on the selected gRPC methods.

.grpc.gcp.AffinityConfig.Command command = 2;

Returns
Type Description
AffinityConfig.Command

The command.

getCommandValue()

public abstract int getCommandValue()

The affinity command applies on the selected gRPC methods.

.grpc.gcp.AffinityConfig.Command command = 2;

Returns
Type Description
int

The enum numeric value on the wire for command.