- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public interface PostgresqlProfileOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |