Package io.grpc.lookup.v1
Interface RouteLookupRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteLookupRequest
,RouteLookupRequest.Builder
public interface RouteLookupRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKeyMap
(String key) Map of key values extracted via key builders for the gRPC or HTTP request.Deprecated.int
Map of key values extracted via key builders for the gRPC or HTTP request.Map of key values extracted via key builders for the gRPC or HTTP request.getKeyMapOrDefault
(String key, String defaultValue) Map of key values extracted via key builders for the gRPC or HTTP request.getKeyMapOrThrow
(String key) Map of key values extracted via key builders for the gRPC or HTTP request.Reason for making this request.int
Reason for making this request.For REASON_STALE, the header_data from the stale response, if any.com.google.protobuf.ByteString
For REASON_STALE, the header_data from the stale response, if any.Target type allows the client to specify what kind of target format it would like from RLS to allow it to find the regional server, e.g.com.google.protobuf.ByteString
Target type allows the client to specify what kind of target format it would like from RLS to allow it to find the regional server, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTargetType
String getTargetType()Target type allows the client to specify what kind of target format it would like from RLS to allow it to find the regional server, e.g. "grpc".
string target_type = 3;
- Returns:
- The targetType.
-
getTargetTypeBytes
com.google.protobuf.ByteString getTargetTypeBytes()Target type allows the client to specify what kind of target format it would like from RLS to allow it to find the regional server, e.g. "grpc".
string target_type = 3;
- Returns:
- The bytes for targetType.
-
getReasonValue
int getReasonValue()Reason for making this request.
.grpc.lookup.v1.RouteLookupRequest.Reason reason = 5;
- Returns:
- The enum numeric value on the wire for reason.
-
getReason
RouteLookupRequest.Reason getReason()Reason for making this request.
.grpc.lookup.v1.RouteLookupRequest.Reason reason = 5;
- Returns:
- The reason.
-
getStaleHeaderData
String getStaleHeaderData()For REASON_STALE, the header_data from the stale response, if any.
string stale_header_data = 6;
- Returns:
- The staleHeaderData.
-
getStaleHeaderDataBytes
com.google.protobuf.ByteString getStaleHeaderDataBytes()For REASON_STALE, the header_data from the stale response, if any.
string stale_header_data = 6;
- Returns:
- The bytes for staleHeaderData.
-
getKeyMapCount
int getKeyMapCount()Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
containsKeyMap
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMap
Deprecated.UsegetKeyMapMap()
instead. -
getKeyMapMap
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMapOrDefault
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMapOrThrow
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-