Interface PostgresqlProfileOrBuilder (1.54.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.

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.