public static final class DatabaseInstance.PoolNodeConfig.Builder extends GeneratedMessage.Builder<DatabaseInstance.PoolNodeConfig.Builder> implements DatabaseInstance.PoolNodeConfigOrBuilderDetails of a single read pool node of a read pool.
Protobuf type google.cloud.sql.v1.DatabaseInstance.PoolNodeConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseInstance.PoolNodeConfig.BuilderImplements
DatabaseInstance.PoolNodeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDnsNames(Iterable<? extends DnsNameMapping> values)
public DatabaseInstance.PoolNodeConfig.Builder addAllDnsNames(Iterable<? extends DnsNameMapping> values)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.sql.v1.DnsNameMapping> |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addAllIpAddresses(Iterable<? extends IpMapping> values)
public DatabaseInstance.PoolNodeConfig.Builder addAllIpAddresses(Iterable<? extends IpMapping> values)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.sql.v1.IpMapping> |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addAllPscAutoConnections(Iterable<? extends PscAutoConnectionConfig> values)
public DatabaseInstance.PoolNodeConfig.Builder addAllPscAutoConnections(Iterable<? extends PscAutoConnectionConfig> values)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.sql.v1.PscAutoConnectionConfig> |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addDnsNames(DnsNameMapping value)
public DatabaseInstance.PoolNodeConfig.Builder addDnsNames(DnsNameMapping value)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DnsNameMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addDnsNames(DnsNameMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addDnsNames(DnsNameMapping.Builder builderForValue)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DnsNameMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addDnsNames(int index, DnsNameMapping value)
public DatabaseInstance.PoolNodeConfig.Builder addDnsNames(int index, DnsNameMapping value)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DnsNameMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addDnsNames(int index, DnsNameMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addDnsNames(int index, DnsNameMapping.Builder builderForValue)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DnsNameMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addDnsNamesBuilder()
public DnsNameMapping.Builder addDnsNamesBuilder()Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
addDnsNamesBuilder(int index)
public DnsNameMapping.Builder addDnsNamesBuilder(int index)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
addIpAddresses(IpMapping value)
public DatabaseInstance.PoolNodeConfig.Builder addIpAddresses(IpMapping value)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
IpMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addIpAddresses(IpMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addIpAddresses(IpMapping.Builder builderForValue)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IpMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addIpAddresses(int index, IpMapping value)
public DatabaseInstance.PoolNodeConfig.Builder addIpAddresses(int index, IpMapping value)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IpMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addIpAddresses(int index, IpMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addIpAddresses(int index, IpMapping.Builder builderForValue)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IpMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addIpAddressesBuilder()
public IpMapping.Builder addIpAddressesBuilder()Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
IpMapping.Builder |
|
addIpAddressesBuilder(int index)
public IpMapping.Builder addIpAddressesBuilder(int index)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IpMapping.Builder |
|
addPscAutoConnections(PscAutoConnectionConfig value)
public DatabaseInstance.PoolNodeConfig.Builder addPscAutoConnections(PscAutoConnectionConfig value)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PscAutoConnectionConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addPscAutoConnections(PscAutoConnectionConfig.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addPscAutoConnections(PscAutoConnectionConfig.Builder builderForValue)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PscAutoConnectionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addPscAutoConnections(int index, PscAutoConnectionConfig value)
public DatabaseInstance.PoolNodeConfig.Builder addPscAutoConnections(int index, PscAutoConnectionConfig value)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PscAutoConnectionConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addPscAutoConnections(int index, PscAutoConnectionConfig.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder addPscAutoConnections(int index, PscAutoConnectionConfig.Builder builderForValue)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PscAutoConnectionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
addPscAutoConnectionsBuilder()
public PscAutoConnectionConfig.Builder addPscAutoConnectionsBuilder()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfig.Builder |
|
addPscAutoConnectionsBuilder(int index)
public PscAutoConnectionConfig.Builder addPscAutoConnectionsBuilder(int index)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfig.Builder |
|
build()
public DatabaseInstance.PoolNodeConfig build()| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig |
|
buildPartial()
public DatabaseInstance.PoolNodeConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig |
|
clear()
public DatabaseInstance.PoolNodeConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
clearDnsName()
public DatabaseInstance.PoolNodeConfig.Builder clearDnsName()Output only. The DNS name of the read pool node.
optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
clearDnsNames()
public DatabaseInstance.PoolNodeConfig.Builder clearDnsNames()Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
clearGceZone()
public DatabaseInstance.PoolNodeConfig.Builder clearGceZone()Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
clearIpAddresses()
public DatabaseInstance.PoolNodeConfig.Builder clearIpAddresses()Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
clearName()
public DatabaseInstance.PoolNodeConfig.Builder clearName()Output only. The name of the read pool node, to be used for retrieving metrics and logs.
optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
clearPscAutoConnections()
public DatabaseInstance.PoolNodeConfig.Builder clearPscAutoConnections()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
clearPscServiceAttachmentLink()
public DatabaseInstance.PoolNodeConfig.Builder clearPscServiceAttachmentLink()Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
clearState()
public DatabaseInstance.PoolNodeConfig.Builder clearState()Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DatabaseInstance.PoolNodeConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDnsName()
public String getDnsName()Output only. The DNS name of the read pool node.
optional string dns_name = 4 [(.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 = 4 [(.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.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping |
|
getDnsNamesBuilder(int index)
public DnsNameMapping.Builder getDnsNamesBuilder(int index)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
getDnsNamesBuilderList()
public List<DnsNameMapping.Builder> getDnsNamesBuilderList()Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDnsNamesCount()
public int getDnsNamesCount()Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.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.v1.DnsNameMapping dns_names = 6 [(.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.v1.DnsNameMapping dns_names = 6 [(.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.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.DnsNameMappingOrBuilder> |
|
getGceZone()
public String getGceZone()Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The gceZone. |
getGceZoneBytes()
public ByteString getGceZoneBytes()Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gceZone. |
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.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IpMapping |
|
getIpAddressesBuilder(int index)
public IpMapping.Builder getIpAddressesBuilder(int index)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IpMapping.Builder |
|
getIpAddressesBuilderList()
public List<IpMapping.Builder> getIpAddressesBuilderList()Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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.v1.IpMapping ip_addresses = 3 [(.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.v1.IpMapping ip_addresses = 3 [(.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.v1.IpMapping ip_addresses = 3 [(.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.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.IpMappingOrBuilder> |
|
getName()
public String getName()Output only. The name of the read pool node, to be used for retrieving metrics and logs.
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, to be used for retrieving metrics and logs.
optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPscAutoConnections(int index)
public PscAutoConnectionConfig getPscAutoConnections(int index)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfig |
|
getPscAutoConnectionsBuilder(int index)
public PscAutoConnectionConfig.Builder getPscAutoConnectionsBuilder(int index)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfig.Builder |
|
getPscAutoConnectionsBuilderList()
public List<PscAutoConnectionConfig.Builder> getPscAutoConnectionsBuilderList()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPscAutoConnectionsCount()
public int getPscAutoConnectionsCount()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPscAutoConnectionsList()
public List<PscAutoConnectionConfig> getPscAutoConnectionsList()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<PscAutoConnectionConfig> |
|
getPscAutoConnectionsOrBuilder(int index)
public PscAutoConnectionConfigOrBuilder getPscAutoConnectionsOrBuilder(int index)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PscAutoConnectionConfigOrBuilder |
|
getPscAutoConnectionsOrBuilderList()
public List<? extends PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.PscAutoConnectionConfigOrBuilder> |
|
getPscServiceAttachmentLink()
public String getPscServiceAttachmentLink()Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pscServiceAttachmentLink. |
getPscServiceAttachmentLinkBytes()
public ByteString getPscServiceAttachmentLinkBytes()Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pscServiceAttachmentLink. |
getState()
public DatabaseInstance.SqlInstanceState getState()Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlInstanceState |
The state. |
getStateValue()
public int getStateValue()Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasDnsName()
public boolean hasDnsName()Output only. The DNS name of the read pool node.
optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dnsName field is set. |
hasGceZone()
public boolean hasGceZone()Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gceZone field is set. |
hasName()
public boolean hasName()Output only. The name of the read pool node, to be used for retrieving metrics and logs.
optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasPscServiceAttachmentLink()
public boolean hasPscServiceAttachmentLink()Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscServiceAttachmentLink field is set. |
hasState()
public boolean hasState()Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the state field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseInstance.PoolNodeConfig other)
public DatabaseInstance.PoolNodeConfig.Builder mergeFrom(DatabaseInstance.PoolNodeConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseInstance.PoolNodeConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseInstance.PoolNodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseInstance.PoolNodeConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
removeDnsNames(int index)
public DatabaseInstance.PoolNodeConfig.Builder removeDnsNames(int index)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
removeIpAddresses(int index)
public DatabaseInstance.PoolNodeConfig.Builder removeIpAddresses(int index)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
removePscAutoConnections(int index)
public DatabaseInstance.PoolNodeConfig.Builder removePscAutoConnections(int index)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setDnsName(String value)
public DatabaseInstance.PoolNodeConfig.Builder setDnsName(String value)Output only. The DNS name of the read pool node.
optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dnsName to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setDnsNameBytes(ByteString value)
public DatabaseInstance.PoolNodeConfig.Builder setDnsNameBytes(ByteString value)Output only. The DNS name of the read pool node.
optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dnsName to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setDnsNames(int index, DnsNameMapping value)
public DatabaseInstance.PoolNodeConfig.Builder setDnsNames(int index, DnsNameMapping value)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DnsNameMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setDnsNames(int index, DnsNameMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder setDnsNames(int index, DnsNameMapping.Builder builderForValue)Output only. The list of DNS names used by this read pool node.
repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DnsNameMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setGceZone(String value)
public DatabaseInstance.PoolNodeConfig.Builder setGceZone(String value)Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gceZone to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setGceZoneBytes(ByteString value)
public DatabaseInstance.PoolNodeConfig.Builder setGceZoneBytes(ByteString value)Output only. The zone of the read pool node.
optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gceZone to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setIpAddresses(int index, IpMapping value)
public DatabaseInstance.PoolNodeConfig.Builder setIpAddresses(int index, IpMapping value)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IpMapping |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setIpAddresses(int index, IpMapping.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder setIpAddresses(int index, IpMapping.Builder builderForValue)Output only. Mappings containing IP addresses that can be used to connect to the read pool node.
repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IpMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setName(String value)
public DatabaseInstance.PoolNodeConfig.Builder setName(String value)Output only. The name of the read pool node, to be used for retrieving metrics and logs.
optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DatabaseInstance.PoolNodeConfig.Builder setNameBytes(ByteString value)Output only. The name of the read pool node, to be used for retrieving metrics and logs.
optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setPscAutoConnections(int index, PscAutoConnectionConfig value)
public DatabaseInstance.PoolNodeConfig.Builder setPscAutoConnections(int index, PscAutoConnectionConfig value)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PscAutoConnectionConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setPscAutoConnections(int index, PscAutoConnectionConfig.Builder builderForValue)
public DatabaseInstance.PoolNodeConfig.Builder setPscAutoConnections(int index, PscAutoConnectionConfig.Builder builderForValue)Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.
repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PscAutoConnectionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
|
setPscServiceAttachmentLink(String value)
public DatabaseInstance.PoolNodeConfig.Builder setPscServiceAttachmentLink(String value)Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pscServiceAttachmentLink to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setPscServiceAttachmentLinkBytes(ByteString value)
public DatabaseInstance.PoolNodeConfig.Builder setPscServiceAttachmentLinkBytes(ByteString value)Output only. The Private Service Connect (PSC) service attachment of the read pool node.
optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pscServiceAttachmentLink to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setState(DatabaseInstance.SqlInstanceState value)
public DatabaseInstance.PoolNodeConfig.Builder setState(DatabaseInstance.SqlInstanceState value)Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseInstance.SqlInstanceStateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |
setStateValue(int value)
public DatabaseInstance.PoolNodeConfig.Builder setStateValue(int value)Output only. The current state of the read pool node.
optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig.Builder |
This builder for chaining. |