Class GoldengatePostgresqlConnectionProperties.Builder (0.42.0)

public static final class GoldengatePostgresqlConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengatePostgresqlConnectionProperties.Builder> implements GoldengatePostgresqlConnectionPropertiesOrBuilder

The properties of GoldengatePostgresqlConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties

Static Methods

getDescriptor()

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

Methods

addAdditionalAttributes(NameValuePair value)

public GoldengatePostgresqlConnectionProperties.Builder addAdditionalAttributes(NameValuePair value)

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
value NameValuePair
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

addAdditionalAttributes(NameValuePair.Builder builderForValue)

public GoldengatePostgresqlConnectionProperties.Builder addAdditionalAttributes(NameValuePair.Builder builderForValue)

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
builderForValue NameValuePair.Builder
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

addAdditionalAttributes(int index, NameValuePair value)

public GoldengatePostgresqlConnectionProperties.Builder addAdditionalAttributes(int index, NameValuePair value)

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];

Parameters
Name Description
index int
value NameValuePair
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

addAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

public GoldengatePostgresqlConnectionProperties.Builder addAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue NameValuePair.Builder
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

addAdditionalAttributesBuilder()

public NameValuePair.Builder addAdditionalAttributesBuilder()

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
NameValuePair.Builder

addAdditionalAttributesBuilder(int index)

public NameValuePair.Builder addAdditionalAttributesBuilder(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.Builder

addAllAdditionalAttributes(Iterable<? extends NameValuePair> values)

public GoldengatePostgresqlConnectionProperties.Builder addAllAdditionalAttributes(Iterable<? extends NameValuePair> values)

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
values Iterable<? extends com.google.cloud.oracledatabase.v1.NameValuePair>
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

build()

public GoldengatePostgresqlConnectionProperties build()
Returns
Type Description
GoldengatePostgresqlConnectionProperties

buildPartial()

public GoldengatePostgresqlConnectionProperties buildPartial()
Returns
Type Description
GoldengatePostgresqlConnectionProperties

clear()

public GoldengatePostgresqlConnectionProperties.Builder clear()
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder
Overrides

clearAdditionalAttributes()

public GoldengatePostgresqlConnectionProperties.Builder clearAdditionalAttributes()

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
GoldengatePostgresqlConnectionProperties.Builder

clearConnectionPasswordOptions()

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

clearDatabase()

public GoldengatePostgresqlConnectionProperties.Builder clearDatabase()

Optional. The name of the database.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearDbSystemId()

public GoldengatePostgresqlConnectionProperties.Builder clearDbSystemId()

Optional. The OCID of the database system being referenced.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearHost()

public GoldengatePostgresqlConnectionProperties.Builder clearHost()

Optional. The name or address of a host.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengatePostgresqlConnectionProperties.Builder clearPassword()

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
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengatePostgresqlConnectionProperties.Builder clearPasswordSecretVersion()

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
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearPort()

public GoldengatePostgresqlConnectionProperties.Builder clearPort()

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

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSecurityProtocol()

public GoldengatePostgresqlConnectionProperties.Builder clearSecurityProtocol()

Optional. Security protocol for PostgreSQL.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSslCaFile()

public GoldengatePostgresqlConnectionProperties.Builder clearSslCaFile()

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
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSslCertFile()

public GoldengatePostgresqlConnectionProperties.Builder clearSslCertFile()

Optional. The base64 encoded certificate of the PostgreSQL server.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSslCrlFile()

public GoldengatePostgresqlConnectionProperties.Builder clearSslCrlFile()

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
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSslKeyFile()

public GoldengatePostgresqlConnectionProperties.Builder clearSslKeyFile()

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

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearSslMode()

public GoldengatePostgresqlConnectionProperties.Builder clearSslMode()

Optional. SSL modes for PostgreSQL.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengatePostgresqlConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of PostgresqlConnection.

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

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengatePostgresqlConnectionProperties.Builder clearUsername()

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
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

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

getAdditionalAttributesBuilder(int index)

public NameValuePair.Builder getAdditionalAttributesBuilder(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.Builder

getAdditionalAttributesBuilderList()

public List<NameValuePair.Builder> getAdditionalAttributesBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengatePostgresqlConnectionProperties other)

public GoldengatePostgresqlConnectionProperties.Builder mergeFrom(GoldengatePostgresqlConnectionProperties other)
Parameter
Name Description
other GoldengatePostgresqlConnectionProperties
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoldengatePostgresqlConnectionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoldengatePostgresqlConnectionProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder
Overrides

removeAdditionalAttributes(int index)

public GoldengatePostgresqlConnectionProperties.Builder removeAdditionalAttributes(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
GoldengatePostgresqlConnectionProperties.Builder

setAdditionalAttributes(int index, NameValuePair value)

public GoldengatePostgresqlConnectionProperties.Builder setAdditionalAttributes(int index, NameValuePair value)

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];

Parameters
Name Description
index int
value NameValuePair
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

setAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

public GoldengatePostgresqlConnectionProperties.Builder setAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue NameValuePair.Builder
Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

setDatabase(String value)

public GoldengatePostgresqlConnectionProperties.Builder setDatabase(String value)

Optional. The name of the database.

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

Parameter
Name Description
value String

The database to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setDatabaseBytes(ByteString value)

Optional. The name of the database.

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

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setDbSystemId(String value)

public GoldengatePostgresqlConnectionProperties.Builder setDbSystemId(String value)

Optional. The OCID of the database system being referenced.

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

Parameter
Name Description
value String

The dbSystemId to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setDbSystemIdBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setDbSystemIdBytes(ByteString value)

Optional. The OCID of the database system being referenced.

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

Parameter
Name Description
value ByteString

The bytes for dbSystemId to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setHost(String value)

public GoldengatePostgresqlConnectionProperties.Builder setHost(String value)

Optional. The name or address of a host.

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setHostBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setHostBytes(ByteString value)

Optional. The name or address of a host.

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengatePostgresqlConnectionProperties.Builder setPassword(String value)

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];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setPasswordBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengatePostgresqlConnectionProperties.Builder setPasswordSecretVersion(String value)

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) = { ... }

Parameter
Name Description
value String

The passwordSecretVersion to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for passwordSecretVersion to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setPort(int value)

public GoldengatePostgresqlConnectionProperties.Builder setPort(int value)

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

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

Parameter
Name Description
value int

The port to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSecurityProtocol(GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol value)

public GoldengatePostgresqlConnectionProperties.Builder setSecurityProtocol(GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol value)

Optional. Security protocol for PostgreSQL.

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

Parameter
Name Description
value GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol

The securityProtocol to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSecurityProtocolValue(int value)

public GoldengatePostgresqlConnectionProperties.Builder setSecurityProtocolValue(int value)

Optional. Security protocol for PostgreSQL.

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

Parameter
Name Description
value int

The enum numeric value on the wire for securityProtocol to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCaFile(String value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCaFile(String value)

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

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

Parameter
Name Description
value String

The sslCaFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCaFileBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCaFileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for sslCaFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCertFile(String value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCertFile(String value)

Optional. The base64 encoded certificate of the PostgreSQL server.

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

Parameter
Name Description
value String

The sslCertFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCertFileBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCertFileBytes(ByteString value)

Optional. The base64 encoded certificate of the PostgreSQL server.

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

Parameter
Name Description
value ByteString

The bytes for sslCertFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCrlFile(String value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCrlFile(String value)

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];

Parameter
Name Description
value String

The sslCrlFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslCrlFileBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setSslCrlFileBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for sslCrlFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslKeyFile(String value)

public GoldengatePostgresqlConnectionProperties.Builder setSslKeyFile(String value)

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

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

Parameter
Name Description
value String

The sslKeyFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslKeyFileBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setSslKeyFileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for sslKeyFile to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslMode(GoldengatePostgresqlConnectionProperties.PostgresqlSslMode value)

public GoldengatePostgresqlConnectionProperties.Builder setSslMode(GoldengatePostgresqlConnectionProperties.PostgresqlSslMode value)

Optional. SSL modes for PostgreSQL.

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

Parameter
Name Description
value GoldengatePostgresqlConnectionProperties.PostgresqlSslMode

The sslMode to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setSslModeValue(int value)

public GoldengatePostgresqlConnectionProperties.Builder setSslModeValue(int value)

Optional. SSL modes for PostgreSQL.

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

Parameter
Name Description
value int

The enum numeric value on the wire for sslMode to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengatePostgresqlConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of PostgresqlConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of PostgresqlConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengatePostgresqlConnectionProperties.Builder setUsername(String value)

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

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengatePostgresqlConnectionProperties.Builder setUsernameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengatePostgresqlConnectionProperties.Builder

This builder for chaining.