Class GoldengateMysqlConnectionProperties.Builder (0.42.0)

public static final class GoldengateMysqlConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateMysqlConnectionProperties.Builder> implements GoldengateMysqlConnectionPropertiesOrBuilder

Properties of GoldengateMysqlConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties

Static Methods

getDescriptor()

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

Methods

addAdditionalAttributes(NameValuePair value)

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

Parameter
Name Description
value NameValuePair
Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

addAdditionalAttributes(NameValuePair.Builder builderForValue)

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

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

addAdditionalAttributes(int index, NameValuePair value)

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

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

addAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

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

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

Parameter
Name Description
index int
Returns
Type Description
NameValuePair.Builder

addAllAdditionalAttributes(Iterable<? extends NameValuePair> values)

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

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

build()

public GoldengateMysqlConnectionProperties build()
Returns
Type Description
GoldengateMysqlConnectionProperties

buildPartial()

public GoldengateMysqlConnectionProperties buildPartial()
Returns
Type Description
GoldengateMysqlConnectionProperties

clear()

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

clearAdditionalAttributes()

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

clearConnectionPasswordOptions()

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

clearDatabase()

public GoldengateMysqlConnectionProperties.Builder clearDatabase()

Optional. The name of the database.

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearDbSystemId()

public GoldengateMysqlConnectionProperties.Builder clearDbSystemId()

Optional. The OCID of the database system being referenced.

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearHost()

public GoldengateMysqlConnectionProperties.Builder clearHost()

Optional. The name or address of a host.

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateMysqlConnectionProperties.Builder clearPassword()

Optional. Input only. The password Oracle Goldengate uses to connect to MySQL in plain text.

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateMysqlConnectionProperties.Builder clearPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect to MySQL. 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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearPort()

public GoldengateMysqlConnectionProperties.Builder clearPort()

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

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSecurityProtocol()

public GoldengateMysqlConnectionProperties.Builder clearSecurityProtocol()

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSslCaFile()

public GoldengateMysqlConnectionProperties.Builder clearSslCaFile()

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

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSslCertFile()

public GoldengateMysqlConnectionProperties.Builder clearSslCertFile()

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

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSslCrlFile()

public GoldengateMysqlConnectionProperties.Builder clearSslCrlFile()

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

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSslKeyFile()

public GoldengateMysqlConnectionProperties.Builder clearSslKeyFile()

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearSslMode()

public GoldengateMysqlConnectionProperties.Builder clearSslMode()

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateMysqlConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of MysqlConnection.

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateMysqlConnectionProperties.Builder clearUsername()

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

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

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

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

getConnectionPasswordOptionsCase()

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

getDatabase()

public String getDatabase()

Optional. The name of the database.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

string database = 6 [(.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 GoldengateMysqlConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateMysqlConnectionProperties

getDescriptorForType()

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

getHost()

public String getHost()

Optional. The name or address of a host.

string host = 4 [(.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 = 4 [(.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 to connect to MySQL 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 to connect to MySQL 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 to connect to MySQL. 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 to connect to MySQL. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengateMysqlConnectionProperties.MysqlSecurityProtocol getSecurityProtocol()

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.MysqlSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getSslCaFile()

public String getSslCaFile()

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

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

Returns
Type Description
String

The sslCaFile.

getSslCaFileBytes()

public ByteString getSslCaFileBytes()

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

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

Returns
Type Description
ByteString

The bytes for sslCaFile.

getSslCertFile()

public String getSslCertFile()

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

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

Returns
Type Description
String

The sslCertFile.

getSslCertFileBytes()

public ByteString getSslCertFileBytes()

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

string ssl_cert_file = 11 [(.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 = 10 [(.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 = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCrlFile.

getSslKeyFile()

public String getSslKeyFile()

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

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

Returns
Type Description
String

The sslKeyFile.

getSslKeyFileBytes()

public ByteString getSslKeyFileBytes()

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

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

Returns
Type Description
ByteString

The bytes for sslKeyFile.

getSslMode()

public GoldengateMysqlConnectionProperties.SSLMode getSslMode()

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.SSLMode

The sslMode.

getSslModeValue()

public int getSslModeValue()

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.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 MysqlConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of MysqlConnection.

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 = 2 [(.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 = 2 [(.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 to MySQL 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 to connect to MySQL. 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(GoldengateMysqlConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAdditionalAttributes(int index)

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

Parameter
Name Description
index int
Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

setAdditionalAttributes(int index, NameValuePair value)

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

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

setAdditionalAttributes(int index, NameValuePair.Builder builderForValue)

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

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

setDatabase(String value)

public GoldengateMysqlConnectionProperties.Builder setDatabase(String value)

Optional. The name of the database.

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

Parameter
Name Description
value String

The database to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setDatabaseBytes(ByteString value)

Optional. The name of the database.

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

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setDbSystemId(String value)

public GoldengateMysqlConnectionProperties.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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setDbSystemIdBytes(ByteString value)

public GoldengateMysqlConnectionProperties.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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setHost(String value)

public GoldengateMysqlConnectionProperties.Builder setHost(String value)

Optional. The name or address of a host.

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setHostBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setHostBytes(ByteString value)

Optional. The name or address of a host.

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateMysqlConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password Oracle Goldengate uses to connect to MySQL 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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password Oracle Goldengate uses to connect to MySQL 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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateMysqlConnectionProperties.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 to MySQL. 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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateMysqlConnectionProperties.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 to MySQL. 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
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setPort(int value)

public GoldengateMysqlConnectionProperties.Builder setPort(int value)

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

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

Parameter
Name Description
value int

The port to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSecurityProtocol(GoldengateMysqlConnectionProperties.MysqlSecurityProtocol value)

public GoldengateMysqlConnectionProperties.Builder setSecurityProtocol(GoldengateMysqlConnectionProperties.MysqlSecurityProtocol value)

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateMysqlConnectionProperties.MysqlSecurityProtocol

The securityProtocol to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSecurityProtocolValue(int value)

public GoldengateMysqlConnectionProperties.Builder setSecurityProtocolValue(int value)

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCaFile(String value)

public GoldengateMysqlConnectionProperties.Builder setSslCaFile(String value)

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

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

Parameter
Name Description
value String

The sslCaFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCaFileBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setSslCaFileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for sslCaFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCertFile(String value)

public GoldengateMysqlConnectionProperties.Builder setSslCertFile(String value)

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

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

Parameter
Name Description
value String

The sslCertFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCertFileBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setSslCertFileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for sslCertFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCrlFile(String value)

public GoldengateMysqlConnectionProperties.Builder setSslCrlFile(String value)

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

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

Parameter
Name Description
value String

The sslCrlFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslCrlFileBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setSslCrlFileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for sslCrlFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslKeyFile(String value)

public GoldengateMysqlConnectionProperties.Builder setSslKeyFile(String value)

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

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

Parameter
Name Description
value String

The sslKeyFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslKeyFileBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setSslKeyFileBytes(ByteString value)

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

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

Parameter
Name Description
value ByteString

The bytes for sslKeyFile to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslMode(GoldengateMysqlConnectionProperties.SSLMode value)

public GoldengateMysqlConnectionProperties.Builder setSslMode(GoldengateMysqlConnectionProperties.SSLMode value)

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateMysqlConnectionProperties.SSLMode

The sslMode to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setSslModeValue(int value)

public GoldengateMysqlConnectionProperties.Builder setSslModeValue(int value)

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateMysqlConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of MysqlConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of MysqlConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateMysqlConnectionProperties.Builder setUsername(String value)

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

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateMysqlConnectionProperties.Builder setUsernameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

This builder for chaining.