Package io.grpc.lb.v1
Interface ServerListOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ServerList
,ServerList.Builder
public interface ServerListOrBuilder extends 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.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.-
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
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;
-
-