Class GoldengateMongodbConnectionProperties.Builder (0.42.0)

public static final class GoldengateMongodbConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateMongodbConnectionProperties.Builder> implements GoldengateMongodbConnectionPropertiesOrBuilder

The properties of GoldengateMongodbConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateMongodbConnectionProperties build()
Returns
Type Description
GoldengateMongodbConnectionProperties

buildPartial()

public GoldengateMongodbConnectionProperties buildPartial()
Returns
Type Description
GoldengateMongodbConnectionProperties

clear()

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

clearConnectionPasswordOptions()

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

clearConnectionString()

public GoldengateMongodbConnectionProperties.Builder clearConnectionString()

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearDatabaseId()

public GoldengateMongodbConnectionProperties.Builder clearDatabaseId()

Optional. The OCID of the Oracle Autonomous Json Database.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateMongodbConnectionProperties.Builder clearPassword()

Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateMongodbConnectionProperties.Builder clearPasswordSecretVersion()

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

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearSecurityProtocol()

public GoldengateMongodbConnectionProperties.Builder clearSecurityProtocol()

Optional. Security Type for MongoDB.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateMongodbConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of MongodbConnection.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearTlsCaFile()

public GoldengateMongodbConnectionProperties.Builder clearTlsCaFile()

Optional. Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearTlsCertificateKeyFile()

public GoldengateMongodbConnectionProperties.Builder clearTlsCertificateKeyFile()

Optional. Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL).

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearTlsCertificateKeyFilePassword()

public GoldengateMongodbConnectionProperties.Builder clearTlsCertificateKeyFilePassword()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearTlsCertificateKeyFilePasswordOptions()

public GoldengateMongodbConnectionProperties.Builder clearTlsCertificateKeyFilePasswordOptions()
Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

clearTlsCertificateKeyFilePasswordSecretVersion()

public GoldengateMongodbConnectionProperties.Builder clearTlsCertificateKeyFilePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateMongodbConnectionProperties.Builder clearUsername()

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

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

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

getConnectionPasswordOptionsCase()

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

getConnectionString()

public String getConnectionString()

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Returns
Type Description
String

The connectionString.

getConnectionStringBytes()

public ByteString getConnectionStringBytes()

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Returns
Type Description
ByteString

The bytes for connectionString.

getDatabaseId()

public String getDatabaseId()

Optional. The OCID of the Oracle Autonomous Json Database.

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

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

Optional. The OCID of the Oracle Autonomous Json Database.

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

Returns
Type Description
ByteString

The bytes for databaseId.

getDefaultInstanceForType()

public GoldengateMongodbConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateMongodbConnectionProperties

getDescriptorForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text.

string password = 10 [(.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 to connect the Mongodb connection in plain text.

string password = 10 [(.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 to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 12 [(.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 to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getSecurityProtocol()

public GoldengateMongodbConnectionProperties.MongodbSecurityProtocol getSecurityProtocol()

Optional. Security Type for MongoDB.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.MongodbSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security Type for MongoDB.

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

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of MongodbConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of MongodbConnection.

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

Returns
Type Description
ByteString

The bytes for technologyType.

getTlsCaFile()

public String getTlsCaFile()

Optional. Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tlsCaFile.

getTlsCaFileBytes()

public ByteString getTlsCaFileBytes()

Optional. Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tlsCaFile.

getTlsCertificateKeyFile()

public String getTlsCertificateKeyFile()

Optional. Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL).

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tlsCertificateKeyFile.

getTlsCertificateKeyFileBytes()

public ByteString getTlsCertificateKeyFileBytes()

Optional. Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL).

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tlsCertificateKeyFile.

getTlsCertificateKeyFilePassword()

public String getTlsCertificateKeyFilePassword()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The tlsCertificateKeyFilePassword.

getTlsCertificateKeyFilePasswordBytes()

public ByteString getTlsCertificateKeyFilePasswordBytes()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tlsCertificateKeyFilePassword.

getTlsCertificateKeyFilePasswordOptionsCase()

public GoldengateMongodbConnectionProperties.TlsCertificateKeyFilePasswordOptionsCase getTlsCertificateKeyFilePasswordOptionsCase()
Returns
Type Description
GoldengateMongodbConnectionProperties.TlsCertificateKeyFilePasswordOptionsCase

getTlsCertificateKeyFilePasswordSecretVersion()

public String getTlsCertificateKeyFilePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
String

The tlsCertificateKeyFilePasswordSecretVersion.

getTlsCertificateKeyFilePasswordSecretVersionBytes()

public ByteString getTlsCertificateKeyFilePasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion.

getUsername()

public String getUsername()

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

string username = 3 [(.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 database.

string username = 3 [(.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 to connect the Mongodb connection in plain text.

string password = 10 [(.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 to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 12 [(.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.

hasTlsCertificateKeyFilePassword()

public boolean hasTlsCertificateKeyFilePassword()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the tlsCertificateKeyFilePassword field is set.

hasTlsCertificateKeyFilePasswordSecretVersion()

public boolean hasTlsCertificateKeyFilePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateMongodbConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConnectionString(String value)

public GoldengateMongodbConnectionProperties.Builder setConnectionString(String value)

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Parameter
Name Description
value String

The connectionString to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setConnectionStringBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setConnectionStringBytes(ByteString value)

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Parameter
Name Description
value ByteString

The bytes for connectionString to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setDatabaseId(String value)

public GoldengateMongodbConnectionProperties.Builder setDatabaseId(String value)

Optional. The OCID of the Oracle Autonomous Json Database.

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

Parameter
Name Description
value String

The databaseId to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setDatabaseIdBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setDatabaseIdBytes(ByteString value)

Optional. The OCID of the Oracle Autonomous Json Database.

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

Parameter
Name Description
value ByteString

The bytes for databaseId to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateMongodbConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text.

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

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text.

string password = 10 [(.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
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateMongodbConnectionProperties.Builder setPasswordSecretVersion(String value)

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

string password_secret_version = 12 [(.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
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

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

string password_secret_version = 12 [(.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
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setSecurityProtocol(GoldengateMongodbConnectionProperties.MongodbSecurityProtocol value)

public GoldengateMongodbConnectionProperties.Builder setSecurityProtocol(GoldengateMongodbConnectionProperties.MongodbSecurityProtocol value)

Optional. Security Type for MongoDB.

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

Parameter
Name Description
value GoldengateMongodbConnectionProperties.MongodbSecurityProtocol

The securityProtocol to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setSecurityProtocolValue(int value)

public GoldengateMongodbConnectionProperties.Builder setSecurityProtocolValue(int value)

Optional. Security Type for MongoDB.

.google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties.MongodbSecurityProtocol 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
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateMongodbConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of MongodbConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of MongodbConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCaFile(String value)

public GoldengateMongodbConnectionProperties.Builder setTlsCaFile(String value)

Optional. Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tlsCaFile to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCaFileBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setTlsCaFileBytes(ByteString value)

Optional. Database Certificate - The base64 encoded content of a .pem file, containing the server public key (for 1 and 2-way SSL).

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tlsCaFile to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFile(String value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFile(String value)

Optional. Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL).

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tlsCertificateKeyFile to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFileBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFileBytes(ByteString value)

Optional. Client Certificate - The base64 encoded content of a .pem file, containing the client public key (for 2-way SSL).

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tlsCertificateKeyFile to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFilePassword(String value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFilePassword(String value)

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value String

The tlsCertificateKeyFilePassword to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFilePasswordBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFilePasswordBytes(ByteString value)

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for tlsCertificateKeyFilePassword to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFilePasswordSecretVersion(String value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFilePasswordSecretVersion(String value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setTlsCertificateKeyFilePasswordSecretVersionBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setTlsCertificateKeyFilePasswordSecretVersionBytes(ByteString value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateMongodbConnectionProperties.Builder setUsername(String value)

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

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateMongodbConnectionProperties.Builder setUsernameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

This builder for chaining.