Interface PostgreSqlConnectionProfileOrBuilder (2.53.0)

public interface PostgreSqlConnectionProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSqlId()

public abstract 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
Type Description
String

The cloudSqlId.

getCloudSqlIdBytes()

public abstract 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
Type Description
ByteString

The bytes for cloudSqlId.

getConnectivityCase()

public abstract PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
Type Description
PostgreSqlConnectionProfile.ConnectivityCase

getHost()

public abstract String getHost()

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The host.

getHostBytes()

public abstract ByteString getHostBytes()

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for host.

getNetworkArchitecture()

public abstract 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
Type Description
NetworkArchitecture

The networkArchitecture.

getNetworkArchitectureValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for networkArchitecture.

getPassword()

public abstract 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
Type Description
String

The password.

getPasswordBytes()

public abstract 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
Type Description
ByteString

The bytes for password.

getPasswordSet()

public abstract boolean getPasswordSet()

Output only. Indicates If this connection profile password is stored.

bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The passwordSet.

getPort()

public abstract int getPort()

Required. The network port of the source PostgreSQL database.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The port.

getPrivateServiceConnectConnectivity()

public abstract PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
Type Description
PrivateServiceConnectConnectivity

The privateServiceConnectConnectivity.

getPrivateServiceConnectConnectivityOrBuilder()

public abstract PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
Type Description
PrivateServiceConnectConnectivityOrBuilder

getSsl()

public abstract SslConfig getSsl()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
Type Description
SslConfig

The ssl.

getSslOrBuilder()

public abstract SslConfigOrBuilder getSslOrBuilder()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
Type Description
SslConfigOrBuilder

getStaticIpConnectivity()

public abstract StaticIpConnectivity getStaticIpConnectivity()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
Type Description
StaticIpConnectivity

The staticIpConnectivity.

getStaticIpConnectivityOrBuilder()

public abstract StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
Type Description
StaticIpConnectivityOrBuilder

getUsername()

public abstract 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
Type Description
String

The username.

getUsernameBytes()

public abstract 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
Type Description
ByteString

The bytes for username.

hasPrivateServiceConnectConnectivity()

public abstract boolean hasPrivateServiceConnectConnectivity()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
Type Description
boolean

Whether the privateServiceConnectConnectivity field is set.

hasSsl()

public abstract boolean hasSsl()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
Type Description
boolean

Whether the ssl field is set.

hasStaticIpConnectivity()

public abstract boolean hasStaticIpConnectivity()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
Type Description
boolean

Whether the staticIpConnectivity field is set.