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 intprivate com.google.protobuf.SingleFieldBuilder<ClientStats, ClientStats.Builder, ClientStatsOrBuilder> private com.google.protobuf.SingleFieldBuilder<InitialLoadBalanceRequest, InitialLoadBalanceRequest.Builder, InitialLoadBalanceRequestOrBuilder> private Objectprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(LoadBalanceRequest result) private voidbuildPartialOneofs(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.Descriptorcom.google.protobuf.Descriptors.DescriptorThis 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.booleanThe client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.booleanThis 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.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<InitialLoadBalanceRequest, InitialLoadBalanceRequest.Builder, InitialLoadBalanceRequestOrBuilder> This message should be sent on the first request to the load balancer.final booleanmergeClientStats(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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, InitialLoadBalanceRequestOrBuilder> initialRequestBuilder_ -
clientStatsBuilder_
private com.google.protobuf.SingleFieldBuilder<ClientStats, ClientStats.Builder, ClientStatsOrBuilder> clientStatsBuilder_
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LoadBalanceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LoadBalanceRequest.Builder>- Throws:
IOException
-
getLoadBalanceRequestTypeCase
- Specified by:
getLoadBalanceRequestTypeCasein 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:
hasInitialRequestin 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:
getInitialRequestin 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:
getInitialRequestOrBuilderin interfaceLoadBalanceRequestOrBuilder
-
internalGetInitialRequestFieldBuilder
private com.google.protobuf.SingleFieldBuilder<InitialLoadBalanceRequest, InitialLoadBalanceRequest.Builder, InitialLoadBalanceRequestOrBuilder> internalGetInitialRequestFieldBuilder()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:
hasClientStatsin 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:
getClientStatsin 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:
getClientStatsOrBuilderin interfaceLoadBalanceRequestOrBuilder
-
internalGetClientStatsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ClientStats, ClientStats.Builder, ClientStatsOrBuilder> internalGetClientStatsFieldBuilder()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;
-