Class GoldengateDb2ConnectionProperties.Builder (0.42.0)

public static final class GoldengateDb2ConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateDb2ConnectionProperties.Builder> implements GoldengateDb2ConnectionPropertiesOrBuilder

The properties of GoldengateDb2Connection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties

Static Methods

getDescriptor()

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

Methods

addAdditionalAttributes(NameValuePair value)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NameValuePair
Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

addAdditionalAttributes(NameValuePair.Builder builderForValue)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NameValuePair.Builder
Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

addAdditionalAttributes(int index, NameValuePair value)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

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

addAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NameValuePair.Builder
Returns
Type Description
GoldengateDb2ConnectionProperties.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NameValuePair.Builder

addAllAdditionalAttributes(Iterable<? extends NameValuePair> values)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.oracledatabase.v1.NameValuePair>
Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

build()

public GoldengateDb2ConnectionProperties build()
Returns
Type Description
GoldengateDb2ConnectionProperties

buildPartial()

public GoldengateDb2ConnectionProperties buildPartial()
Returns
Type Description
GoldengateDb2ConnectionProperties

clear()

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

clearAdditionalAttributes()

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

clearConnectionPasswordOptions()

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

clearDatabase()

public GoldengateDb2ConnectionProperties.Builder clearDatabase()

Optional. The name of the database.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearHost()

public GoldengateDb2ConnectionProperties.Builder clearHost()

Optional. The name or address of a host.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateDb2ConnectionProperties.Builder clearPassword()

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

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateDb2ConnectionProperties.Builder clearPasswordSecretVersion()

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

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearPort()

public GoldengateDb2ConnectionProperties.Builder clearPort()

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

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearSecurityProtocol()

public GoldengateDb2ConnectionProperties.Builder clearSecurityProtocol()

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearSslClientKeystashFile()

public GoldengateDb2ConnectionProperties.Builder clearSslClientKeystashFile()

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearSslClientKeystoredbFile()

public GoldengateDb2ConnectionProperties.Builder clearSslClientKeystoredbFile()

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

string ssl_client_keystoredb_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearSslServerCertificateFile()

public GoldengateDb2ConnectionProperties.Builder clearSslServerCertificateFile()

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateDb2ConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of Db2Connection.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateDb2ConnectionProperties.Builder clearUsername()

Optional. The username Oracle Goldengate uses to connect to the DB2 database.

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

Returns
Type Description
GoldengateDb2ConnectionProperties.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

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

getConnectionPasswordOptionsCase()

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

getDatabase()

public String getDatabase()

Optional. The name of the database.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public GoldengateDb2ConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateDb2ConnectionProperties

getDescriptorForType()

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

getHost()

public String getHost()

Optional. The name or address of a host.

string host = 2 [(.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 = 2 [(.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 Db2 connection in plain text.

string password = 12 [(.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 Db2 connection in plain text.

string password = 12 [(.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 Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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 Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengateDb2ConnectionProperties.Db2SecurityProtocol getSecurityProtocol()

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDb2ConnectionProperties.Db2SecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getSslClientKeystashFile()

public String getSslClientKeystashFile()

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Returns
Type Description
String

The sslClientKeystashFile.

getSslClientKeystashFileBytes()

public ByteString getSslClientKeystashFileBytes()

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Returns
Type Description
ByteString

The bytes for sslClientKeystashFile.

getSslClientKeystoredbFile()

public String getSslClientKeystoredbFile()

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

string ssl_client_keystoredb_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslClientKeystoredbFile.

getSslClientKeystoredbFileBytes()

public ByteString getSslClientKeystoredbFileBytes()

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

string ssl_client_keystoredb_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslClientKeystoredbFile.

getSslServerCertificateFile()

public String getSslServerCertificateFile()

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Returns
Type Description
String

The sslServerCertificateFile.

getSslServerCertificateFileBytes()

public ByteString getSslServerCertificateFileBytes()

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Returns
Type Description
ByteString

The bytes for sslServerCertificateFile.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of Db2Connection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of Db2Connection.

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 to the DB2 database.

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 to the DB2 database.

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 Db2 connection in plain text.

string password = 12 [(.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 Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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(GoldengateDb2ConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAdditionalAttributes(int index)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

setAdditionalAttributes(int index, NameValuePair value)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

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

setAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

public GoldengateDb2ConnectionProperties.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

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

setDatabase(String value)

public GoldengateDb2ConnectionProperties.Builder setDatabase(String value)

Optional. The name of the database.

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

Parameter
Name Description
value String

The database to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setDatabaseBytes(ByteString value)

Optional. The name of the database.

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

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setHost(String value)

public GoldengateDb2ConnectionProperties.Builder setHost(String value)

Optional. The name or address of a host.

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setHostBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setHostBytes(ByteString value)

Optional. The name or address of a host.

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateDb2ConnectionProperties.Builder setPassword(String value)

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

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

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setPasswordBytes(ByteString value)

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

string password = 12 [(.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
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateDb2ConnectionProperties.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 Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateDb2ConnectionProperties.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 Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setPort(int value)

public GoldengateDb2ConnectionProperties.Builder setPort(int value)

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

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

Parameter
Name Description
value int

The port to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSecurityProtocol(GoldengateDb2ConnectionProperties.Db2SecurityProtocol value)

public GoldengateDb2ConnectionProperties.Builder setSecurityProtocol(GoldengateDb2ConnectionProperties.Db2SecurityProtocol value)

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateDb2ConnectionProperties.Db2SecurityProtocol

The securityProtocol to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSecurityProtocolValue(int value)

public GoldengateDb2ConnectionProperties.Builder setSecurityProtocolValue(int value)

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslClientKeystashFile(String value)

public GoldengateDb2ConnectionProperties.Builder setSslClientKeystashFile(String value)

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Parameter
Name Description
value String

The sslClientKeystashFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslClientKeystashFileBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setSslClientKeystashFileBytes(ByteString value)

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Parameter
Name Description
value ByteString

The bytes for sslClientKeystashFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslClientKeystoredbFile(String value)

public GoldengateDb2ConnectionProperties.Builder setSslClientKeystoredbFile(String value)

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

string ssl_client_keystoredb_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The sslClientKeystoredbFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslClientKeystoredbFileBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setSslClientKeystoredbFileBytes(ByteString value)

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

string ssl_client_keystoredb_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for sslClientKeystoredbFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslServerCertificateFile(String value)

public GoldengateDb2ConnectionProperties.Builder setSslServerCertificateFile(String value)

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Parameter
Name Description
value String

The sslServerCertificateFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setSslServerCertificateFileBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setSslServerCertificateFileBytes(ByteString value)

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Parameter
Name Description
value ByteString

The bytes for sslServerCertificateFile to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateDb2ConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of Db2Connection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of Db2Connection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateDb2ConnectionProperties.Builder setUsername(String value)

Optional. The username Oracle Goldengate uses to connect to the DB2 database.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateDb2ConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username Oracle Goldengate uses to connect to the DB2 database.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateDb2ConnectionProperties.Builder

This builder for chaining.