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 LoadBalanceResponseOrBuilder extends
7     // @@protoc_insertion_point(interface_extends:grpc.lb.v1.LoadBalanceResponse)
8     com.google.protobuf.MessageOrBuilder {
9 
10   /**
11    * <pre>
12    * This message should be sent on the first response to the client.
13    * </pre>
14    *
15    * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code>
16    */
hasInitialResponse()17   boolean hasInitialResponse();
18   /**
19    * <pre>
20    * This message should be sent on the first response to the client.
21    * </pre>
22    *
23    * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code>
24    */
getInitialResponse()25   io.grpc.lb.v1.InitialLoadBalanceResponse getInitialResponse();
26   /**
27    * <pre>
28    * This message should be sent on the first response to the client.
29    * </pre>
30    *
31    * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code>
32    */
getInitialResponseOrBuilder()33   io.grpc.lb.v1.InitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder();
34 
35   /**
36    * <pre>
37    * Contains the list of servers selected by the load balancer. The client
38    * should send requests to these servers in the specified order.
39    * </pre>
40    *
41    * <code>.grpc.lb.v1.ServerList server_list = 2;</code>
42    */
hasServerList()43   boolean hasServerList();
44   /**
45    * <pre>
46    * Contains the list of servers selected by the load balancer. The client
47    * should send requests to these servers in the specified order.
48    * </pre>
49    *
50    * <code>.grpc.lb.v1.ServerList server_list = 2;</code>
51    */
getServerList()52   io.grpc.lb.v1.ServerList getServerList();
53   /**
54    * <pre>
55    * Contains the list of servers selected by the load balancer. The client
56    * should send requests to these servers in the specified order.
57    * </pre>
58    *
59    * <code>.grpc.lb.v1.ServerList server_list = 2;</code>
60    */
getServerListOrBuilder()61   io.grpc.lb.v1.ServerListOrBuilder getServerListOrBuilder();
62 
getLoadBalanceResponseTypeCase()63   public io.grpc.lb.v1.LoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCase();
64 }
65