Class GoldengatePostgresqlConnectionProperties (0.42.0)

public final class GoldengatePostgresqlConnectionProperties extends GeneratedMessage implements GoldengatePostgresqlConnectionPropertiesOrBuilder

The properties of GoldengatePostgresqlConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GoldengatePostgresqlConnectionProperties

Static Fields

ADDITIONAL_ATTRIBUTES_FIELD_NUMBER

public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

DB_SYSTEM_ID_FIELD_NUMBER

public static final int DB_SYSTEM_ID_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_SECRET_VERSION_FIELD_NUMBER

public static final int PASSWORD_SECRET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_PROTOCOL_FIELD_NUMBER

public static final int SECURITY_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

SSL_CA_FILE_FIELD_NUMBER

public static final int SSL_CA_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_CERT_FILE_FIELD_NUMBER

public static final int SSL_CERT_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_CRL_FILE_FIELD_NUMBER

public static final int SSL_CRL_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_KEY_FILE_FIELD_NUMBER

public static final int SSL_KEY_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_MODE_FIELD_NUMBER

public static final int SSL_MODE_FIELD_NUMBER
Field Value
Type Description
int

TECHNOLOGY_TYPE_FIELD_NUMBER

public static final int TECHNOLOGY_TYPE_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 GoldengatePostgresqlConnectionProperties getDefaultInstance()
Returns
Type Description
GoldengatePostgresqlConnectionProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GoldengatePostgresqlConnectionProperties.Builder newBuilder()
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

newBuilder(GoldengatePostgresqlConnectionProperties prototype)

public static GoldengatePostgresqlConnectionProperties.Builder newBuilder(GoldengatePostgresqlConnectionProperties prototype)
Parameter
Name Description
prototype GoldengatePostgresqlConnectionProperties
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

parseDelimitedFrom(InputStream input)

public static GoldengatePostgresqlConnectionProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GoldengatePostgresqlConnectionProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GoldengatePostgresqlConnectionProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GoldengatePostgresqlConnectionProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GoldengatePostgresqlConnectionProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GoldengatePostgresqlConnectionProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GoldengatePostgresqlConnectionProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GoldengatePostgresqlConnectionProperties> parser()
Returns
Type Description
Parser<GoldengatePostgresqlConnectionProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdditionalAttributes(int index)

public NameValuePair getAdditionalAttributes(int index)

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NameValuePair

getAdditionalAttributesCount()

public int getAdditionalAttributesCount()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalAttributesList()

public List<NameValuePair> getAdditionalAttributesList()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NameValuePair>

getAdditionalAttributesOrBuilder(int index)

public NameValuePairOrBuilder getAdditionalAttributesOrBuilder(int index)

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NameValuePairOrBuilder

getAdditionalAttributesOrBuilderList()

public List<? extends NameValuePairOrBuilder> getAdditionalAttributesOrBuilderList()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.NameValuePairOrBuilder>

getConnectionPasswordOptionsCase()

public GoldengatePostgresqlConnectionProperties.ConnectionPasswordOptionsCase getConnectionPasswordOptionsCase()
Returns
Type Description
GoldengatePostgresqlConnectionProperties.ConnectionPasswordOptionsCase

getDatabase()

public String getDatabase()

Optional. The name of the database.

string database = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

string database = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for database.

getDbSystemId()

public String getDbSystemId()

Optional. The OCID of the database system being referenced.

string db_system_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dbSystemId.

getDbSystemIdBytes()

public ByteString getDbSystemIdBytes()

Optional. The OCID of the database system being referenced.

string db_system_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dbSystemId.

getDefaultInstanceForType()

public GoldengatePostgresqlConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengatePostgresqlConnectionProperties

getHost()

public String getHost()

Optional. The name or address of a host.

string host = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Optional. The name or address of a host.

string host = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

public Parser<GoldengatePostgresqlConnectionProperties> getParserForType()
Returns
Type Description
Parser<GoldengatePostgresqlConnectionProperties>
Overrides

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.

string password = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.

string password = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getPasswordSecretVersion()

public String getPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passwordSecretVersion.

getPasswordSecretVersionBytes()

public ByteString getPasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getPort()

public int getPort()

Optional. The port of an endpoint usually specified for a connection.

int32 port = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol getSecurityProtocol()

Optional. Security protocol for PostgreSQL.

.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol security_protocol = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security protocol for PostgreSQL.

.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol security_protocol = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSslCaFile()

public String getSslCaFile()

Optional. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.

string ssl_ca_file = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCaFile.

getSslCaFileBytes()

public ByteString getSslCaFileBytes()

Optional. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.

string ssl_ca_file = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCaFile.

getSslCertFile()

public String getSslCertFile()

Optional. The base64 encoded certificate of the PostgreSQL server.

string ssl_cert_file = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCertFile.

getSslCertFileBytes()

public ByteString getSslCertFileBytes()

Optional. The base64 encoded certificate of the PostgreSQL server.

string ssl_cert_file = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCertFile.

getSslCrlFile()

public String getSslCrlFile()

Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

string ssl_crl_file = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCrlFile.

getSslCrlFileBytes()

public ByteString getSslCrlFileBytes()

Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

string ssl_crl_file = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCrlFile.

getSslKeyFile()

public String getSslKeyFile()

Optional. The base64 encoded private key of the PostgreSQL server.

string ssl_key_file = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslKeyFile.

getSslKeyFileBytes()

public ByteString getSslKeyFileBytes()

Optional. The base64 encoded private key of the PostgreSQL server.

string ssl_key_file = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslKeyFile.

getSslMode()

public GoldengatePostgresqlConnectionProperties.PostgresqlSslMode getSslMode()

Optional. SSL modes for PostgreSQL.

.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSslMode ssl_mode = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengatePostgresqlConnectionProperties.PostgresqlSslMode

The sslMode.

getSslModeValue()

public int getSslModeValue()

Optional. SSL modes for PostgreSQL.

.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSslMode ssl_mode = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sslMode.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of PostgresqlConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of PostgresqlConnection.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for technologyType.

getUsername()

public String getUsername()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

string username = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for username.

hasPassword()

public boolean hasPassword()

Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.

string password = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the password field is set.

hasPasswordSecretVersion()

public boolean hasPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the passwordSecretVersion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GoldengatePostgresqlConnectionProperties.Builder newBuilderForType()
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GoldengatePostgresqlConnectionProperties.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder
Overrides

toBuilder()

public GoldengatePostgresqlConnectionProperties.Builder toBuilder()
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException