Package com.google.cloud.clouddms.v1
Class MySqlConnectionProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.MySqlConnectionProfile
-
- All Implemented Interfaces:
MySqlConnectionProfileOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MySqlConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements MySqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for MySQL databases.
Protobuf typegoogle.cloud.clouddms.v1.MySqlConnectionProfile
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MySqlConnectionProfile.Builder
Specifies connection parameters required specifically for MySQL databases.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 MySqlConnectionProfile
parseFrom(ByteBuffer data)
static MySqlConnectionProfile
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MySqlConnectionProfile>
parser()
MySqlConnectionProfile.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_SET_FIELD_NUMBER
public static final int PASSWORD_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SSL_FIELD_NUMBER
public static final int SSL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_SQL_ID_FIELD_NUMBER
public static final int CLOUD_SQL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getHost
public String getHost()
Required. The IP or hostname of the source MySQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getHost
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source MySQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getHostBytes
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The bytes for host.
-
getPort
public int getPort()
Required. The network port of the source MySQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPort
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The port.
-
getUsername
public 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];
- Specified by:
getUsername
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public 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];
- Specified by:
getUsernameBytes
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The bytes for username.
-
getPassword
public 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];
- Specified by:
getPassword
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The password.
-
getPasswordBytes
public 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];
- Specified by:
getPasswordBytes
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The bytes for password.
-
getPasswordSet
public boolean getPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPasswordSet
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The passwordSet.
-
hasSsl
public boolean hasSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
- Specified by:
hasSsl
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- Whether the ssl field is set.
-
getSsl
public SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
- Specified by:
getSsl
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The ssl.
-
getSslOrBuilder
public SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;
- Specified by:
getSslOrBuilder
in interfaceMySqlConnectionProfileOrBuilder
-
getCloudSqlId
public 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;
- Specified by:
getCloudSqlId
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The cloudSqlId.
-
getCloudSqlIdBytes
public 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;
- Specified by:
getCloudSqlIdBytes
in interfaceMySqlConnectionProfileOrBuilder
- Returns:
- The bytes for cloudSqlId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MySqlConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MySqlConnectionProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MySqlConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MySqlConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MySqlConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MySqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MySqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MySqlConnectionProfile.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MySqlConnectionProfile.Builder newBuilder()
-
newBuilder
public static MySqlConnectionProfile.Builder newBuilder(MySqlConnectionProfile prototype)
-
toBuilder
public MySqlConnectionProfile.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MySqlConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MySqlConnectionProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MySqlConnectionProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<MySqlConnectionProfile> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MySqlConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-