Package com.google.cloud.clouddms.v1
Class PostgreSqlConnectionProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.PostgreSqlConnectionProfile
-
- All Implemented Interfaces:
PostgreSqlConnectionProfileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PostgreSqlConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements PostgreSqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for PostgreSQL databases.
Protobuf typegoogle.cloud.clouddms.v1.PostgreSqlConnectionProfile- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostgreSqlConnectionProfile.BuilderSpecifies connection parameters required specifically for PostgreSQL databases.static classPostgreSqlConnectionProfile.ConnectivityCase-
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 intCLOUD_SQL_ID_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intNETWORK_ARCHITECTURE_FIELD_NUMBERstatic intPASSWORD_FIELD_NUMBERstatic intPASSWORD_SET_FIELD_NUMBERstatic intPORT_FIELD_NUMBERstatic intPRIVATE_SERVICE_CONNECT_CONNECTIVITY_FIELD_NUMBERstatic intSSL_FIELD_NUMBERstatic intSTATIC_IP_CONNECTIVITY_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCloudSqlId()If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.com.google.protobuf.ByteStringgetCloudSqlIdBytes()If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.PostgreSqlConnectionProfile.ConnectivityCasegetConnectivityCase()static PostgreSqlConnectionProfilegetDefaultInstance()PostgreSqlConnectionProfilegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHost()Required.com.google.protobuf.ByteStringgetHostBytes()Required.NetworkArchitecturegetNetworkArchitecture()Output only.intgetNetworkArchitectureValue()Output only.com.google.protobuf.Parser<PostgreSqlConnectionProfile>getParserForType()StringgetPassword()Required.com.google.protobuf.ByteStringgetPasswordBytes()Required.booleangetPasswordSet()Output only.intgetPort()Required.PrivateServiceConnectConnectivitygetPrivateServiceConnectConnectivity()Private service connect connectivity.PrivateServiceConnectConnectivityOrBuildergetPrivateServiceConnectConnectivityOrBuilder()Private service connect connectivity.intgetSerializedSize()SslConfiggetSsl()SSL configuration for the destination to connect to the source database.SslConfigOrBuildergetSslOrBuilder()SSL configuration for the destination to connect to the source database.StaticIpConnectivitygetStaticIpConnectivity()Static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuildergetStaticIpConnectivityOrBuilder()Static ip connectivity data (default, no additional details needed).StringgetUsername()Required.com.google.protobuf.ByteStringgetUsernameBytes()Required.inthashCode()booleanhasPrivateServiceConnectConnectivity()Private service connect connectivity.booleanhasSsl()SSL configuration for the destination to connect to the source database.booleanhasStaticIpConnectivity()Static ip connectivity data (default, no additional details needed).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PostgreSqlConnectionProfile.BuildernewBuilder()static PostgreSqlConnectionProfile.BuildernewBuilder(PostgreSqlConnectionProfile prototype)PostgreSqlConnectionProfile.BuildernewBuilderForType()protected PostgreSqlConnectionProfile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PostgreSqlConnectionProfileparseDelimitedFrom(InputStream input)static PostgreSqlConnectionProfileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgreSqlConnectionProfileparseFrom(byte[] data)static PostgreSqlConnectionProfileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgreSqlConnectionProfileparseFrom(com.google.protobuf.ByteString data)static PostgreSqlConnectionProfileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgreSqlConnectionProfileparseFrom(com.google.protobuf.CodedInputStream input)static PostgreSqlConnectionProfileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgreSqlConnectionProfileparseFrom(InputStream input)static PostgreSqlConnectionProfileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgreSqlConnectionProfileparseFrom(ByteBuffer data)static PostgreSqlConnectionProfileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PostgreSqlConnectionProfile>parser()PostgreSqlConnectionProfile.BuildertoBuilder()voidwriteTo(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
-
NETWORK_ARCHITECTURE_FIELD_NUMBER
public static final int NETWORK_ARCHITECTURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_IP_CONNECTIVITY_FIELD_NUMBER
public static final int STATIC_IP_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_SERVICE_CONNECT_CONNECTIVITY_FIELD_NUMBER
public static final int PRIVATE_SERVICE_CONNECT_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConnectivityCase
public PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCasein interfacePostgreSqlConnectionProfileOrBuilder
-
getHost
public String getHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for host.
-
getPort
public int getPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPortin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getUsernamein interfacePostgreSqlConnectionProfileOrBuilder- 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:
getUsernameBytesin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getPasswordin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getPasswordBytesin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getPasswordSetin interfacePostgreSqlConnectionProfileOrBuilder- 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:
hasSslin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getSslin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getSslOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
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:
getCloudSqlIdin interfacePostgreSqlConnectionProfileOrBuilder- 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:
getCloudSqlIdBytesin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The bytes for cloudSqlId.
-
getNetworkArchitectureValue
public int getNetworkArchitectureValue()
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkArchitectureValuein interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The enum numeric value on the wire for networkArchitecture.
-
getNetworkArchitecture
public NetworkArchitecture getNetworkArchitecture()
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkArchitecturein interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The networkArchitecture.
-
hasStaticIpConnectivity
public boolean hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
hasStaticIpConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- Whether the staticIpConnectivity field is set.
-
getStaticIpConnectivity
public StaticIpConnectivity getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
getStaticIpConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The staticIpConnectivity.
-
getStaticIpConnectivityOrBuilder
public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;- Specified by:
getStaticIpConnectivityOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
hasPrivateServiceConnectConnectivity
public boolean hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
hasPrivateServiceConnectConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- Whether the privateServiceConnectConnectivity field is set.
-
getPrivateServiceConnectConnectivity
public PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
getPrivateServiceConnectConnectivityin interfacePostgreSqlConnectionProfileOrBuilder- Returns:
- The privateServiceConnectConnectivity.
-
getPrivateServiceConnectConnectivityOrBuilder
public PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;- Specified by:
getPrivateServiceConnectConnectivityOrBuilderin interfacePostgreSqlConnectionProfileOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PostgreSqlConnectionProfile.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PostgreSqlConnectionProfile.Builder newBuilder()
-
newBuilder
public static PostgreSqlConnectionProfile.Builder newBuilder(PostgreSqlConnectionProfile prototype)
-
toBuilder
public PostgreSqlConnectionProfile.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PostgreSqlConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PostgreSqlConnectionProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PostgreSqlConnectionProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<PostgreSqlConnectionProfile> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PostgreSqlConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-