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

    Modifier and Type
    Method
    Description
    getServers(int index)
    Contains a list of servers selected by the load balancer.
    int
    Contains a list of servers selected by the load balancer.
    Contains a list of servers selected by the load balancer.
    Contains a list of servers selected by the load balancer.
    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 Details

    • 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;