public static final class ConnectionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder> implements ConnectionInfoOrBuilder
ConnectionInfo singleton resource. https://google.aip.dev/156Protobuf type
google.cloud.alloydb.v1.ConnectionInfo| Modifier and Type | Method and Description |
|---|---|
ConnectionInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConnectionInfo |
build() |
ConnectionInfo |
buildPartial() |
ConnectionInfo.Builder |
clear() |
ConnectionInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConnectionInfo.Builder |
clearPublicIpAddress()
Output only.
|
ConnectionInfo.Builder |
clone() |
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 |
getPublicIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getPublicIpAddressBytes()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectionInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setPublicIpAddress(String value)
Output only.
|
ConnectionInfo.Builder |
setPublicIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
ConnectionInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConnectionInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public ConnectionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public 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.GeneratedMessageV3.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.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 final ConnectionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>public final ConnectionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.