Package io.grpc.lb.v1

Interface LoadBalanceResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LoadBalanceResponse, LoadBalanceResponse.Builder

public interface LoadBalanceResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasInitialResponse

      boolean hasInitialResponse()
       This message should be sent on the first response to the client.
       
      .grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;
      Returns:
      Whether the initialResponse field is set.
    • getInitialResponse

      InitialLoadBalanceResponse getInitialResponse()
       This message should be sent on the first response to the client.
       
      .grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;
      Returns:
      The initialResponse.
    • getInitialResponseOrBuilder

      InitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder()
       This message should be sent on the first response to the client.
       
      .grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;
    • hasServerList

      boolean hasServerList()
       Contains the list of servers selected by the load balancer. The client
       should send requests to these servers in the specified order.
       
      .grpc.lb.v1.ServerList server_list = 2;
      Returns:
      Whether the serverList field is set.
    • getServerList

      ServerList getServerList()
       Contains the list of servers selected by the load balancer. The client
       should send requests to these servers in the specified order.
       
      .grpc.lb.v1.ServerList server_list = 2;
      Returns:
      The serverList.
    • getServerListOrBuilder

      ServerListOrBuilder getServerListOrBuilder()
       Contains the list of servers selected by the load balancer. The client
       should send requests to these servers in the specified order.
       
      .grpc.lb.v1.ServerList server_list = 2;
    • hasFallbackResponse

      boolean hasFallbackResponse()
       If this field is set, then the client should eagerly enter fallback
       mode (even if there are existing, healthy connections to backends).
       
      .grpc.lb.v1.FallbackResponse fallback_response = 3;
      Returns:
      Whether the fallbackResponse field is set.
    • getFallbackResponse

      FallbackResponse getFallbackResponse()
       If this field is set, then the client should eagerly enter fallback
       mode (even if there are existing, healthy connections to backends).
       
      .grpc.lb.v1.FallbackResponse fallback_response = 3;
      Returns:
      The fallbackResponse.
    • getFallbackResponseOrBuilder

      FallbackResponseOrBuilder getFallbackResponseOrBuilder()
       If this field is set, then the client should eagerly enter fallback
       mode (even if there are existing, healthy connections to backends).
       
      .grpc.lb.v1.FallbackResponse fallback_response = 3;
    • getLoadBalanceResponseTypeCase

      LoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCase()