blob: 6c39984be558c027c0db477d762368f64dfb9079 [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/lb/v1/load_balancer.proto
package io.grpc.lb.v1;
public interface ServerListOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.lb.v1.ServerList)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* 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.
* </pre>
*
* <code>repeated .grpc.lb.v1.Server servers = 1;</code>
*/
java.util.List<io.grpc.lb.v1.Server>
getServersList();
/**
* <pre>
* 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.
* </pre>
*
* <code>repeated .grpc.lb.v1.Server servers = 1;</code>
*/
io.grpc.lb.v1.Server getServers(int index);
/**
* <pre>
* 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.
* </pre>
*
* <code>repeated .grpc.lb.v1.Server servers = 1;</code>
*/
int getServersCount();
/**
* <pre>
* 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.
* </pre>
*
* <code>repeated .grpc.lb.v1.Server servers = 1;</code>
*/
java.util.List<? extends io.grpc.lb.v1.ServerOrBuilder>
getServersOrBuilderList();
/**
* <pre>
* 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.
* </pre>
*
* <code>repeated .grpc.lb.v1.Server servers = 1;</code>
*/
io.grpc.lb.v1.ServerOrBuilder getServersOrBuilder(
int index);
}