1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: grpc/lb/v1/load_balancer.proto
3 
4 package io.grpc.lb.v1;
5 
6 public interface ServerListOrBuilder extends
7     // @@protoc_insertion_point(interface_extends:grpc.lb.v1.ServerList)
8     com.google.protobuf.MessageOrBuilder {
9 
10   /**
11    * <pre>
12    * Contains a list of servers selected by the load balancer. The list will
13    * be updated when server resolutions change or as needed to balance load
14    * across more servers. The client should consume the server list in order
15    * unless instructed otherwise via the client_config.
16    * </pre>
17    *
18    * <code>repeated .grpc.lb.v1.Server servers = 1;</code>
19    */
20   java.util.List<io.grpc.lb.v1.Server>
getServersList()21       getServersList();
22   /**
23    * <pre>
24    * Contains a list of servers selected by the load balancer. The list will
25    * be updated when server resolutions change or as needed to balance load
26    * across more servers. The client should consume the server list in order
27    * unless instructed otherwise via the client_config.
28    * </pre>
29    *
30    * <code>repeated .grpc.lb.v1.Server servers = 1;</code>
31    */
getServers(int index)32   io.grpc.lb.v1.Server getServers(int index);
33   /**
34    * <pre>
35    * Contains a list of servers selected by the load balancer. The list will
36    * be updated when server resolutions change or as needed to balance load
37    * across more servers. The client should consume the server list in order
38    * unless instructed otherwise via the client_config.
39    * </pre>
40    *
41    * <code>repeated .grpc.lb.v1.Server servers = 1;</code>
42    */
getServersCount()43   int getServersCount();
44   /**
45    * <pre>
46    * Contains a list of servers selected by the load balancer. The list will
47    * be updated when server resolutions change or as needed to balance load
48    * across more servers. The client should consume the server list in order
49    * unless instructed otherwise via the client_config.
50    * </pre>
51    *
52    * <code>repeated .grpc.lb.v1.Server servers = 1;</code>
53    */
54   java.util.List<? extends io.grpc.lb.v1.ServerOrBuilder>
getServersOrBuilderList()55       getServersOrBuilderList();
56   /**
57    * <pre>
58    * Contains a list of servers selected by the load balancer. The list will
59    * be updated when server resolutions change or as needed to balance load
60    * across more servers. The client should consume the server list in order
61    * unless instructed otherwise via the client_config.
62    * </pre>
63    *
64    * <code>repeated .grpc.lb.v1.Server servers = 1;</code>
65    */
getServersOrBuilder( int index)66   io.grpc.lb.v1.ServerOrBuilder getServersOrBuilder(
67       int index);
68 }
69