public static final class SessionClientConfiguration.SessionPoolConfiguration.Builder extends com.google.protobuf.GeneratedMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder> implements SessionClientConfiguration.SessionPoolConfigurationOrBuilder
Configuration for the session pools. Session pools are tied to a scope like a table, an app profile, and a permission.Protobuf type
google.bigtable.v2.SessionClientConfiguration.SessionPoolConfiguration| Modifier and Type | Method and Description |
|---|---|
SessionClientConfiguration.SessionPoolConfiguration |
build() |
SessionClientConfiguration.SessionPoolConfiguration |
buildPartial() |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clear() |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearConsecutiveSessionFailureThreshold()
A threshold for cancelling all pending vRPCs based on how many
consecutive session establishment errors have been observed.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearHeadroom()
Fraction of idle sessions to keep in order to manage an increase in
requests-in-flight.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearLoadBalancingOptions()
How to balance vRPC load over connections to AFEs.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearMaxSessionCount()
The maximum number of sessions for a given scope.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearMinSessionCount()
The minimum number of sessions for a given scope.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearNewSessionCreationBudget()
How many concurrent session establishments are allowed.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation
attempt.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
clearNewSessionQueueLength()
Number of vRPCs that can be queued per starting session.
|
int |
getConsecutiveSessionFailureThreshold()
A threshold for cancelling all pending vRPCs based on how many
consecutive session establishment errors have been observed.
|
SessionClientConfiguration.SessionPoolConfiguration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getHeadroom()
Fraction of idle sessions to keep in order to manage an increase in
requests-in-flight.
|
LoadBalancingOptions |
getLoadBalancingOptions()
How to balance vRPC load over connections to AFEs.
|
LoadBalancingOptions.Builder |
getLoadBalancingOptionsBuilder()
How to balance vRPC load over connections to AFEs.
|
LoadBalancingOptionsOrBuilder |
getLoadBalancingOptionsOrBuilder()
How to balance vRPC load over connections to AFEs.
|
int |
getMaxSessionCount()
The maximum number of sessions for a given scope.
|
int |
getMinSessionCount()
The minimum number of sessions for a given scope.
|
int |
getNewSessionCreationBudget()
How many concurrent session establishments are allowed.
|
com.google.protobuf.Duration |
getNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation
attempt.
|
com.google.protobuf.Duration.Builder |
getNewSessionCreationPenaltyBuilder()
How long to penalize the creation budget for a failed session creation
attempt.
|
com.google.protobuf.DurationOrBuilder |
getNewSessionCreationPenaltyOrBuilder()
How long to penalize the creation budget for a failed session creation
attempt.
|
int |
getNewSessionQueueLength()
Number of vRPCs that can be queued per starting session.
|
boolean |
hasLoadBalancingOptions()
How to balance vRPC load over connections to AFEs.
|
boolean |
hasNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation
attempt.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
mergeFrom(com.google.protobuf.Message other) |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
mergeFrom(SessionClientConfiguration.SessionPoolConfiguration other) |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
mergeLoadBalancingOptions(LoadBalancingOptions value)
How to balance vRPC load over connections to AFEs.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
mergeNewSessionCreationPenalty(com.google.protobuf.Duration value)
How long to penalize the creation budget for a failed session creation
attempt.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setConsecutiveSessionFailureThreshold(int value)
A threshold for cancelling all pending vRPCs based on how many
consecutive session establishment errors have been observed.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setHeadroom(float value)
Fraction of idle sessions to keep in order to manage an increase in
requests-in-flight.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setLoadBalancingOptions(LoadBalancingOptions.Builder builderForValue)
How to balance vRPC load over connections to AFEs.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setLoadBalancingOptions(LoadBalancingOptions value)
How to balance vRPC load over connections to AFEs.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setMaxSessionCount(int value)
The maximum number of sessions for a given scope.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setMinSessionCount(int value)
The minimum number of sessions for a given scope.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setNewSessionCreationBudget(int value)
How many concurrent session establishments are allowed.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setNewSessionCreationPenalty(com.google.protobuf.Duration.Builder builderForValue)
How long to penalize the creation budget for a failed session creation
attempt.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setNewSessionCreationPenalty(com.google.protobuf.Duration value)
How long to penalize the creation budget for a failed session creation
attempt.
|
SessionClientConfiguration.SessionPoolConfiguration.Builder |
setNewSessionQueueLength(int value)
Number of vRPCs that can be queued per starting session.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>public SessionClientConfiguration.SessionPoolConfiguration.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>public SessionClientConfiguration.SessionPoolConfiguration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SessionClientConfiguration.SessionPoolConfiguration buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>public SessionClientConfiguration.SessionPoolConfiguration.Builder mergeFrom(SessionClientConfiguration.SessionPoolConfiguration other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>public SessionClientConfiguration.SessionPoolConfiguration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionClientConfiguration.SessionPoolConfiguration.Builder>IOExceptionpublic float getHeadroom()
Fraction of idle sessions to keep in order to manage an increase in requests-in-flight. For example, a headroom of 0.5 will keep enough sessions to deal with a 50% increase in QPS.
float headroom = 1;getHeadroom in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setHeadroom(float value)
Fraction of idle sessions to keep in order to manage an increase in requests-in-flight. For example, a headroom of 0.5 will keep enough sessions to deal with a 50% increase in QPS.
float headroom = 1;value - The headroom to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearHeadroom()
Fraction of idle sessions to keep in order to manage an increase in requests-in-flight. For example, a headroom of 0.5 will keep enough sessions to deal with a 50% increase in QPS.
float headroom = 1;public int getMinSessionCount()
The minimum number of sessions for a given scope.
int32 min_session_count = 2;getMinSessionCount in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setMinSessionCount(int value)
The minimum number of sessions for a given scope.
int32 min_session_count = 2;value - The minSessionCount to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearMinSessionCount()
The minimum number of sessions for a given scope.
int32 min_session_count = 2;public int getMaxSessionCount()
The maximum number of sessions for a given scope.
int32 max_session_count = 3;getMaxSessionCount in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setMaxSessionCount(int value)
The maximum number of sessions for a given scope.
int32 max_session_count = 3;value - The maxSessionCount to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearMaxSessionCount()
The maximum number of sessions for a given scope.
int32 max_session_count = 3;public int getNewSessionQueueLength()
Number of vRPCs that can be queued per starting session.
int32 new_session_queue_length = 4;getNewSessionQueueLength in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setNewSessionQueueLength(int value)
Number of vRPCs that can be queued per starting session.
int32 new_session_queue_length = 4;value - The newSessionQueueLength to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearNewSessionQueueLength()
Number of vRPCs that can be queued per starting session.
int32 new_session_queue_length = 4;public int getNewSessionCreationBudget()
How many concurrent session establishments are allowed. The client will hold onto a count against this budget whenever it is establishing a new session, and release that count once the session is successfully established or failed to establish.
int32 new_session_creation_budget = 5;getNewSessionCreationBudget in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setNewSessionCreationBudget(int value)
How many concurrent session establishments are allowed. The client will hold onto a count against this budget whenever it is establishing a new session, and release that count once the session is successfully established or failed to establish.
int32 new_session_creation_budget = 5;value - The newSessionCreationBudget to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearNewSessionCreationBudget()
How many concurrent session establishments are allowed. The client will hold onto a count against this budget whenever it is establishing a new session, and release that count once the session is successfully established or failed to establish.
int32 new_session_creation_budget = 5;public boolean hasNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;hasNewSessionCreationPenalty in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic com.google.protobuf.Duration getNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;getNewSessionCreationPenalty in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setNewSessionCreationPenalty(com.google.protobuf.Duration value)
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;public SessionClientConfiguration.SessionPoolConfiguration.Builder setNewSessionCreationPenalty(com.google.protobuf.Duration.Builder builderForValue)
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;public SessionClientConfiguration.SessionPoolConfiguration.Builder mergeNewSessionCreationPenalty(com.google.protobuf.Duration value)
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;public SessionClientConfiguration.SessionPoolConfiguration.Builder clearNewSessionCreationPenalty()
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;public com.google.protobuf.Duration.Builder getNewSessionCreationPenaltyBuilder()
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;public com.google.protobuf.DurationOrBuilder getNewSessionCreationPenaltyOrBuilder()
How long to penalize the creation budget for a failed session creation attempt.
.google.protobuf.Duration new_session_creation_penalty = 6;getNewSessionCreationPenaltyOrBuilder in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic int getConsecutiveSessionFailureThreshold()
A threshold for cancelling all pending vRPCs based on how many consecutive session establishment errors have been observed. The client will eagerly cancel queued vRPCs after this threshold is met to avoid them waiting their entire deadlines before terminating (while waiting for any session to establish to actually send the vRPC).
int32 consecutive_session_failure_threshold = 8;getConsecutiveSessionFailureThreshold in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setConsecutiveSessionFailureThreshold(int value)
A threshold for cancelling all pending vRPCs based on how many consecutive session establishment errors have been observed. The client will eagerly cancel queued vRPCs after this threshold is met to avoid them waiting their entire deadlines before terminating (while waiting for any session to establish to actually send the vRPC).
int32 consecutive_session_failure_threshold = 8;value - The consecutiveSessionFailureThreshold to set.public SessionClientConfiguration.SessionPoolConfiguration.Builder clearConsecutiveSessionFailureThreshold()
A threshold for cancelling all pending vRPCs based on how many consecutive session establishment errors have been observed. The client will eagerly cancel queued vRPCs after this threshold is met to avoid them waiting their entire deadlines before terminating (while waiting for any session to establish to actually send the vRPC).
int32 consecutive_session_failure_threshold = 8;public boolean hasLoadBalancingOptions()
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;hasLoadBalancingOptions in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic LoadBalancingOptions getLoadBalancingOptions()
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;getLoadBalancingOptions in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic SessionClientConfiguration.SessionPoolConfiguration.Builder setLoadBalancingOptions(LoadBalancingOptions value)
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;public SessionClientConfiguration.SessionPoolConfiguration.Builder setLoadBalancingOptions(LoadBalancingOptions.Builder builderForValue)
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;public SessionClientConfiguration.SessionPoolConfiguration.Builder mergeLoadBalancingOptions(LoadBalancingOptions value)
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;public SessionClientConfiguration.SessionPoolConfiguration.Builder clearLoadBalancingOptions()
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;public LoadBalancingOptions.Builder getLoadBalancingOptionsBuilder()
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;public LoadBalancingOptionsOrBuilder getLoadBalancingOptionsOrBuilder()
How to balance vRPC load over connections to AFEs. Set only if session_load > 0.
.google.bigtable.v2.LoadBalancingOptions load_balancing_options = 9;getLoadBalancingOptionsOrBuilder in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderCopyright © 2026 Google LLC. All rights reserved.