Interface MysqlProfileOrBuilder (0.16.0)

public interface MysqlProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostname()

public abstract String getHostname()

Required. Hostname for the MySQL connection.

string hostname = 1;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the MySQL connection.

string hostname = 1;

Returns
Type Description
ByteString

The bytes for hostname.

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.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
MysqlSslConfig

The sslConfig.

getSslConfigOrBuilder()

public abstract MysqlSslConfigOrBuilder getSslConfigOrBuilder()

SSL configuration for the MySQL connection.

.google.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
MysqlSslConfigOrBuilder

getUsername()

public abstract String getUsername()

Required. Username for the MySQL connection.

string username = 3;

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the MySQL connection.

string username = 3;

Returns
Type Description
ByteString

The bytes for username.

hasSslConfig()

public abstract boolean hasSslConfig()

SSL configuration for the MySQL connection.

.google.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;

Returns
Type Description
boolean

Whether the sslConfig field is set.