- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class MysqlProfile.Builder extends GeneratedMessageV3.Builder<MysqlProfile.Builder> implements MysqlProfileOrBuilder
MySQL database profile.
Protobuf type google.cloud.datastream.v1alpha1.MysqlProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MysqlProfile.BuilderImplements
MysqlProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MysqlProfile.Builder |
build()
public MysqlProfile build()
Type | Description |
MysqlProfile |
buildPartial()
public MysqlProfile buildPartial()
Type | Description |
MysqlProfile |
clear()
public MysqlProfile.Builder clear()
Type | Description |
MysqlProfile.Builder |
clearField(Descriptors.FieldDescriptor field)
public MysqlProfile.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MysqlProfile.Builder |
clearHostname()
public MysqlProfile.Builder clearHostname()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MysqlProfile.Builder |
clearPassword()
public MysqlProfile.Builder clearPassword()
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
clearPort()
public MysqlProfile.Builder clearPort()
Port for the MySQL connection, default value is 3306.
int32 port = 2;
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
clearSslConfig()
public MysqlProfile.Builder clearSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Type | Description |
MysqlProfile.Builder |
clearUsername()
public MysqlProfile.Builder clearUsername()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
clone()
public MysqlProfile.Builder clone()
Type | Description |
MysqlProfile.Builder |
getDefaultInstanceForType()
public MysqlProfile getDefaultInstanceForType()
Type | Description |
MysqlProfile |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHostname()
public String getHostname()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for hostname. |
getPassword()
public String getPassword()
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for password. |
getPort()
public int getPort()
Port for the MySQL connection, default value is 3306.
int32 port = 2;
Type | Description |
int | The port. |
getSslConfig()
public MysqlSslConfig getSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Type | Description |
MysqlSslConfig | The sslConfig. |
getSslConfigBuilder()
public MysqlSslConfig.Builder getSslConfigBuilder()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Type | Description |
MysqlSslConfig.Builder |
getSslConfigOrBuilder()
public MysqlSslConfigOrBuilder getSslConfigOrBuilder()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Type | Description |
MysqlSslConfigOrBuilder |
getUsername()
public String getUsername()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The username. |
getUsernameBytes()
public ByteString getUsernameBytes()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for username. |
hasSslConfig()
public boolean hasSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Type | Description |
boolean | Whether the sslConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MysqlProfile other)
public MysqlProfile.Builder mergeFrom(MysqlProfile other)
Name | Description |
other | MysqlProfile |
Type | Description |
MysqlProfile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MysqlProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MysqlProfile.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MysqlProfile.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MysqlProfile.Builder |
mergeSslConfig(MysqlSslConfig value)
public MysqlProfile.Builder mergeSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Name | Description |
value | MysqlSslConfig |
Type | Description |
MysqlProfile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MysqlProfile.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MysqlProfile.Builder |
setHostname(String value)
public MysqlProfile.Builder setHostname(String value)
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The hostname to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setHostnameBytes(ByteString value)
public MysqlProfile.Builder setHostnameBytes(ByteString value)
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for hostname to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setPassword(String value)
public MysqlProfile.Builder setPassword(String value)
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The password to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setPasswordBytes(ByteString value)
public MysqlProfile.Builder setPasswordBytes(ByteString value)
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for password to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setPort(int value)
public MysqlProfile.Builder setPort(int value)
Port for the MySQL connection, default value is 3306.
int32 port = 2;
Name | Description |
value | int The port to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MysqlProfile.Builder |
setSslConfig(MysqlSslConfig value)
public MysqlProfile.Builder setSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Name | Description |
value | MysqlSslConfig |
Type | Description |
MysqlProfile.Builder |
setSslConfig(MysqlSslConfig.Builder builderForValue)
public MysqlProfile.Builder setSslConfig(MysqlSslConfig.Builder builderForValue)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1alpha1.MysqlSslConfig ssl_config = 5;
Name | Description |
builderForValue | MysqlSslConfig.Builder |
Type | Description |
MysqlProfile.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MysqlProfile.Builder |
setUsername(String value)
public MysqlProfile.Builder setUsername(String value)
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The username to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |
setUsernameBytes(ByteString value)
public MysqlProfile.Builder setUsernameBytes(ByteString value)
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
MysqlProfile.Builder | This builder for chaining. |