Class ConnectSettings.ConnectPoolNodeConfig (0.1.0)

public static final class ConnectSettings.ConnectPoolNodeConfig extends GeneratedMessage implements ConnectSettings.ConnectPoolNodeConfigOrBuilder

Details of a single read pool node of a read pool.

Protobuf type google.cloud.sql.v1beta4.ConnectSettings.ConnectPoolNodeConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ConnectSettings.ConnectPoolNodeConfig

Static Fields

DNS_NAMES_FIELD_NUMBER

public static final int DNS_NAMES_FIELD_NUMBER
Field Value
Type Description
int

DNS_NAME_FIELD_NUMBER

public static final int DNS_NAME_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESSES_FIELD_NUMBER

public static final int IP_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectSettings.ConnectPoolNodeConfig getDefaultInstance()
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig

getDescriptor()

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

newBuilder()

public static ConnectSettings.ConnectPoolNodeConfig.Builder newBuilder()
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig.Builder

newBuilder(ConnectSettings.ConnectPoolNodeConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static ConnectSettings.ConnectPoolNodeConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ConnectSettings.ConnectPoolNodeConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ConnectSettings.ConnectPoolNodeConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ConnectSettings.ConnectPoolNodeConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ConnectSettings.ConnectPoolNodeConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ConnectSettings.ConnectPoolNodeConfig> parser()
Returns
Type Description
Parser<ConnectPoolNodeConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConnectSettings.ConnectPoolNodeConfig getDefaultInstanceForType()
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig

getDnsName()

public String getDnsName()

Output only. The DNS name of the read pool node.

optional string dns_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dnsName.

getDnsNameBytes()

public ByteString getDnsNameBytes()

Output only. The DNS name of the read pool node.

optional string dns_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dnsName.

getDnsNames(int index)

public DnsNameMapping getDnsNames(int index)

Output only. The list of DNS names used by this read pool node.

repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DnsNameMapping

getDnsNamesCount()

public int getDnsNamesCount()

Output only. The list of DNS names used by this read pool node.

repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDnsNamesList()

public List<DnsNameMapping> getDnsNamesList()

Output only. The list of DNS names used by this read pool node.

repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DnsNameMapping>

getDnsNamesOrBuilder(int index)

public DnsNameMappingOrBuilder getDnsNamesOrBuilder(int index)

Output only. The list of DNS names used by this read pool node.

repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DnsNameMappingOrBuilder

getDnsNamesOrBuilderList()

public List<? extends DnsNameMappingOrBuilder> getDnsNamesOrBuilderList()

Output only. The list of DNS names used by this read pool node.

repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.DnsNameMappingOrBuilder>

getIpAddresses(int index)

public IpMapping getIpAddresses(int index)

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IpMapping

getIpAddressesCount()

public int getIpAddressesCount()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getIpAddressesList()

public List<IpMapping> getIpAddressesList()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<IpMapping>

getIpAddressesOrBuilder(int index)

public IpMappingOrBuilder getIpAddressesOrBuilder(int index)

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IpMappingOrBuilder

getIpAddressesOrBuilderList()

public List<? extends IpMappingOrBuilder> getIpAddressesOrBuilderList()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.IpMappingOrBuilder>

getName()

public String getName()

Output only. The name of the read pool node. Doesn't include the project ID.

optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the read pool node. Doesn't include the project ID.

optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ConnectSettings.ConnectPoolNodeConfig> getParserForType()
Returns
Type Description
Parser<ConnectPoolNodeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDnsName()

public boolean hasDnsName()

Output only. The DNS name of the read pool node.

optional string dns_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dnsName field is set.

hasName()

public boolean hasName()

Output only. The name of the read pool node. Doesn't include the project ID.

optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the name field is set.

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 ConnectSettings.ConnectPoolNodeConfig.Builder newBuilderForType()
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public ConnectSettings.ConnectPoolNodeConfig.Builder toBuilder()
Returns
Type Description
ConnectSettings.ConnectPoolNodeConfig.Builder

writeTo(CodedOutputStream output)

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