Package com.google.cloud.clouddms.v1
Class PostgreSqlConnectionProfile.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
- com.google.cloud.clouddms.v1.PostgreSqlConnectionProfile.Builder
-
- All Implemented Interfaces:
PostgreSqlConnectionProfileOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PostgreSqlConnectionProfile
public static final class PostgreSqlConnectionProfile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder> implements PostgreSqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for PostgreSQL databases.
Protobuf typegoogle.cloud.clouddms.v1.PostgreSqlConnectionProfile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PostgreSqlConnectionProfile.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PostgreSqlConnectionProfilebuild()PostgreSqlConnectionProfilebuildPartial()PostgreSqlConnectionProfile.Builderclear()PostgreSqlConnectionProfile.BuilderclearCloudSqlId()If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.BuilderclearConnectivity()PostgreSqlConnectionProfile.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PostgreSqlConnectionProfile.BuilderclearHost()Required.PostgreSqlConnectionProfile.BuilderclearNetworkArchitecture()Output only.PostgreSqlConnectionProfile.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PostgreSqlConnectionProfile.BuilderclearPassword()Required.PostgreSqlConnectionProfile.BuilderclearPasswordSet()Output only.PostgreSqlConnectionProfile.BuilderclearPort()Required.PostgreSqlConnectionProfile.BuilderclearPrivateServiceConnectConnectivity()Private service connect connectivity.PostgreSqlConnectionProfile.BuilderclearSsl()SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.BuilderclearStaticIpConnectivity()Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.BuilderclearUsername()Required.PostgreSqlConnectionProfile.Builderclone()StringgetCloudSqlId()If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.com.google.protobuf.ByteStringgetCloudSqlIdBytes()If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.ConnectivityCasegetConnectivityCase()PostgreSqlConnectionProfilegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetHost()Required.com.google.protobuf.ByteStringgetHostBytes()Required.NetworkArchitecturegetNetworkArchitecture()Output only.intgetNetworkArchitectureValue()Output only.StringgetPassword()Required.com.google.protobuf.ByteStringgetPasswordBytes()Required.booleangetPasswordSet()Output only.intgetPort()Required.PrivateServiceConnectConnectivitygetPrivateServiceConnectConnectivity()Private service connect connectivity.PrivateServiceConnectConnectivity.BuildergetPrivateServiceConnectConnectivityBuilder()Private service connect connectivity.PrivateServiceConnectConnectivityOrBuildergetPrivateServiceConnectConnectivityOrBuilder()Private service connect connectivity.SslConfiggetSsl()SSL configuration for the destination to connect to the source database.SslConfig.BuildergetSslBuilder()SSL configuration for the destination to connect to the source database.SslConfigOrBuildergetSslOrBuilder()SSL configuration for the destination to connect to the source database.StaticIpConnectivitygetStaticIpConnectivity()Static ip connectivity data (default, no additional details needed).StaticIpConnectivity.BuildergetStaticIpConnectivityBuilder()Static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuildergetStaticIpConnectivityOrBuilder()Static ip connectivity data (default, no additional details needed).StringgetUsername()Required.com.google.protobuf.ByteStringgetUsernameBytes()Required.booleanhasPrivateServiceConnectConnectivity()Private service connect connectivity.booleanhasSsl()SSL configuration for the destination to connect to the source database.booleanhasStaticIpConnectivity()Static ip connectivity data (default, no additional details needed).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PostgreSqlConnectionProfile.BuildermergeFrom(PostgreSqlConnectionProfile other)PostgreSqlConnectionProfile.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PostgreSqlConnectionProfile.BuildermergeFrom(com.google.protobuf.Message other)PostgreSqlConnectionProfile.BuildermergePrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)Private service connect connectivity.PostgreSqlConnectionProfile.BuildermergeSsl(SslConfig value)SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.BuildermergeStaticIpConnectivity(StaticIpConnectivity value)Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PostgreSqlConnectionProfile.BuildersetCloudSqlId(String value)If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.BuildersetCloudSqlIdBytes(com.google.protobuf.ByteString value)If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PostgreSqlConnectionProfile.BuildersetHost(String value)Required.PostgreSqlConnectionProfile.BuildersetHostBytes(com.google.protobuf.ByteString value)Required.PostgreSqlConnectionProfile.BuildersetNetworkArchitecture(NetworkArchitecture value)Output only.PostgreSqlConnectionProfile.BuildersetNetworkArchitectureValue(int value)Output only.PostgreSqlConnectionProfile.BuildersetPassword(String value)Required.PostgreSqlConnectionProfile.BuildersetPasswordBytes(com.google.protobuf.ByteString value)Required.PostgreSqlConnectionProfile.BuildersetPasswordSet(boolean value)Output only.PostgreSqlConnectionProfile.BuildersetPort(int value)Required.PostgreSqlConnectionProfile.BuildersetPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)Private service connect connectivity.PostgreSqlConnectionProfile.BuildersetPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity.Builder builderForValue)Private service connect connectivity.PostgreSqlConnectionProfile.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PostgreSqlConnectionProfile.BuildersetSsl(SslConfig value)SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.BuildersetSsl(SslConfig.Builder builderForValue)SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.BuildersetStaticIpConnectivity(StaticIpConnectivity value)Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.BuildersetStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PostgreSqlConnectionProfile.BuildersetUsername(String value)Required.PostgreSqlConnectionProfile.BuildersetUsernameBytes(com.google.protobuf.ByteString value)Required.-
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<PostgreSqlConnectionProfile.Builder>
-
clear
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>
-
getDefaultInstanceForType
public PostgreSqlConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PostgreSqlConnectionProfile build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PostgreSqlConnectionProfile buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>
-
setField
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>
-
clearField
public PostgreSqlConnectionProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
clearOneof
public PostgreSqlConnectionProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
setRepeatedField
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>
-
addRepeatedField
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>
-
mergeFrom
public PostgreSqlConnectionProfile.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeFrom
public PostgreSqlConnectionProfile.Builder mergeFrom(PostgreSqlConnectionProfile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeFrom
public PostgreSqlConnectionProfile.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<PostgreSqlConnectionProfile.Builder>- Throws:
IOException
-
getConnectivityCase
public PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCasein interfacePostgreSqlConnectionProfileOrBuilder
-
clearConnectivity
public PostgreSqlConnectionProfile.Builder clearConnectivity()
-
getHost
public String getHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for host.
-
setHost
public PostgreSqlConnectionProfile.Builder setHost(String value)
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
public PostgreSqlConnectionProfile.Builder clearHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setHostBytes
public PostgreSqlConnectionProfile.Builder setHostBytes(com.google.protobuf.ByteString value)
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
getPort
public int getPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPortin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The port.
-
setPort
public PostgreSqlConnectionProfile.Builder setPort(int value)
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public PostgreSqlConnectionProfile.Builder clearPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getUsername
public String getUsername()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUsernamein interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getUsernameBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for username.
-
setUsername
public PostgreSqlConnectionProfile.Builder setUsername(String value)
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
public PostgreSqlConnectionProfile.Builder clearUsername()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setUsernameBytes
public PostgreSqlConnectionProfile.Builder setUsernameBytes(com.google.protobuf.ByteString value)
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
getPassword
public String getPassword()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Specified by:
getPasswordin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Specified by:
getPasswordBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for password.
-
setPassword
public PostgreSqlConnectionProfile.Builder setPassword(String value)
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Parameters:
value- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
public PostgreSqlConnectionProfile.Builder clearPassword()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setPasswordBytes
public PostgreSqlConnectionProfile.Builder setPasswordBytes(com.google.protobuf.ByteString value)
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for password to set.- Returns:
- This builder for chaining.
-
getPasswordSet
public boolean getPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPasswordSetin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The passwordSet.
-
setPasswordSet
public PostgreSqlConnectionProfile.Builder setPasswordSet(boolean value)
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The passwordSet to set.- Returns:
- This builder for chaining.
-
clearPasswordSet
public PostgreSqlConnectionProfile.Builder clearPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSsl
public boolean hasSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;- Specified by:
hasSslin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- Whether the ssl field is set.
-
getSsl
public SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;- Specified by:
getSslin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The ssl.
-
setSsl
public PostgreSqlConnectionProfile.Builder setSsl(SslConfig value)
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
setSsl
public PostgreSqlConnectionProfile.Builder setSsl(SslConfig.Builder builderForValue)
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
mergeSsl
public PostgreSqlConnectionProfile.Builder mergeSsl(SslConfig value)
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
clearSsl
public PostgreSqlConnectionProfile.Builder clearSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
getSslBuilder
public SslConfig.Builder getSslBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
getSslOrBuilder
public SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;- Specified by:
getSslOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
getCloudSqlId
public String getCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;- Specified by:
getCloudSqlIdin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The cloudSqlId.
-
getCloudSqlIdBytes
public com.google.protobuf.ByteString getCloudSqlIdBytes()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;- Specified by:
getCloudSqlIdBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for cloudSqlId.
-
setCloudSqlId
public PostgreSqlConnectionProfile.Builder setCloudSqlId(String value)
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;- Parameters:
value- The cloudSqlId to set.- Returns:
- This builder for chaining.
-
clearCloudSqlId
public PostgreSqlConnectionProfile.Builder clearCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;- Returns:
- This builder for chaining.
-
setCloudSqlIdBytes
public PostgreSqlConnectionProfile.Builder setCloudSqlIdBytes(com.google.protobuf.ByteString value)
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;- Parameters:
value- The bytes for cloudSqlId to set.- Returns:
- This builder for chaining.
-
getNetworkArchitectureValue
public int getNetworkArchitectureValue()
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkArchitectureValuein interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The enum numeric value on the wire for networkArchitecture.
-
setNetworkArchitectureValue
public PostgreSqlConnectionProfile.Builder setNetworkArchitectureValue(int value)
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for networkArchitecture to set.- Returns:
- This builder for chaining.
-
getNetworkArchitecture
public NetworkArchitecture getNetworkArchitecture()
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkArchitecturein interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The networkArchitecture.
-
setNetworkArchitecture
public PostgreSqlConnectionProfile.Builder setNetworkArchitecture(NetworkArchitecture value)
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The networkArchitecture to set.- Returns:
- This builder for chaining.
-
clearNetworkArchitecture
public PostgreSqlConnectionProfile.Builder clearNetworkArchitecture()
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasStaticIpConnectivity
public boolean hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
hasStaticIpConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- Whether the staticIpConnectivity field is set.
-
getStaticIpConnectivity
public StaticIpConnectivity getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
getStaticIpConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The staticIpConnectivity.
-
setStaticIpConnectivity
public PostgreSqlConnectionProfile.Builder setStaticIpConnectivity(StaticIpConnectivity value)
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
setStaticIpConnectivity
public PostgreSqlConnectionProfile.Builder setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
mergeStaticIpConnectivity
public PostgreSqlConnectionProfile.Builder mergeStaticIpConnectivity(StaticIpConnectivity value)
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
clearStaticIpConnectivity
public PostgreSqlConnectionProfile.Builder clearStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
getStaticIpConnectivityBuilder
public StaticIpConnectivity.Builder getStaticIpConnectivityBuilder()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
getStaticIpConnectivityOrBuilder
public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
getStaticIpConnectivityOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
hasPrivateServiceConnectConnectivity
public boolean hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
hasPrivateServiceConnectConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- Whether the privateServiceConnectConnectivity field is set.
-
getPrivateServiceConnectConnectivity
public PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
getPrivateServiceConnectConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The privateServiceConnectConnectivity.
-
setPrivateServiceConnectConnectivity
public PostgreSqlConnectionProfile.Builder setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
setPrivateServiceConnectConnectivity
public PostgreSqlConnectionProfile.Builder setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity.Builder builderForValue)
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
mergePrivateServiceConnectConnectivity
public PostgreSqlConnectionProfile.Builder mergePrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
clearPrivateServiceConnectConnectivity
public PostgreSqlConnectionProfile.Builder clearPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
getPrivateServiceConnectConnectivityBuilder
public PrivateServiceConnectConnectivity.Builder getPrivateServiceConnectConnectivityBuilder()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
getPrivateServiceConnectConnectivityOrBuilder
public PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
getPrivateServiceConnectConnectivityOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
setUnknownFields
public final PostgreSqlConnectionProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeUnknownFields
public final PostgreSqlConnectionProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
-