[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface MysqlProfileOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.MysqlProfileOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.datastream.v1.MysqlProfileOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.datastream.v1.MysqlProfileOrBuilder) \n\n public interface MysqlProfileOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getHostname()\n\n public abstract String getHostname()\n\nRequired. Hostname for the MySQL connection.\n\n`string hostname = 1;`\n\n### getHostnameBytes()\n\n public abstract ByteString getHostnameBytes()\n\nRequired. Hostname for the MySQL connection.\n\n`string hostname = 1;`\n\n### getPort()\n\n public abstract int getPort()\n\nPort for the MySQL connection, default value is 3306.\n\n`int32 port = 2;`\n\n### getSslConfig()\n\n public abstract MysqlSslConfig getSslConfig()\n\nSSL configuration for the MySQL connection.\n\n`.google.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;`\n\n### getSslConfigOrBuilder()\n\n public abstract MysqlSslConfigOrBuilder getSslConfigOrBuilder()\n\nSSL configuration for the MySQL connection.\n\n`.google.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;`\n\n### getUsername()\n\n public abstract String getUsername()\n\nRequired. Username for the MySQL connection.\n\n`string username = 3;`\n\n### getUsernameBytes()\n\n public abstract ByteString getUsernameBytes()\n\nRequired. Username for the MySQL connection.\n\n`string username = 3;`\n\n### hasSslConfig()\n\n public abstract boolean hasSslConfig()\n\nSSL configuration for the MySQL connection.\n\n`.google.events.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;`"]]