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 TypeMethodDescriptiongetServers
(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.getServersOrBuilder
(int index) Contains a list of servers selected by the load balancer.List
<? extends ServerOrBuilder> 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
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
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
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;
-