Package io.grpc.lb.v1

Interface ServerListOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ServerList, ServerList.Builder

    public interface ServerListOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Server getServers​(int index)
      Contains a list of servers selected by the load balancer.
      int getServersCount()
      Contains a list of servers selected by the load balancer.
      java.util.List<Server> getServersList()
      Contains a list of servers selected by the load balancer.
      ServerOrBuilder getServersOrBuilder​(int index)
      Contains a list of servers selected by the load balancer.
      java.util.List<? extends ServerOrBuilder> getServersOrBuilderList()
      Contains a list of servers selected by the load balancer.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getServersList

        java.util.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

        java.util.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;