public final class PostgreSqlConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements PostgreSqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for PostgreSQL databases.Protobuf type
google.cloud.clouddms.v1.PostgreSqlConnectionProfile| Modifier and Type | Class and Description |
|---|---|
static class |
PostgreSqlConnectionProfile.Builder
Specifies connection parameters required specifically for PostgreSQL
databases.
|
static class |
PostgreSqlConnectionProfile.ConnectivityCase |
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 |
NETWORK_ARCHITECTURE_FIELD_NUMBER |
static int |
PASSWORD_FIELD_NUMBER |
static int |
PASSWORD_SET_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
PRIVATE_SERVICE_CONNECT_CONNECTIVITY_FIELD_NUMBER |
static int |
SSL_FIELD_NUMBER |
static int |
STATIC_IP_CONNECTIVITY_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.
|
PostgreSqlConnectionProfile.ConnectivityCase |
getConnectivityCase() |
static PostgreSqlConnectionProfile |
getDefaultInstance() |
PostgreSqlConnectionProfile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
Required.
|
com.google.protobuf.ByteString |
getHostBytes()
Required.
|
NetworkArchitecture |
getNetworkArchitecture()
Output only.
|
int |
getNetworkArchitectureValue()
Output only.
|
com.google.protobuf.Parser<PostgreSqlConnectionProfile> |
getParserForType() |
String |
getPassword()
Required.
|
com.google.protobuf.ByteString |
getPasswordBytes()
Required.
|
boolean |
getPasswordSet()
Output only.
|
int |
getPort()
Required.
|
PrivateServiceConnectConnectivity |
getPrivateServiceConnectConnectivity()
Private service connect connectivity.
|
PrivateServiceConnectConnectivityOrBuilder |
getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.
|
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.
|
StaticIpConnectivity |
getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
|
StaticIpConnectivityOrBuilder |
getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).
|
String |
getUsername()
Required.
|
com.google.protobuf.ByteString |
getUsernameBytes()
Required.
|
int |
hashCode() |
boolean |
hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
|
boolean |
hasSsl()
SSL configuration for the destination to connect to the source database.
|
boolean |
hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PostgreSqlConnectionProfile.Builder |
newBuilder() |
static PostgreSqlConnectionProfile.Builder |
newBuilder(PostgreSqlConnectionProfile prototype) |
PostgreSqlConnectionProfile.Builder |
newBuilderForType() |
protected PostgreSqlConnectionProfile.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PostgreSqlConnectionProfile |
parseDelimitedFrom(InputStream input) |
static PostgreSqlConnectionProfile |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PostgreSqlConnectionProfile |
parseFrom(byte[] data) |
static PostgreSqlConnectionProfile |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PostgreSqlConnectionProfile |
parseFrom(ByteBuffer data) |
static PostgreSqlConnectionProfile |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PostgreSqlConnectionProfile |
parseFrom(com.google.protobuf.ByteString data) |
static PostgreSqlConnectionProfile |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PostgreSqlConnectionProfile |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PostgreSqlConnectionProfile |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PostgreSqlConnectionProfile |
parseFrom(InputStream input) |
static PostgreSqlConnectionProfile |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PostgreSqlConnectionProfile> |
parser() |
PostgreSqlConnectionProfile.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
public static final int NETWORK_ARCHITECTURE_FIELD_NUMBER
public static final int STATIC_IP_CONNECTIVITY_FIELD_NUMBER
public static final int PRIVATE_SERVICE_CONNECT_CONNECTIVITY_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 PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
getConnectivityCase in interface PostgreSqlConnectionProfileOrBuilderpublic String getHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHost in interface PostgreSqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];getHostBytes in interface PostgreSqlConnectionProfileOrBuilderpublic int getPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];getPort in interface PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic boolean hasSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;hasSsl in interface PostgreSqlConnectionProfileOrBuilderpublic SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;getSsl in interface PostgreSqlConnectionProfileOrBuilderpublic SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.cloud.clouddms.v1.SslConfig ssl = 6;getSslOrBuilder in interface PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfileOrBuilderpublic 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];
getNetworkArchitectureValue in interface PostgreSqlConnectionProfileOrBuilderpublic 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];
getNetworkArchitecture in interface PostgreSqlConnectionProfileOrBuilderpublic boolean hasStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;hasStaticIpConnectivity in interface PostgreSqlConnectionProfileOrBuilderpublic StaticIpConnectivity getStaticIpConnectivity()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;getStaticIpConnectivity in interface PostgreSqlConnectionProfileOrBuilderpublic StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
Static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;getStaticIpConnectivityOrBuilder in interface PostgreSqlConnectionProfileOrBuilderpublic boolean hasPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
hasPrivateServiceConnectConnectivity in interface PostgreSqlConnectionProfileOrBuilderpublic PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
getPrivateServiceConnectConnectivity in interface PostgreSqlConnectionProfileOrBuilderpublic PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()
Private service connect connectivity.
.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;
getPrivateServiceConnectConnectivityOrBuilder in interface PostgreSqlConnectionProfileOrBuilderpublic 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 PostgreSqlConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PostgreSqlConnectionProfile parseFrom(InputStream input) throws IOException
IOExceptionpublic static PostgreSqlConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PostgreSqlConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PostgreSqlConnectionProfile.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PostgreSqlConnectionProfile.Builder newBuilder()
public static PostgreSqlConnectionProfile.Builder newBuilder(PostgreSqlConnectionProfile prototype)
public PostgreSqlConnectionProfile.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PostgreSqlConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PostgreSqlConnectionProfile getDefaultInstance()
public static com.google.protobuf.Parser<PostgreSqlConnectionProfile> parser()
public com.google.protobuf.Parser<PostgreSqlConnectionProfile> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PostgreSqlConnectionProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.