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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PostgreSqlConnectionProfile
build()
PostgreSqlConnectionProfile
buildPartial()
PostgreSqlConnectionProfile.Builder
clear()
PostgreSqlConnectionProfile.Builder
clearCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.Builder
clearConnectivity()
PostgreSqlConnectionProfile.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PostgreSqlConnectionProfile.Builder
clearHost()
Required.PostgreSqlConnectionProfile.Builder
clearNetworkArchitecture()
Output only.PostgreSqlConnectionProfile.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PostgreSqlConnectionProfile.Builder
clearPassword()
Required.PostgreSqlConnectionProfile.Builder
clearPasswordSet()
Output only.PostgreSqlConnectionProfile.Builder
clearPort()
Required.PostgreSqlConnectionProfile.Builder
clearPrivateServiceConnectConnectivity()
Private service connect connectivity.PostgreSqlConnectionProfile.Builder
clearSsl()
SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.Builder
clearStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.Builder
clearUsername()
Required.PostgreSqlConnectionProfile.Builder
clone()
String
getCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.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.PostgreSqlConnectionProfile.ConnectivityCase
getConnectivityCase()
PostgreSqlConnectionProfile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getHost()
Required.com.google.protobuf.ByteString
getHostBytes()
Required.NetworkArchitecture
getNetworkArchitecture()
Output only.int
getNetworkArchitectureValue()
Output only.String
getPassword()
Required.com.google.protobuf.ByteString
getPasswordBytes()
Required.boolean
getPasswordSet()
Output only.int
getPort()
Required.PrivateServiceConnectConnectivity
getPrivateServiceConnectConnectivity()
Private service connect connectivity.PrivateServiceConnectConnectivity.Builder
getPrivateServiceConnectConnectivityBuilder()
Private service connect connectivity.PrivateServiceConnectConnectivityOrBuilder
getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.SslConfig
getSsl()
SSL configuration for the destination to connect to the source database.SslConfig.Builder
getSslBuilder()
SSL configuration for the destination to connect to the source database.SslConfigOrBuilder
getSslOrBuilder()
SSL configuration for the destination to connect to the source database.StaticIpConnectivity
getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).StaticIpConnectivity.Builder
getStaticIpConnectivityBuilder()
Static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuilder
getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).String
getUsername()
Required.com.google.protobuf.ByteString
getUsernameBytes()
Required.boolean
hasPrivateServiceConnectConnectivity()
Private service connect connectivity.boolean
hasSsl()
SSL configuration for the destination to connect to the source database.boolean
hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PostgreSqlConnectionProfile.Builder
mergeFrom(PostgreSqlConnectionProfile other)
PostgreSqlConnectionProfile.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PostgreSqlConnectionProfile.Builder
mergeFrom(com.google.protobuf.Message other)
PostgreSqlConnectionProfile.Builder
mergePrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)
Private service connect connectivity.PostgreSqlConnectionProfile.Builder
mergeSsl(SslConfig value)
SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.Builder
mergeStaticIpConnectivity(StaticIpConnectivity value)
Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.PostgreSqlConnectionProfile.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PostgreSqlConnectionProfile.Builder
setHost(String value)
Required.PostgreSqlConnectionProfile.Builder
setHostBytes(com.google.protobuf.ByteString value)
Required.PostgreSqlConnectionProfile.Builder
setNetworkArchitecture(NetworkArchitecture value)
Output only.PostgreSqlConnectionProfile.Builder
setNetworkArchitectureValue(int value)
Output only.PostgreSqlConnectionProfile.Builder
setPassword(String value)
Required.PostgreSqlConnectionProfile.Builder
setPasswordBytes(com.google.protobuf.ByteString value)
Required.PostgreSqlConnectionProfile.Builder
setPasswordSet(boolean value)
Output only.PostgreSqlConnectionProfile.Builder
setPort(int value)
Required.PostgreSqlConnectionProfile.Builder
setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)
Private service connect connectivity.PostgreSqlConnectionProfile.Builder
setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity.Builder builderForValue)
Private service connect connectivity.PostgreSqlConnectionProfile.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PostgreSqlConnectionProfile.Builder
setSsl(SslConfig value)
SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.Builder
setSsl(SslConfig.Builder builderForValue)
SSL configuration for the destination to connect to the source database.PostgreSqlConnectionProfile.Builder
setStaticIpConnectivity(StaticIpConnectivity value)
Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.Builder
setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)
Static ip connectivity data (default, no additional details needed).PostgreSqlConnectionProfile.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PostgreSqlConnectionProfile.Builder
setUsername(String value)
Required.PostgreSqlConnectionProfile.Builder
setUsernameBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
clear
public PostgreSqlConnectionProfile.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
getDefaultInstanceForType
public PostgreSqlConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PostgreSqlConnectionProfile build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PostgreSqlConnectionProfile buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PostgreSqlConnectionProfile.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
setField
public PostgreSqlConnectionProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
clearField
public PostgreSqlConnectionProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
clearOneof
public PostgreSqlConnectionProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
setRepeatedField
public PostgreSqlConnectionProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
addRepeatedField
public PostgreSqlConnectionProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeFrom
public PostgreSqlConnectionProfile.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeFrom
public PostgreSqlConnectionProfile.Builder mergeFrom(PostgreSqlConnectionProfile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PostgreSqlConnectionProfile.Builder>
- Throws:
IOException
-
getConnectivityCase
public PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCase
in 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:
getHost
in 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:
getHostBytes
in 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:
getPort
in 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:
getUsername
in 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:
getUsernameBytes
in 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:
getPassword
in 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:
getPasswordBytes
in 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:
getPasswordSet
in 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:
hasSsl
in 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:
getSsl
in 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:
getSslOrBuilder
in 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:
getCloudSqlId
in 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:
getCloudSqlIdBytes
in 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:
getNetworkArchitectureValue
in 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:
getNetworkArchitecture
in 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:
hasStaticIpConnectivity
in 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:
getStaticIpConnectivity
in 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:
getStaticIpConnectivityOrBuilder
in interfacePostgreSqlConnectionProfileOrBuilder
-
hasPrivateServiceConnectConnectivity
public boolean hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
- Specified by:
hasPrivateServiceConnectConnectivity
in 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:
getPrivateServiceConnectConnectivity
in 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:
getPrivateServiceConnectConnectivityOrBuilder
in interfacePostgreSqlConnectionProfileOrBuilder
-
setUnknownFields
public final PostgreSqlConnectionProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
mergeUnknownFields
public final PostgreSqlConnectionProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder>
-
-