Package io.grpc.lb.v1

Interface LoadBalanceResponseOrBuilder

    • Method Detail

      • 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;