Package io.grpc.lb.v1
Class LoadBalanceRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
- io.grpc.lb.v1.LoadBalanceRequest.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,LoadBalanceRequestOrBuilder
,Cloneable
- Enclosing class:
- LoadBalanceRequest
public static final class LoadBalanceRequest.Builder extends GeneratedMessageV3.Builder<LoadBalanceRequest.Builder> implements LoadBalanceRequestOrBuilder
Protobuf typegrpc.lb.v1.LoadBalanceRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalanceRequest.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
LoadBalanceRequest
build()
LoadBalanceRequest
buildPartial()
LoadBalanceRequest.Builder
clear()
LoadBalanceRequest.Builder
clearClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.LoadBalanceRequest.Builder
clearField(Descriptors.FieldDescriptor field)
LoadBalanceRequest.Builder
clearInitialRequest()
This message should be sent on the first request to the load balancer.LoadBalanceRequest.Builder
clearLoadBalanceRequestType()
LoadBalanceRequest.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
LoadBalanceRequest.Builder
clone()
ClientStats
getClientStats()
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.ClientStats.Builder
getClientStatsBuilder()
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.LoadBalanceRequest
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
InitialLoadBalanceRequest
getInitialRequest()
This message should be sent on the first request to the load balancer.InitialLoadBalanceRequest.Builder
getInitialRequestBuilder()
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.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LoadBalanceRequest.Builder
mergeClientStats(ClientStats value)
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.LoadBalanceRequest.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
LoadBalanceRequest.Builder
mergeFrom(Message other)
LoadBalanceRequest.Builder
mergeFrom(LoadBalanceRequest other)
LoadBalanceRequest.Builder
mergeInitialRequest(InitialLoadBalanceRequest value)
This message should be sent on the first request to the load balancer.LoadBalanceRequest.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
LoadBalanceRequest.Builder
setClientStats(ClientStats value)
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.LoadBalanceRequest.Builder
setClientStats(ClientStats.Builder builderForValue)
The client stats should be periodically reported to the load balancer based on the duration defined in the InitialLoadBalanceResponse.LoadBalanceRequest.Builder
setField(Descriptors.FieldDescriptor field, Object value)
LoadBalanceRequest.Builder
setInitialRequest(InitialLoadBalanceRequest value)
This message should be sent on the first request to the load balancer.LoadBalanceRequest.Builder
setInitialRequest(InitialLoadBalanceRequest.Builder builderForValue)
This message should be sent on the first request to the load balancer.LoadBalanceRequest.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
LoadBalanceRequest.Builder
setUnknownFields(UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
clear
public LoadBalanceRequest.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
getDefaultInstanceForType
public LoadBalanceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public LoadBalanceRequest build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public LoadBalanceRequest buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public LoadBalanceRequest.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
setField
public LoadBalanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
clearField
public LoadBalanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
clearOneof
public LoadBalanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
setRepeatedField
public LoadBalanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
addRepeatedField
public LoadBalanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
public LoadBalanceRequest.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
public LoadBalanceRequest.Builder mergeFrom(LoadBalanceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
mergeFrom
public LoadBalanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<LoadBalanceRequest.Builder>
- Throws:
IOException
-
getLoadBalanceRequestTypeCase
public LoadBalanceRequest.LoadBalanceRequestTypeCase getLoadBalanceRequestTypeCase()
- Specified by:
getLoadBalanceRequestTypeCase
in interfaceLoadBalanceRequestOrBuilder
-
clearLoadBalanceRequestType
public LoadBalanceRequest.Builder 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
public InitialLoadBalanceRequest 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
public LoadBalanceRequest.Builder setInitialRequest(InitialLoadBalanceRequest value)
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
public LoadBalanceRequest.Builder mergeInitialRequest(InitialLoadBalanceRequest value)
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
clearInitialRequest
public LoadBalanceRequest.Builder clearInitialRequest()
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
getInitialRequestBuilder
public InitialLoadBalanceRequest.Builder getInitialRequestBuilder()
This message should be sent on the first request to the load balancer.
.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
-
getInitialRequestOrBuilder
public InitialLoadBalanceRequestOrBuilder 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
-
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
public 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;
- Specified by:
getClientStats
in interfaceLoadBalanceRequestOrBuilder
- Returns:
- The clientStats.
-
setClientStats
public LoadBalanceRequest.Builder setClientStats(ClientStats value)
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
public LoadBalanceRequest.Builder setClientStats(ClientStats.Builder builderForValue)
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
public LoadBalanceRequest.Builder mergeClientStats(ClientStats value)
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
public LoadBalanceRequest.Builder 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
public ClientStats.Builder 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
public 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;
- Specified by:
getClientStatsOrBuilder
in interfaceLoadBalanceRequestOrBuilder
-
setUnknownFields
public final LoadBalanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
mergeUnknownFields
public final LoadBalanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<LoadBalanceRequest.Builder>
-
-