public static final class MysqlProfile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder> implements MysqlProfileOrBuilder
MySQL database profile.Protobuf type
google.cloud.datastream.v1.MysqlProfile| Modifier and Type | Method and Description |
|---|---|
MysqlProfile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlProfile |
build() |
MysqlProfile |
buildPartial() |
MysqlProfile.Builder |
clear() |
MysqlProfile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MysqlProfile.Builder |
clearHostname()
Required.
|
MysqlProfile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MysqlProfile.Builder |
clearPassword()
Required.
|
MysqlProfile.Builder |
clearPort()
Port for the MySQL connection, default value is 3306.
|
MysqlProfile.Builder |
clearSslConfig()
SSL configuration for the MySQL connection.
|
MysqlProfile.Builder |
clearUsername()
Required.
|
MysqlProfile.Builder |
clone() |
MysqlProfile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
MysqlSslConfig.Builder |
getSslConfigBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MysqlProfile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MysqlProfile.Builder |
mergeFrom(com.google.protobuf.Message other) |
MysqlProfile.Builder |
mergeFrom(MysqlProfile other) |
MysqlProfile.Builder |
mergeSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
|
MysqlProfile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlProfile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlProfile.Builder |
setHostname(String value)
Required.
|
MysqlProfile.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
Required.
|
MysqlProfile.Builder |
setPassword(String value)
Required.
|
MysqlProfile.Builder |
setPasswordBytes(com.google.protobuf.ByteString value)
Required.
|
MysqlProfile.Builder |
setPort(int value)
Port for the MySQL connection, default value is 3306.
|
MysqlProfile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MysqlProfile.Builder |
setSslConfig(MysqlSslConfig.Builder builderForValue)
SSL configuration for the MySQL connection.
|
MysqlProfile.Builder |
setSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
|
MysqlProfile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlProfile.Builder |
setUsername(String value)
Required.
|
MysqlProfile.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MysqlProfile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MysqlProfile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MysqlProfile.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlProfile.Builder>public MysqlProfile.Builder mergeFrom(MysqlProfile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public MysqlProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlProfile.Builder>IOExceptionpublic String getHostname()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];getHostname in interface MysqlProfileOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];getHostnameBytes in interface MysqlProfileOrBuilderpublic MysqlProfile.Builder setHostname(String value)
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];value - The hostname to set.public MysqlProfile.Builder clearHostname()
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];public MysqlProfile.Builder setHostnameBytes(com.google.protobuf.ByteString value)
Required. Hostname for the MySQL connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for hostname to set.public int getPort()
Port for the MySQL connection, default value is 3306.
int32 port = 2;getPort in interface MysqlProfileOrBuilderpublic MysqlProfile.Builder setPort(int value)
Port for the MySQL connection, default value is 3306.
int32 port = 2;value - The port to set.public MysqlProfile.Builder clearPort()
Port for the MySQL connection, default value is 3306.
int32 port = 2;public String getUsername()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsername in interface MysqlProfileOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsernameBytes in interface MysqlProfileOrBuilderpublic MysqlProfile.Builder setUsername(String value)
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];value - The username to set.public MysqlProfile.Builder clearUsername()
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];public MysqlProfile.Builder setUsernameBytes(com.google.protobuf.ByteString value)
Required. Username for the MySQL connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for username to set.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];
getPassword in interface MysqlProfileOrBuilderpublic 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];
getPasswordBytes in interface MysqlProfileOrBuilderpublic 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];
value - The password to set.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];
public MysqlProfile.Builder setPasswordBytes(com.google.protobuf.ByteString value)
Required. Input only. Password for the MySQL connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
value - The bytes for password to set.public boolean hasSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;hasSslConfig in interface MysqlProfileOrBuilderpublic MysqlSslConfig getSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;getSslConfig in interface MysqlProfileOrBuilderpublic MysqlProfile.Builder setSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;public MysqlProfile.Builder setSslConfig(MysqlSslConfig.Builder builderForValue)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;public MysqlProfile.Builder mergeSslConfig(MysqlSslConfig value)
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;public MysqlProfile.Builder clearSslConfig()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;public MysqlSslConfig.Builder getSslConfigBuilder()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;public MysqlSslConfigOrBuilder getSslConfigOrBuilder()
SSL configuration for the MySQL connection.
.google.cloud.datastream.v1.MysqlSslConfig ssl_config = 5;getSslConfigOrBuilder in interface MysqlProfileOrBuilderpublic final MysqlProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>public final MysqlProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlProfile.Builder>Copyright © 2022 Google LLC. All rights reserved.