public static final class DatabaseInstance.PoolNodeConfig extends GeneratedMessage implements DatabaseInstance.PoolNodeConfigOrBuilder
Details of a single read pool node of a read pool.
Protobuf type google.cloud.sql.v1.DatabaseInstance.PoolNodeConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
GCE_ZONE_FIELD_NUMBER
public static final int GCE_ZONE_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 |
|
PSC_AUTO_CONNECTIONS_FIELD_NUMBER
public static final int PSC_AUTO_CONNECTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PSC_SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
public static final int PSC_SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DatabaseInstance.PoolNodeConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DatabaseInstance.PoolNodeConfig.Builder newBuilder()
newBuilder(DatabaseInstance.PoolNodeConfig prototype)
public static DatabaseInstance.PoolNodeConfig.Builder newBuilder(DatabaseInstance.PoolNodeConfig prototype)
public static DatabaseInstance.PoolNodeConfig parseDelimitedFrom(InputStream input)
public static DatabaseInstance.PoolNodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DatabaseInstance.PoolNodeConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatabaseInstance.PoolNodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DatabaseInstance.PoolNodeConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseInstance.PoolNodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseInstance.PoolNodeConfig parseFrom(CodedInputStream input)
public static DatabaseInstance.PoolNodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseInstance.PoolNodeConfig parseFrom(InputStream input)
public static DatabaseInstance.PoolNodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DatabaseInstance.PoolNodeConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatabaseInstance.PoolNodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DatabaseInstance.PoolNodeConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DatabaseInstance.PoolNodeConfig getDefaultInstanceForType()
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
|
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];
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
|
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
|
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];
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
|
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()
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.
|
getParserForType()
public Parser<DatabaseInstance.PoolNodeConfig> getParserForType()
Overrides
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
|
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];
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
|
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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DatabaseInstance.PoolNodeConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DatabaseInstance.PoolNodeConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DatabaseInstance.PoolNodeConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides