Package com.google.cloud.grpc.proto
Interface AffinityConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AffinityConfig,AffinityConfig.Builder
public interface AffinityConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe field path of the affinity key in the request/response message.com.google.protobuf.ByteStringThe field path of the affinity key in the request/response message.The affinity command applies on the selected gRPC methods.intThe affinity command applies on the selected gRPC methods.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCommandValue
int getCommandValue()The affinity command applies on the selected gRPC methods.
.grpc.gcp.AffinityConfig.Command command = 2;- Returns:
- The enum numeric value on the wire for command.
-
getCommand
AffinityConfig.Command getCommand()The affinity command applies on the selected gRPC methods.
.grpc.gcp.AffinityConfig.Command command = 2;- Returns:
- The command.
-
getAffinityKey
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:
- The affinityKey.
-
getAffinityKeyBytes
com.google.protobuf.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:
- The bytes for affinityKey.
-