Package com.google.cloud.datastream.v1
Interface MysqlProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MysqlProfile
,MysqlProfile.Builder
public interface MysqlProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHostname()
Required.com.google.protobuf.ByteString
getHostnameBytes()
Required.String
getPassword()
Required.com.google.protobuf.ByteString
getPasswordBytes()
Required.int
getPort()
Port for the MySQL connection, default value is 3306.MysqlSslConfig
getSslConfig()
SSL configuration for the MySQL connection.MysqlSslConfigOrBuilder
getSslConfigOrBuilder()
SSL configuration for the MySQL connection.String
getUsername()
Required.com.google.protobuf.ByteString
getUsernameBytes()
Required.boolean
hasSslConfig()
SSL configuration for the MySQL connection.-
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 MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for hostname.
-
getPort
int getPort()
Port for the MySQL connection, default value is 3306.
int32 port = 2;
- Returns:
- The port.
-
getUsername
String getUsername()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for username.
-
getPassword
String getPassword()
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- The password.
-
getPasswordBytes
com.google.protobuf.ByteString getPasswordBytes()
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- The bytes for password.
-
hasSslConfig
boolean hasSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;
- Returns:
- Whether the sslConfig field is set.
-
getSslConfig
MysqlSslConfig getSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;
- Returns:
- The sslConfig.
-
getSslConfigOrBuilder
MysqlSslConfigOrBuilder getSslConfigOrBuilder()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;
-
-