Package io.grpc.lb.v1
Interface LoadBalanceResponseOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
LoadBalanceResponse
,LoadBalanceResponse.Builder
public interface LoadBalanceResponseOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FallbackResponse
getFallbackResponse()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).FallbackResponseOrBuilder
getFallbackResponseOrBuilder()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).InitialLoadBalanceResponse
getInitialResponse()
This message should be sent on the first response to the client.InitialLoadBalanceResponseOrBuilder
getInitialResponseOrBuilder()
This message should be sent on the first response to the client.LoadBalanceResponse.LoadBalanceResponseTypeCase
getLoadBalanceResponseTypeCase()
ServerList
getServerList()
Contains the list of servers selected by the load balancer.ServerListOrBuilder
getServerListOrBuilder()
Contains the list of servers selected by the load balancer.boolean
hasFallbackResponse()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).boolean
hasInitialResponse()
This message should be sent on the first response to the client.boolean
hasServerList()
Contains the list of servers selected by the load balancer.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLoadBalanceResponseTypeCase
LoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCase()
-
-