Class ConnectionPoolFlags (0.1.0)

public final class ConnectionPoolFlags extends GeneratedMessage implements ConnectionPoolFlagsOrBuilder

Connection pool flags for Cloud SQL instances managed connection pool configuration.

Protobuf type google.cloud.sql.v1beta4.ConnectionPoolFlags

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectionPoolFlags getDefaultInstance()
Returns
Type Description
ConnectionPoolFlags

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConnectionPoolFlags.Builder newBuilder()
Returns
Type Description
ConnectionPoolFlags.Builder

newBuilder(ConnectionPoolFlags prototype)

public static ConnectionPoolFlags.Builder newBuilder(ConnectionPoolFlags prototype)
Parameter
Name Description
prototype ConnectionPoolFlags
Returns
Type Description
ConnectionPoolFlags.Builder

parseDelimitedFrom(InputStream input)

public static ConnectionPoolFlags parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConnectionPoolFlags parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConnectionPoolFlags parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConnectionPoolFlags parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConnectionPoolFlags parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConnectionPoolFlags parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConnectionPoolFlags parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionPoolFlags
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConnectionPoolFlags> parser()
Returns
Type Description
Parser<ConnectionPoolFlags>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConnectionPoolFlags getDefaultInstanceForType()
Returns
Type Description
ConnectionPoolFlags

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.

getParserForType()

public Parser<ConnectionPoolFlags> getParserForType()
Returns
Type Description
Parser<ConnectionPoolFlags>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConnectionPoolFlags.Builder newBuilderForType()
Returns
Type Description
ConnectionPoolFlags.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ConnectionPoolFlags.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConnectionPoolFlags.Builder
Overrides

toBuilder()

public ConnectionPoolFlags.Builder toBuilder()
Returns
Type Description
ConnectionPoolFlags.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException