Package com.google.cloud.alloydb.v1beta
Class ConnectionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
- com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder
-
- All Implemented Interfaces:
ConnectionInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConnectionInfo
public static final class ConnectionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder> implements ConnectionInfoOrBuilder
ConnectionInfo singleton resource. https://google.aip.dev/156
Protobuf typegoogle.cloud.alloydb.v1beta.ConnectionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionInfo.BuilderaddAllPemCertificateChain(Iterable<String> values)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.ConnectionInfo.BuilderaddPemCertificateChain(String value)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.ConnectionInfo.BuilderaddPemCertificateChainBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.ConnectionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionInfobuild()ConnectionInfobuildPartial()ConnectionInfo.Builderclear()ConnectionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConnectionInfo.BuilderclearInstanceUid()Output only.ConnectionInfo.BuilderclearIpAddress()Output only.ConnectionInfo.BuilderclearName()The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.ConnectionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConnectionInfo.BuilderclearPemCertificateChain()Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.ConnectionInfo.Builderclone()ConnectionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstanceUid()Output only.com.google.protobuf.ByteStringgetInstanceUidBytes()Output only.StringgetIpAddress()Output only.com.google.protobuf.ByteStringgetIpAddressBytes()Output only.StringgetName()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.ByteStringgetNameBytes()The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.StringgetPemCertificateChain(int index)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.com.google.protobuf.ByteStringgetPemCertificateChainBytes(int index)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.intgetPemCertificateChainCount()Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.com.google.protobuf.ProtocolStringListgetPemCertificateChainList()Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConnectionInfo.BuildermergeFrom(ConnectionInfo other)ConnectionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConnectionInfo.BuildermergeFrom(com.google.protobuf.Message other)ConnectionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConnectionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConnectionInfo.BuildersetInstanceUid(String value)Output only.ConnectionInfo.BuildersetInstanceUidBytes(com.google.protobuf.ByteString value)Output only.ConnectionInfo.BuildersetIpAddress(String value)Output only.ConnectionInfo.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)Output only.ConnectionInfo.BuildersetName(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.BuildersetNameBytes(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.BuildersetPemCertificateChain(int index, String value)Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated.ConnectionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConnectionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clear
public ConnectionInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
getDefaultInstanceForType
public ConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConnectionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConnectionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConnectionInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
setField
public ConnectionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clearField
public ConnectionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
clearOneof
public ConnectionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
setRepeatedField
public ConnectionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
addRepeatedField
public ConnectionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(ConnectionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeFrom
public ConnectionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectionInfo.Builder>- Throws:
IOException
-
getName
public 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;- Specified by:
getNamein interfaceConnectionInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceConnectionInfoOrBuilder- Returns:
- The bytes for name.
-
setName
public 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getIpAddress
public String getIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIpAddressin interfaceConnectionInfoOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIpAddressBytesin interfaceConnectionInfoOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
public ConnectionInfo.Builder setIpAddress(String value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public ConnectionInfo.Builder clearIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIpAddressBytes
public ConnectionInfo.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getPemCertificateChainList
@Deprecated public com.google.protobuf.ProtocolStringList getPemCertificateChainList()
Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=894Output 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];- Specified by:
getPemCertificateChainListin interfaceConnectionInfoOrBuilder- Returns:
- A list containing the pemCertificateChain.
-
getPemCertificateChainCount
@Deprecated public int getPemCertificateChainCount()
Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=894Output 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];- Specified by:
getPemCertificateChainCountin interfaceConnectionInfoOrBuilder- Returns:
- The count of pemCertificateChain.
-
getPemCertificateChain
@Deprecated public String getPemCertificateChain(int index)
Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=894Output 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];- Specified by:
getPemCertificateChainin interfaceConnectionInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pemCertificateChain at the given index.
-
getPemCertificateChainBytes
@Deprecated public 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=894Output 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];- Specified by:
getPemCertificateChainBytesin interfaceConnectionInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pemCertificateChain at the given index.
-
setPemCertificateChain
@Deprecated public 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=894Output 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];- Parameters:
index- The index to set the value at.value- The pemCertificateChain to set.- Returns:
- This builder for chaining.
-
addPemCertificateChain
@Deprecated public ConnectionInfo.Builder addPemCertificateChain(String value)
Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=894Output 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];- Parameters:
value- The pemCertificateChain to add.- Returns:
- This builder for chaining.
-
addAllPemCertificateChain
@Deprecated public 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=894Output 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];- Parameters:
values- The pemCertificateChain to add.- Returns:
- This builder for chaining.
-
clearPemCertificateChain
@Deprecated public ConnectionInfo.Builder clearPemCertificateChain()
Deprecated.google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=894Output 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];- Returns:
- This builder for chaining.
-
addPemCertificateChainBytes
@Deprecated public 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=894Output 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];- Parameters:
value- The bytes of the pemCertificateChain to add.- Returns:
- This builder for chaining.
-
getInstanceUid
public String getInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstanceUidin interfaceConnectionInfoOrBuilder- Returns:
- The instanceUid.
-
getInstanceUidBytes
public com.google.protobuf.ByteString getInstanceUidBytes()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInstanceUidBytesin interfaceConnectionInfoOrBuilder- Returns:
- The bytes for instanceUid.
-
setInstanceUid
public ConnectionInfo.Builder setInstanceUid(String value)
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The instanceUid to set.- Returns:
- This builder for chaining.
-
clearInstanceUid
public ConnectionInfo.Builder clearInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setInstanceUidBytes
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];- Parameters:
value- The bytes for instanceUid to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConnectionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
mergeUnknownFields
public final ConnectionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectionInfo.Builder>
-
-