Package io.grpc.lb.v1
Interface LoadBalanceResponseOrBuilder
- 
- All Superinterfaces:
- MessageLiteOrBuilder,- MessageOrBuilder
 - All Known Implementing Classes:
- LoadBalanceResponse,- LoadBalanceResponse.Builder
 
 public interface LoadBalanceResponseOrBuilder extends MessageOrBuilder 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description FallbackResponsegetFallbackResponse()If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).FallbackResponseOrBuildergetFallbackResponseOrBuilder()If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).InitialLoadBalanceResponsegetInitialResponse()This message should be sent on the first response to the client.InitialLoadBalanceResponseOrBuildergetInitialResponseOrBuilder()This message should be sent on the first response to the client.LoadBalanceResponse.LoadBalanceResponseTypeCasegetLoadBalanceResponseTypeCase()ServerListgetServerList()Contains the list of servers selected by the load balancer.ServerListOrBuildergetServerListOrBuilder()Contains the list of servers selected by the load balancer.booleanhasFallbackResponse()If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).booleanhasInitialResponse()This message should be sent on the first response to the client.booleanhasServerList()Contains the list of servers selected by the load balancer.- 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilderisInitialized
 - 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasInitialResponseboolean 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.
 
 - 
getInitialResponseInitialLoadBalanceResponse getInitialResponse() This message should be sent on the first response to the client. .grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;- Returns:
- The initialResponse.
 
 - 
getInitialResponseOrBuilderInitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder() This message should be sent on the first response to the client. .grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;
 - 
hasServerListboolean 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.
 
 - 
getServerListServerList 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.
 
 - 
getServerListOrBuilderServerListOrBuilder 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;
 - 
hasFallbackResponseboolean 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.
 
 - 
getFallbackResponseFallbackResponse 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.
 
 - 
getFallbackResponseOrBuilderFallbackResponseOrBuilder 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;
 - 
getLoadBalanceResponseTypeCaseLoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCase() 
 
- 
 
-