Package com.google.cloud.datastream.v1
Interface PostgresqlProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PostgresqlProfile,PostgresqlProfile.Builder
public interface PostgresqlProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDatabase()Required.com.google.protobuf.ByteStringgetDatabaseBytes()Required.StringgetHostname()Required.com.google.protobuf.ByteStringgetHostnameBytes()Required.StringgetPassword()Required.com.google.protobuf.ByteStringgetPasswordBytes()Required.intgetPort()Port for the PostgreSQL connection, default value is 5432.StringgetUsername()Required.com.google.protobuf.ByteStringgetUsernameBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHostname
String getHostname()
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
Required. Hostname for the PostgreSQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for hostname.
-
getPort
int getPort()
Port for the PostgreSQL connection, default value is 5432.
int32 port = 2;- Returns:
- The port.
-
getUsername
String getUsername()
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
Required. Username for the PostgreSQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for username.
-
getPassword
String getPassword()
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The password.
-
getPasswordBytes
com.google.protobuf.ByteString getPasswordBytes()
Required. Password for the PostgreSQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for password.
-
getDatabase
String getDatabase()
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()
Required. Database for the PostgreSQL connection.
string database = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for database.
-
-