Package io.grpc.rls

Class 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  
    • 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 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • targets

        private final com.google.common.collect.ImmutableList<java.lang.String> targets
      • getHeaderData

        private final java.lang.String getHeaderData
    • Constructor Detail

      • AutoValue_RlsProtoData_RouteLookupResponse

        AutoValue_RlsProtoData_RouteLookupResponse​(com.google.common.collect.ImmutableList<java.lang.String> targets,
                                                   java.lang.String getHeaderData)
    • 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 class RlsProtoData.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 class RlsProtoData.RouteLookupResponse
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object