Package io.grpc.rls
Class AutoValue_RlsProtoData_RouteLookupResponse
java.lang.Object
io.grpc.rls.RlsProtoData.RouteLookupResponse
io.grpc.rls.AutoValue_RlsProtoData_RouteLookupResponse
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_RlsProtoData_RouteLookupResponse
extends RlsProtoData.RouteLookupResponse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_RlsProtoData_RouteLookupResponse
(com.google.common.collect.ImmutableList<String> targets, String getHeaderData) -
Method Summary
Methods inherited from class io.grpc.rls.RlsProtoData.RouteLookupResponse
create
-
Field Details
-
targets
-
getHeaderData
-
-
Constructor Details
-
AutoValue_RlsProtoData_RouteLookupResponse
-
-
Method Details
-
targets
com.google.common.collect.ImmutableList<String> targets()Description copied from class:RlsProtoData.RouteLookupResponse
Returns list of targets. Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type. The targets will be tried in order until a healthy one is found.- Specified by:
targets
in classRlsProtoData.RouteLookupResponse
-
getHeaderData
String getHeaderData()Description copied from class:RlsProtoData.RouteLookupResponse
Returns optional header data to pass along to AFE in the X-Google-RLS-Data header. Cached with "target" and sent with all requests that match the request key. Allows the RLS to pass its work product to the eventual target.- Specified by:
getHeaderData
in classRlsProtoData.RouteLookupResponse
-
toString
-
equals
-
hashCode
public int hashCode()
-