public static interface Instance.ConnectionPoolConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsFlags(String key)
public abstract boolean containsFlags(String key)
Optional. Connection Pool flags, as a list of "key": "value" pairs.
map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getEnabled()
public abstract boolean getEnabled()
Optional. Whether to enable Managed Connection Pool (MCP).
bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enabled. |
getFlags() (deprecated)
public abstract Map<String,String> getFlags()
Use #getFlagsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getFlagsCount()
public abstract int getFlagsCount()
Optional. Connection Pool flags, as a list of "key": "value" pairs.
map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFlagsMap()
public abstract Map<String,String> getFlagsMap()
Optional. Connection Pool flags, as a list of "key": "value" pairs.
map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getFlagsOrDefault(String key, String defaultValue)
public abstract String getFlagsOrDefault(String key, String defaultValue)
Optional. Connection Pool flags, as a list of "key": "value" pairs.
map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getFlagsOrThrow(String key)
public abstract String getFlagsOrThrow(String key)
Optional. Connection Pool flags, as a list of "key": "value" pairs.
map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getPoolerCount()
public abstract int getPoolerCount()
Output only. The number of running poolers per instance.
int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The poolerCount. |