public static final class ConnectionInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConnectionInfo.Builder> implements ConnectionInfoOrBuilder
ConnectionInfo singleton resource. https://google.aip.dev/156Protobuf type
google.cloud.alloydb.v1beta.ConnectionInfo| Modifier and Type | Method and Description |
|---|---|
ConnectionInfo.Builder |
addAllPemCertificateChain(Iterable<String> values)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
ConnectionInfo.Builder |
addPemCertificateChain(String value)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
ConnectionInfo.Builder |
addPemCertificateChainBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
ConnectionInfo |
build() |
ConnectionInfo |
buildPartial() |
ConnectionInfo.Builder |
clear() |
ConnectionInfo.Builder |
clearInstanceUid()
Output only.
|
ConnectionInfo.Builder |
clearIpAddress()
Output only.
|
ConnectionInfo.Builder |
clearName()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
|
ConnectionInfo.Builder |
clearPemCertificateChain()
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
ConnectionInfo.Builder |
clearPscDnsName()
Output only.
|
ConnectionInfo.Builder |
clearPublicIpAddress()
Output only.
|
ConnectionInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInstanceUid()
Output only.
|
com.google.protobuf.ByteString |
getInstanceUidBytes()
Output only.
|
String |
getIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Output only.
|
String |
getName()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
|
String |
getPemCertificateChain(int index)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
com.google.protobuf.ByteString |
getPemCertificateChainBytes(int index)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
int |
getPemCertificateChainCount()
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
com.google.protobuf.ProtocolStringList |
getPemCertificateChainList()
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
String |
getPscDnsName()
Output only.
|
com.google.protobuf.ByteString |
getPscDnsNameBytes()
Output only.
|
String |
getPublicIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getPublicIpAddressBytes()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConnectionInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConnectionInfo.Builder |
mergeFrom(ConnectionInfo other) |
ConnectionInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConnectionInfo.Builder |
setInstanceUid(String value)
Output only.
|
ConnectionInfo.Builder |
setInstanceUidBytes(com.google.protobuf.ByteString value)
Output only.
|
ConnectionInfo.Builder |
setIpAddress(String value)
Output only.
|
ConnectionInfo.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
ConnectionInfo.Builder |
setName(String value)
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
|
ConnectionInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
|
ConnectionInfo.Builder |
setPemCertificateChain(int index,
String value)
Deprecated.
google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.
See google/cloud/alloydb/v1beta/resources.proto;l=1371
|
ConnectionInfo.Builder |
setPscDnsName(String value)
Output only.
|
ConnectionInfo.Builder |
setPscDnsNameBytes(com.google.protobuf.ByteString value)
Output only.
|
ConnectionInfo.Builder |
setPublicIpAddress(String value)
Output only.
|
ConnectionInfo.Builder |
setPublicIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ConnectionInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConnectionInfo.Builder>public ConnectionInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConnectionInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConnectionInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConnectionInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder mergeFrom(ConnectionInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>IOExceptionpublic String getName()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
string name = 1;getName in interface ConnectionInfoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
string name = 1;getNameBytes in interface ConnectionInfoOrBuilderpublic ConnectionInfo.Builder setName(String value)
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
string name = 1;value - The name to set.public ConnectionInfo.Builder clearName()
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
string name = 1;public ConnectionInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the ConnectionInfo singleton resource, e.g.:
projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
This field currently has no semantic meaning.
string name = 1;value - The bytes for name to set.public String getIpAddress()
Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getIpAddress in interface ConnectionInfoOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getIpAddressBytes in interface ConnectionInfoOrBuilderpublic ConnectionInfo.Builder setIpAddress(String value)
Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The ipAddress to set.public ConnectionInfo.Builder clearIpAddress()
Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public ConnectionInfo.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for ipAddress to set.public String getPublicIpAddress()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getPublicIpAddress in interface ConnectionInfoOrBuilderpublic com.google.protobuf.ByteString getPublicIpAddressBytes()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getPublicIpAddressBytes in interface ConnectionInfoOrBuilderpublic ConnectionInfo.Builder setPublicIpAddress(String value)
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The publicIpAddress to set.public ConnectionInfo.Builder clearPublicIpAddress()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
public ConnectionInfo.Builder setPublicIpAddressBytes(com.google.protobuf.ByteString value)
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The bytes for publicIpAddress to set.@Deprecated public com.google.protobuf.ProtocolStringList getPemCertificateChainList()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
getPemCertificateChainList in interface ConnectionInfoOrBuilder@Deprecated public int getPemCertificateChainCount()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
getPemCertificateChainCount in interface ConnectionInfoOrBuilder@Deprecated public String getPemCertificateChain(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
getPemCertificateChain in interface ConnectionInfoOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getPemCertificateChainBytes(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
getPemCertificateChainBytes in interface ConnectionInfoOrBuilderindex - The index of the value to return.@Deprecated public ConnectionInfo.Builder setPemCertificateChain(int index, String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The pemCertificateChain to set.@Deprecated public ConnectionInfo.Builder addPemCertificateChain(String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
value - The pemCertificateChain to add.@Deprecated public ConnectionInfo.Builder addAllPemCertificateChain(Iterable<String> values)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
values - The pemCertificateChain to add.@Deprecated public ConnectionInfo.Builder clearPemCertificateChain()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public ConnectionInfo.Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes of the pemCertificateChain to add.public String getInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstanceUid in interface ConnectionInfoOrBuilderpublic com.google.protobuf.ByteString getInstanceUidBytes()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstanceUidBytes in interface ConnectionInfoOrBuilderpublic ConnectionInfo.Builder setInstanceUid(String value)
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The instanceUid to set.public ConnectionInfo.Builder clearInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public ConnectionInfo.Builder setInstanceUidBytes(com.google.protobuf.ByteString value)
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for instanceUid to set.public String getPscDnsName()
Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getPscDnsName in interface ConnectionInfoOrBuilderpublic com.google.protobuf.ByteString getPscDnsNameBytes()
Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getPscDnsNameBytes in interface ConnectionInfoOrBuilderpublic ConnectionInfo.Builder setPscDnsName(String value)
Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The pscDnsName to set.public ConnectionInfo.Builder clearPscDnsName()
Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public ConnectionInfo.Builder setPscDnsNameBytes(com.google.protobuf.ByteString value)
Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for pscDnsName to set.Copyright © 2026 Google LLC. All rights reserved.