Package io.grpc.lb.v1

Interface ServerListOrBuilder

    • Method Detail

      • getServersList

        List<Server> getServersList()
         Contains a list of servers selected by the load balancer. The list will
         be updated when server resolutions change or as needed to balance load
         across more servers. The client should consume the server list in order
         unless instructed otherwise via the client_config.
         
        repeated .grpc.lb.v1.Server servers = 1;
      • getServers

        Server getServers​(int index)
         Contains a list of servers selected by the load balancer. The list will
         be updated when server resolutions change or as needed to balance load
         across more servers. The client should consume the server list in order
         unless instructed otherwise via the client_config.
         
        repeated .grpc.lb.v1.Server servers = 1;
      • getServersCount

        int getServersCount()
         Contains a list of servers selected by the load balancer. The list will
         be updated when server resolutions change or as needed to balance load
         across more servers. The client should consume the server list in order
         unless instructed otherwise via the client_config.
         
        repeated .grpc.lb.v1.Server servers = 1;
      • getServersOrBuilderList

        List<? extends ServerOrBuilder> getServersOrBuilderList()
         Contains a list of servers selected by the load balancer. The list will
         be updated when server resolutions change or as needed to balance load
         across more servers. The client should consume the server list in order
         unless instructed otherwise via the client_config.
         
        repeated .grpc.lb.v1.Server servers = 1;
      • getServersOrBuilder

        ServerOrBuilder getServersOrBuilder​(int index)
         Contains a list of servers selected by the load balancer. The list will
         be updated when server resolutions change or as needed to balance load
         across more servers. The client should consume the server list in order
         unless instructed otherwise via the client_config.
         
        repeated .grpc.lb.v1.Server servers = 1;