public static final class ConnectionPoolFlags.Builder extends GeneratedMessage.Builder<ConnectionPoolFlags.Builder> implements ConnectionPoolFlagsOrBuilderConnection pool flags for Cloud SQL instances managed connection pool configuration.
Protobuf type google.cloud.sql.v1beta4.ConnectionPoolFlags
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConnectionPoolFlags.BuilderImplements
ConnectionPoolFlagsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConnectionPoolFlags build()| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags |
|
buildPartial()
public ConnectionPoolFlags buildPartial()| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags |
|
clear()
public ConnectionPoolFlags.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
|
clearName()
public ConnectionPoolFlags.Builder clearName()Required. The name of the flag.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |
clearValue()
public ConnectionPoolFlags.Builder clearValue() Required. The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ConnectionPoolFlags getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the flag.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the flag.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValue()
public String getValue() Required. The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes() Required. The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConnectionPoolFlags other)
public ConnectionPoolFlags.Builder mergeFrom(ConnectionPoolFlags other)| Parameter | |
|---|---|
| Name | Description |
other |
ConnectionPoolFlags |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionPoolFlags.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConnectionPoolFlags.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
|
setName(String value)
public ConnectionPoolFlags.Builder setName(String value)Required. The name of the flag.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ConnectionPoolFlags.Builder setNameBytes(ByteString value)Required. The name of the flag.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |
setValue(String value)
public ConnectionPoolFlags.Builder setValue(String value) Required. The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public ConnectionPoolFlags.Builder setValueBytes(ByteString value) Required. The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolFlags.Builder |
This builder for chaining. |