Interface MysqlProfileOrBuilder (1.53.0)

public interface MysqlProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostname()

public abstract String getHostname()

Required. Hostname for the MySQL connection.

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the MySQL connection.

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

Returns
Type Description
ByteString

The bytes for hostname.

getPassword()

public abstract 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
Type Description
String

The password.

getPasswordBytes()

public abstract 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
Type Description
ByteString

The bytes for password.

getPort()

public abstract int getPort()

Port for the MySQL connection, default value is 3306.

int32 port = 2;

Returns
Type Description
int

The port.

getSslConfig()

public abstract MysqlSslConfig getSslConfig()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
MysqlSslConfig

The sslConfig.

getSslConfigOrBuilder()

public abstract MysqlSslConfigOrBuilder getSslConfigOrBuilder()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
MysqlSslConfigOrBuilder

getUsername()

public abstract String getUsername()

Required. Username for the MySQL connection.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the MySQL connection.

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

Returns
Type Description
ByteString

The bytes for username.

hasSslConfig()

public abstract boolean hasSslConfig()

SSL configuration for the MySQL connection.

.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
boolean

Whether the sslConfig field is set.