public final class PostgreSqlConnectionProfile extends GeneratedMessageV3 implements PostgreSqlConnectionProfileOrBuilder
Specifies connection parameters required specifically for PostgreSQL
databases.
Protobuf type google.events.cloud.clouddms.v1.PostgreSqlConnectionProfile
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLOUD_SQL_ID_FIELD_NUMBER
public static final int CLOUD_SQL_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_ARCHITECTURE_FIELD_NUMBER
public static final int NETWORK_ARCHITECTURE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PASSWORD_SET_FIELD_NUMBER
public static final int PASSWORD_SET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SSL_FIELD_NUMBER
public static final int SSL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PostgreSqlConnectionProfile getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PostgreSqlConnectionProfile.Builder newBuilder()
newBuilder(PostgreSqlConnectionProfile prototype)
public static PostgreSqlConnectionProfile.Builder newBuilder(PostgreSqlConnectionProfile prototype)
parseDelimitedFrom(InputStream input)
public static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PostgreSqlConnectionProfile parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PostgreSqlConnectionProfile parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static PostgreSqlConnectionProfile parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static PostgreSqlConnectionProfile parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PostgreSqlConnectionProfile parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PostgreSqlConnectionProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PostgreSqlConnectionProfile> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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;
Returns |
Type |
Description |
String |
The cloudSqlId.
|
getCloudSqlIdBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for cloudSqlId.
|
getDefaultInstanceForType()
public PostgreSqlConnectionProfile getDefaultInstanceForType()
getHost()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1;
Returns |
Type |
Description |
String |
The host.
|
getHostBytes()
public ByteString getHostBytes()
Required. The IP or hostname of the source PostgreSQL database.
string host = 1;
Returns |
Type |
Description |
ByteString |
The bytes for host.
|
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.events.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8;
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.events.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for networkArchitecture.
|
getParserForType()
public Parser<PostgreSqlConnectionProfile> getParserForType()
Overrides
getPasswordSet()
public boolean getPasswordSet()
Output only. Indicates If this connection profile password is stored.
bool password_set = 5;
Returns |
Type |
Description |
boolean |
The passwordSet.
|
getPort()
Required. The network port of the source PostgreSQL database.
int32 port = 2;
Returns |
Type |
Description |
int |
The port.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSsl()
public SslConfig getSsl()
SSL configuration for the destination to connect to the source database.
.google.events.cloud.clouddms.v1.SslConfig ssl = 6;
getSslOrBuilder()
public SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the destination to connect to the source database.
.google.events.cloud.clouddms.v1.SslConfig ssl = 6;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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;
Returns |
Type |
Description |
String |
The username.
|
getUsernameBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for username.
|
hasSsl()
SSL configuration for the destination to connect to the source database.
.google.events.cloud.clouddms.v1.SslConfig ssl = 6;
Returns |
Type |
Description |
boolean |
Whether the ssl field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PostgreSqlConnectionProfile.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PostgreSqlConnectionProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PostgreSqlConnectionProfile.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides