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.String
getHeaderData
private 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 boolean
equals(java.lang.Object o)
(package private) java.lang.String
getHeaderData()
Returns optional header data to pass along to AFE in the X-Google-RLS-Data header.int
hashCode()
(package private) com.google.common.collect.ImmutableList<java.lang.String>
targets()
Returns list of targets.java.lang.String
toString()
-
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.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
java.lang.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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-