Package io.grpc.lb.v1
Interface LoadBalanceRequestOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
LoadBalanceRequest
,LoadBalanceRequest.Builder
public interface LoadBalanceRequestOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientStats
getClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.ClientStatsOrBuilder
getClientStatsOrBuilder()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.InitialLoadBalanceRequest
getInitialRequest()
This message should be sent on the first request to the load balancer.InitialLoadBalanceRequestOrBuilder
getInitialRequestOrBuilder()
This message should be sent on the first request to the load balancer.LoadBalanceRequest.LoadBalanceRequestTypeCase
getLoadBalanceRequestTypeCase()
boolean
hasClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.boolean
hasInitialRequest()
This message should be sent on the first request to 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
-
hasInitialRequest
boolean hasInitialRequest()
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
- Returns:
- Whether the initialRequest field is set.
-
getInitialRequest
InitialLoadBalanceRequest getInitialRequest()
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
- Returns:
- The initialRequest.
-
getInitialRequestOrBuilder
InitialLoadBalanceRequestOrBuilder getInitialRequestOrBuilder()
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
hasClientStats
boolean hasClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.
.grpc.lb.v1.ClientStats client_stats = 2;
- Returns:
- Whether the clientStats field is set.
-
getClientStats
ClientStats getClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.
.grpc.lb.v1.ClientStats client_stats = 2;
- Returns:
- The clientStats.
-
getClientStatsOrBuilder
ClientStatsOrBuilder getClientStatsOrBuilder()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.
.grpc.lb.v1.ClientStats client_stats = 2;
-
getLoadBalanceRequestTypeCase
LoadBalanceRequest.LoadBalanceRequestTypeCase getLoadBalanceRequestTypeCase()
-
-