public enum Instance.ConnectionPoolConfig.PoolMode extends Enum<Instance.ConnectionPoolConfig.PoolMode> implements ProtocolMessageEnum The pool mode. Defaults to POOL_MODE_TRANSACTION.
Protobuf enum google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.PoolMode
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
POOL_MODE_SESSION |
Server is released back to pool after a client disconnects. |
POOL_MODE_SESSION_VALUE |
Server is released back to pool after a client disconnects. |
POOL_MODE_TRANSACTION |
Server is released back to pool after a transaction finishes. |
POOL_MODE_TRANSACTION_VALUE |
Server is released back to pool after a transaction finishes. |
POOL_MODE_UNSPECIFIED |
The pool mode is not specified. Defaults to |
POOL_MODE_UNSPECIFIED_VALUE |
The pool mode is not specified. Defaults to |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|