shade.polaris.io.grpc.lookup.v1.RouteLookupRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/lookup/v1/rls.proto
package io.grpc.lookup.v1;
public interface RouteLookupRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.lookup.v1.RouteLookupRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return The targetType.
*/
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;
* @return The bytes for targetType.
*/
com.google.protobuf.ByteString
getTargetTypeBytes();
/**
*
* Reason for making this request.
*
*
* .grpc.lookup.v1.RouteLookupRequest.Reason reason = 5;
* @return The enum numeric value on the wire for reason.
*/
int getReasonValue();
/**
*
* Reason for making this request.
*
*
* .grpc.lookup.v1.RouteLookupRequest.Reason reason = 5;
* @return The reason.
*/
io.grpc.lookup.v1.RouteLookupRequest.Reason getReason();
/**
*
* For REASON_STALE, the header_data from the stale response, if any.
*
*
* string stale_header_data = 6;
* @return The staleHeaderData.
*/
java.lang.String getStaleHeaderData();
/**
*
* For REASON_STALE, the header_data from the stale response, if any.
*
*
* string stale_header_data = 6;
* @return The bytes for staleHeaderData.
*/
com.google.protobuf.ByteString
getStaleHeaderDataBytes();
/**
*
* Map of key values extracted via key builders for the gRPC or HTTP request.
*
*
* map<string, string> key_map = 4;
*/
int getKeyMapCount();
/**
*
* Map of key values extracted via key builders for the gRPC or HTTP request.
*
*
* map<string, string> key_map = 4;
*/
boolean containsKeyMap(
java.lang.String key);
/**
* Use {@link #getKeyMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getKeyMap();
/**
*
* Map of key values extracted via key builders for the gRPC or HTTP request.
*
*
* map<string, string> key_map = 4;
*/
java.util.Map
getKeyMapMap();
/**
*
* Map of key values extracted via key builders for the gRPC or HTTP request.
*
*
* map<string, string> key_map = 4;
*/
/* nullable */
java.lang.String getKeyMapOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* Map of key values extracted via key builders for the gRPC or HTTP request.
*
*
* map<string, string> key_map = 4;
*/
java.lang.String getKeyMapOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy