Package com.google.cloud.clouddms.v1
Interface PostgreSqlConnectionProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PostgreSqlConnectionProfile
,PostgreSqlConnectionProfile.Builder
public interface PostgreSqlConnectionProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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()
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.PrivateServiceConnectConnectivityOrBuilder
getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.SslConfig
getSsl()
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).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).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHost
String getHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for host.
-
getPort
int getPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The port.
-
getUsername
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];
- Returns:
- The username.
-
getUsernameBytes
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];
- Returns:
- The bytes for username.
-
getPassword
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];
- Returns:
- The password.
-
getPasswordBytes
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];
- Returns:
- The bytes for password.
-
getPasswordSet
boolean getPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The passwordSet.
-
hasSsl
boolean hasSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
- Returns:
- Whether the ssl field is set.
-
getSsl
SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
- Returns:
- The ssl.
-
getSslOrBuilder
SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
-
getCloudSqlId
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;
- Returns:
- The cloudSqlId.
-
getCloudSqlIdBytes
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;
- Returns:
- The bytes for cloudSqlId.
-
getNetworkArchitectureValue
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];
- Returns:
- The enum numeric value on the wire for networkArchitecture.
-
getNetworkArchitecture
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];
- Returns:
- The networkArchitecture.
-
hasStaticIpConnectivity
boolean hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
- Returns:
- Whether the staticIpConnectivity field is set.
-
getStaticIpConnectivity
StaticIpConnectivity getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
- Returns:
- The staticIpConnectivity.
-
getStaticIpConnectivityOrBuilder
StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;
-
hasPrivateServiceConnectConnectivity
boolean hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
- Returns:
- Whether the privateServiceConnectConnectivity field is set.
-
getPrivateServiceConnectConnectivity
PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
- Returns:
- The privateServiceConnectConnectivity.
-
getPrivateServiceConnectConnectivityOrBuilder
PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
-
getConnectivityCase
PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
-
-