public final class MySqlConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements MySqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for MySQL databases.Protobuf type
google.cloud.clouddms.v1.MySqlConnectionProfile| Modifier and Type | Class and Description |
|---|---|
static class |
MySqlConnectionProfile.Builder
Specifies connection parameters required specifically for MySQL databases.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_SQL_ID_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
PASSWORD_FIELD_NUMBER |
static int |
PASSWORD_SET_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
SSL_FIELD_NUMBER |
static int |
USERNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCloudSqlId()
If the source is a Cloud SQL database, use this field to
provide the Cloud SQL instance ID of the source.
|
com.google.protobuf.ByteString |
getCloudSqlIdBytes()
If the source is a Cloud SQL database, use this field to
provide the Cloud SQL instance ID of the source.
|
static MySqlConnectionProfile |
getDefaultInstance() |
MySqlConnectionProfile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
Required.
|
com.google.protobuf.ByteString |
getHostBytes()
Required.
|
com.google.protobuf.Parser<MySqlConnectionProfile> |
getParserForType() |
String |
getPassword()
Required.
|
com.google.protobuf.ByteString |
getPasswordBytes()
Required.
|
boolean |
getPasswordSet()
Output only.
|
int |
getPort()
Required.
|
int |
getSerializedSize() |
SslConfig |
getSsl()
SSL configuration for the destination to connect to the source database.
|
SslConfigOrBuilder |
getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
|
String |
getUsername()
Required.
|
com.google.protobuf.ByteString |
getUsernameBytes()
Required.
|
int |
hashCode() |
boolean |
hasSsl()
SSL configuration for the destination to connect to the source database.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MySqlConnectionProfile.Builder |
newBuilder() |
static MySqlConnectionProfile.Builder |
newBuilder(MySqlConnectionProfile prototype) |
MySqlConnectionProfile.Builder |
newBuilderForType() |
protected MySqlConnectionProfile.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MySqlConnectionProfile |
parseDelimitedFrom(InputStream input) |
static MySqlConnectionProfile |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MySqlConnectionProfile |
parseFrom(byte[] data) |
static MySqlConnectionProfile |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MySqlConnectionProfile |
parseFrom(ByteBuffer data) |
static MySqlConnectionProfile |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MySqlConnectionProfile |
parseFrom(com.google.protobuf.ByteString data) |
static MySqlConnectionProfile |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MySqlConnectionProfile |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MySqlConnectionProfile |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MySqlConnectionProfile |
parseFrom(InputStream input) |
static MySqlConnectionProfile |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MySqlConnectionProfile> |
parser() |
MySqlConnectionProfile.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HOST_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
public static final int PASSWORD_SET_FIELD_NUMBER
public static final int SSL_FIELD_NUMBER
public static final int CLOUD_SQL_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getHost()
Required. The IP or hostname of the source MySQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHost in interface MySqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source MySQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHostBytes in interface MySqlConnectionProfileOrBuilderpublic int getPort()
Required. The network port of the source MySQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];getPort in interface MySqlConnectionProfileOrBuilderpublic String getUsername()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsername in interface MySqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];getUsernameBytes in interface MySqlConnectionProfileOrBuilderpublic String getPassword()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getPassword in interface MySqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getPasswordBytes()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
getPasswordBytes in interface MySqlConnectionProfileOrBuilderpublic boolean getPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getPasswordSet in interface MySqlConnectionProfileOrBuilderpublic boolean hasSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;hasSsl in interface MySqlConnectionProfileOrBuilderpublic SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;getSsl in interface MySqlConnectionProfileOrBuilderpublic SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;getSslOrBuilder in interface MySqlConnectionProfileOrBuilderpublic String getCloudSqlId()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;getCloudSqlId in interface MySqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getCloudSqlIdBytes()
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
string cloud_sql_id = 7;getCloudSqlIdBytes in interface MySqlConnectionProfileOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MySqlConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MySqlConnectionProfile parseFrom(InputStream input) throws IOException
IOExceptionpublic static MySqlConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MySqlConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MySqlConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MySqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MySqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MySqlConnectionProfile.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MySqlConnectionProfile.Builder newBuilder()
public static MySqlConnectionProfile.Builder newBuilder(MySqlConnectionProfile prototype)
public MySqlConnectionProfile.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MySqlConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MySqlConnectionProfile getDefaultInstance()
public static com.google.protobuf.Parser<MySqlConnectionProfile> parser()
public com.google.protobuf.Parser<MySqlConnectionProfile> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MySqlConnectionProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.