Interface PostgresqlProfileOrBuilder (1.56.0)

public interface PostgresqlProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract String getDatabase()

Required. Database for the PostgreSQL connection.

string database = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. Database for the PostgreSQL connection.

string database = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for database.

getHostname()

public abstract String getHostname()

Required. Hostname for the PostgreSQL connection.

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the PostgreSQL connection.

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

Returns
Type Description
ByteString

The bytes for hostname.

getPassword()

public abstract String getPassword()

Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for password.

getPort()

public abstract int getPort()

Port for the PostgreSQL connection, default value is 5432.

int32 port = 2;

Returns
Type Description
int

The port.

getSslConfig()

public abstract PostgresqlSslConfig getSslConfig()

Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PostgresqlSslConfig

The sslConfig.

getSslConfigOrBuilder()

public abstract PostgresqlSslConfigOrBuilder getSslConfigOrBuilder()

Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PostgresqlSslConfigOrBuilder

getUsername()

public abstract String getUsername()

Required. Username for the PostgreSQL connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the PostgreSQL connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.

hasSslConfig()

public abstract boolean hasSslConfig()

Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sslConfig field is set.