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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsKeyMap(java.lang.String key)
Map of key values extracted via key builders for the gRPC or HTTP request.java.util.Map<java.lang.String,java.lang.String>
getKeyMap()
Deprecated.int
getKeyMapCount()
Map of key values extracted via key builders for the gRPC or HTTP request.java.util.Map<java.lang.String,java.lang.String>
getKeyMapMap()
Map of key values extracted via key builders for the gRPC or HTTP request.java.lang.String
getKeyMapOrDefault(java.lang.String key, java.lang.String defaultValue)
Map of key values extracted via key builders for the gRPC or HTTP request.java.lang.String
getKeyMapOrThrow(java.lang.String key)
Map of key values extracted via key builders for the gRPC or HTTP request.RouteLookupRequest.Reason
getReason()
Reason for making this request.int
getReasonValue()
Reason for making this request.java.lang.String
getStaleHeaderData()
For REASON_STALE, the header_data from the stale response, if any.com.google.protobuf.ByteString
getStaleHeaderDataBytes()
For REASON_STALE, the header_data from the stale response, if any.java.lang.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTargetType
java.lang.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
java.lang.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
boolean containsKeyMap(java.lang.String key)
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMap
@Deprecated java.util.Map<java.lang.String,java.lang.String> getKeyMap()
Deprecated.UsegetKeyMapMap()
instead.
-
getKeyMapMap
java.util.Map<java.lang.String,java.lang.String> getKeyMapMap()
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMapOrDefault
java.lang.String getKeyMapOrDefault(java.lang.String key, java.lang.String defaultValue)
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
getKeyMapOrThrow
java.lang.String getKeyMapOrThrow(java.lang.String key)
Map of key values extracted via key builders for the gRPC or HTTP request.
map<string, string> key_map = 4;
-
-