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 Modifier and Type Field Description private java.lang.StringgetHeaderDataprivate com.google.common.collect.ImmutableList<java.lang.String>targets
-
Constructor Summary
Constructors Constructor Description AutoValue_RlsProtoData_RouteLookupResponse(com.google.common.collect.ImmutableList<java.lang.String> targets, java.lang.String getHeaderData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)(package private) java.lang.StringgetHeaderData()Returns optional header data to pass along to AFE in the X-Google-RLS-Data header.inthashCode()(package private) com.google.common.collect.ImmutableList<java.lang.String>targets()Returns list of targets.java.lang.StringtoString()-
Methods inherited from class io.grpc.rls.RlsProtoData.RouteLookupResponse
create
-
-
-
-
Method Detail
-
targets
com.google.common.collect.ImmutableList<java.lang.String> targets()
Description copied from class:RlsProtoData.RouteLookupResponseReturns 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:
targetsin classRlsProtoData.RouteLookupResponse
-
getHeaderData
java.lang.String getHeaderData()
Description copied from class:RlsProtoData.RouteLookupResponseReturns 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:
getHeaderDatain classRlsProtoData.RouteLookupResponse
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-