public interface ServerListOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
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.
|
List<? extends ServerOrBuilder> |
getServersOrBuilderList()
Contains a list of servers selected by the load balancer.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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;
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;
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;