public static final class SessionClientConfiguration.SessionPoolConfiguration extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
SessionClientConfiguration.SessionPoolConfiguration.Builder
Configuration for the session pools.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONSECUTIVE_SESSION_FAILURE_THRESHOLD_FIELD_NUMBER |
static int |
HEADROOM_FIELD_NUMBER |
static int |
LOAD_BALANCING_OPTIONS_FIELD_NUMBER |
static int |
MAX_SESSION_COUNT_FIELD_NUMBER |
static int |
MIN_SESSION_COUNT_FIELD_NUMBER |
static int |
NEW_SESSION_CREATION_BUDGET_FIELD_NUMBER |
static int |
NEW_SESSION_CREATION_PENALTY_FIELD_NUMBER |
static int |
NEW_SESSION_QUEUE_LENGTH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getConsecutiveSessionFailureThreshold()
A threshold for cancelling all pending vRPCs based on how many
consecutive session establishment errors have been observed.
|
static SessionClientConfiguration.SessionPoolConfiguration |
getDefaultInstance() |
SessionClientConfiguration.SessionPoolConfiguration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.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.
|
com.google.protobuf.Parser<SessionClientConfiguration.SessionPoolConfiguration> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
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() |
static SessionClientConfiguration.SessionPoolConfiguration.Builder |
newBuilder() |
static SessionClientConfiguration.SessionPoolConfiguration.Builder |
newBuilder(SessionClientConfiguration.SessionPoolConfiguration prototype) |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
newBuilderForType() |
protected SessionClientConfiguration.SessionPoolConfiguration.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseDelimitedFrom(InputStream input) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(byte[] data) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(ByteBuffer data) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(com.google.protobuf.ByteString data) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(InputStream input) |
static SessionClientConfiguration.SessionPoolConfiguration |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SessionClientConfiguration.SessionPoolConfiguration> |
parser() |
SessionClientConfiguration.SessionPoolConfiguration.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HEADROOM_FIELD_NUMBER
public static final int MIN_SESSION_COUNT_FIELD_NUMBER
public static final int MAX_SESSION_COUNT_FIELD_NUMBER
public static final int NEW_SESSION_QUEUE_LENGTH_FIELD_NUMBER
public static final int NEW_SESSION_CREATION_BUDGET_FIELD_NUMBER
public static final int NEW_SESSION_CREATION_PENALTY_FIELD_NUMBER
public static final int CONSECUTIVE_SESSION_FAILURE_THRESHOLD_FIELD_NUMBER
public static final int LOAD_BALANCING_OPTIONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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 int getMinSessionCount()
The minimum number of sessions for a given scope.
int32 min_session_count = 2;getMinSessionCount in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic int getMaxSessionCount()
The maximum number of sessions for a given scope.
int32 max_session_count = 3;getMaxSessionCount in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic int getNewSessionQueueLength()
Number of vRPCs that can be queued per starting session.
int32 new_session_queue_length = 4;getNewSessionQueueLength in interface SessionClientConfiguration.SessionPoolConfigurationOrBuilderpublic 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 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 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 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 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.SessionPoolConfigurationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(InputStream input) throws IOException
IOExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SessionClientConfiguration.SessionPoolConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SessionClientConfiguration.SessionPoolConfiguration.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SessionClientConfiguration.SessionPoolConfiguration.Builder newBuilder()
public static SessionClientConfiguration.SessionPoolConfiguration.Builder newBuilder(SessionClientConfiguration.SessionPoolConfiguration prototype)
public SessionClientConfiguration.SessionPoolConfiguration.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SessionClientConfiguration.SessionPoolConfiguration.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static SessionClientConfiguration.SessionPoolConfiguration getDefaultInstance()
public static com.google.protobuf.Parser<SessionClientConfiguration.SessionPoolConfiguration> parser()
public com.google.protobuf.Parser<SessionClientConfiguration.SessionPoolConfiguration> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic SessionClientConfiguration.SessionPoolConfiguration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.