Package io.grpc.lb.v1
Class LoadBalanceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LoadBalanceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
io.grpc.lb.v1.LoadBalanceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LoadBalanceRequestOrBuilder
,Cloneable
- Enclosing class:
LoadBalanceRequest
public static final class LoadBalanceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
implements LoadBalanceRequestOrBuilder
Protobuf type
grpc.lb.v1.LoadBalanceRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private com.google.protobuf.SingleFieldBuilder
<ClientStats, ClientStats.Builder, ClientStatsOrBuilder> private com.google.protobuf.SingleFieldBuilder
<InitialLoadBalanceRequest, InitialLoadBalanceRequest.Builder, InitialLoadBalanceRequestOrBuilder> private Object
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(LoadBalanceRequest result) private void
buildPartialOneofs
(LoadBalanceRequest result) clear()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.This message should be sent on the first request to the load balancer.The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
This message should be sent on the first request to the load balancer.This message should be sent on the first request to the load balancer.This message should be sent on the first request to the load balancer.boolean
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.boolean
This message should be sent on the first request to the load balancer.private com.google.protobuf.SingleFieldBuilder
<ClientStats, ClientStats.Builder, ClientStatsOrBuilder> The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<InitialLoadBalanceRequest, InitialLoadBalanceRequest.Builder, InitialLoadBalanceRequestOrBuilder> This message should be sent on the first request to the load balancer.final boolean
mergeClientStats
(ClientStats value) The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(LoadBalanceRequest other) This message should be sent on the first request to the load balancer.setClientStats
(ClientStats value) The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.setClientStats
(ClientStats.Builder builderForValue) The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.This message should be sent on the first request to the load balancer.setInitialRequest
(InitialLoadBalanceRequest.Builder builderForValue) This message should be sent on the first request to the load balancer.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
loadBalanceRequestTypeCase_
private int loadBalanceRequestTypeCase_ -
loadBalanceRequestType_
-
bitField0_
private int bitField0_ -
initialRequestBuilder_
private com.google.protobuf.SingleFieldBuilder<InitialLoadBalanceRequest,InitialLoadBalanceRequest.Builder, initialRequestBuilder_InitialLoadBalanceRequestOrBuilder> -
clientStatsBuilder_
private com.google.protobuf.SingleFieldBuilder<ClientStats,ClientStats.Builder, clientStatsBuilder_ClientStatsOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
public LoadBalanceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LoadBalanceRequest.Builder>
- Throws:
IOException
-
getLoadBalanceRequestTypeCase
- Specified by:
getLoadBalanceRequestTypeCase
in interfaceLoadBalanceRequestOrBuilder
-
clearLoadBalanceRequestType
-
hasInitialRequest
public boolean hasInitialRequest()This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
- Specified by:
hasInitialRequest
in interfaceLoadBalanceRequestOrBuilder
- Returns:
- Whether the initialRequest field is set.
-
getInitialRequest
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
- Specified by:
getInitialRequest
in interfaceLoadBalanceRequestOrBuilder
- Returns:
- The initialRequest.
-
setInitialRequest
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
setInitialRequest
public LoadBalanceRequest.Builder setInitialRequest(InitialLoadBalanceRequest.Builder builderForValue) This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
mergeInitialRequest
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
clearInitialRequest
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
getInitialRequestBuilder
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
getInitialRequestOrBuilder
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
- Specified by:
getInitialRequestOrBuilder
in interfaceLoadBalanceRequestOrBuilder
-
internalGetInitialRequestFieldBuilder
private com.google.protobuf.SingleFieldBuilder<InitialLoadBalanceRequest,InitialLoadBalanceRequest.Builder, internalGetInitialRequestFieldBuilder()InitialLoadBalanceRequestOrBuilder> This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
hasClientStats
public 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;
- Specified by:
hasClientStats
in interfaceLoadBalanceRequestOrBuilder
- Returns:
- Whether the clientStats field is set.
-
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;
- Specified by:
getClientStats
in interfaceLoadBalanceRequestOrBuilder
- Returns:
- The clientStats.
-
setClientStats
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;
-
setClientStats
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;
-
mergeClientStats
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;
-
clearClientStats
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;
-
getClientStatsBuilder
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;
-
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;
- Specified by:
getClientStatsOrBuilder
in interfaceLoadBalanceRequestOrBuilder
-
internalGetClientStatsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ClientStats,ClientStats.Builder, internalGetClientStatsFieldBuilder()ClientStatsOrBuilder> 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;
-