Class GoldengateOracleConnectionProperties.Builder (0.42.0)

public static final class GoldengateOracleConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateOracleConnectionProperties.Builder> implements GoldengateOracleConnectionPropertiesOrBuilder

The properties of Goldengate Oracle Database Connection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateOracleConnectionProperties build()
Returns
Type Description
GoldengateOracleConnectionProperties

buildPartial()

public GoldengateOracleConnectionProperties buildPartial()
Returns
Type Description
GoldengateOracleConnectionProperties

clear()

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

clearAuthenticationMode()

public GoldengateOracleConnectionProperties.Builder clearAuthenticationMode()

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearConnectionPasswordOptions()

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

clearConnectionString()

public GoldengateOracleConnectionProperties.Builder clearConnectionString()

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearGcpOracleDatabaseId()

public GoldengateOracleConnectionProperties.Builder clearGcpOracleDatabaseId()

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateOracleConnectionProperties.Builder clearPassword()

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

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateOracleConnectionProperties.Builder clearPasswordSecretVersion()

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

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearSessionMode()

public GoldengateOracleConnectionProperties.Builder clearSessionMode()

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateOracleConnectionProperties.Builder clearTechnologyType()

Optional. The technology type.

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateOracleConnectionProperties.Builder clearUsername()

Optional. The username Oracle Goldengate uses to connect.

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

clearWalletFile()

public GoldengateOracleConnectionProperties.Builder clearWalletFile()

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

getAuthenticationMode()

public GoldengateOracleConnectionProperties.OracleAuthenticationMode getAuthenticationMode()

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.OracleAuthenticationMode

The authenticationMode.

getAuthenticationModeValue()

public int getAuthenticationModeValue()

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationMode.

getConnectionPasswordOptionsCase()

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

getConnectionString()

public String getConnectionString()

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Returns
Type Description
String

The connectionString.

getConnectionStringBytes()

public ByteString getConnectionStringBytes()

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Returns
Type Description
ByteString

The bytes for connectionString.

getDefaultInstanceForType()

public GoldengateOracleConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateOracleConnectionProperties

getDescriptorForType()

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

getGcpOracleDatabaseId()

public String getGcpOracleDatabaseId()

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

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

Returns
Type Description
String

The gcpOracleDatabaseId.

getGcpOracleDatabaseIdBytes()

public ByteString getGcpOracleDatabaseIdBytes()

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

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

Returns
Type Description
ByteString

The bytes for gcpOracleDatabaseId.

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses 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 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. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getSessionMode()

public GoldengateOracleConnectionProperties.SessionMode getSessionMode()

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.SessionMode

The sessionMode.

getSessionModeValue()

public int getSessionModeValue()

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sessionMode.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type.

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.

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.

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

Returns
Type Description
ByteString

The bytes for username.

getWalletFile()

public String getWalletFile()

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Returns
Type Description
String

The walletFile.

getWalletFileBytes()

public ByteString getWalletFileBytes()

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Returns
Type Description
ByteString

The bytes for walletFile.

hasPassword()

public boolean hasPassword()

Optional. Input only. The password Oracle Goldengate uses 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. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthenticationMode(GoldengateOracleConnectionProperties.OracleAuthenticationMode value)

public GoldengateOracleConnectionProperties.Builder setAuthenticationMode(GoldengateOracleConnectionProperties.OracleAuthenticationMode value)

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateOracleConnectionProperties.OracleAuthenticationMode

The authenticationMode to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setAuthenticationModeValue(int value)

public GoldengateOracleConnectionProperties.Builder setAuthenticationModeValue(int value)

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setConnectionString(String value)

public GoldengateOracleConnectionProperties.Builder setConnectionString(String value)

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Parameter
Name Description
value String

The connectionString to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setConnectionStringBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setConnectionStringBytes(ByteString value)

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Parameter
Name Description
value ByteString

The bytes for connectionString to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setGcpOracleDatabaseId(String value)

public GoldengateOracleConnectionProperties.Builder setGcpOracleDatabaseId(String value)

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

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

Parameter
Name Description
value String

The gcpOracleDatabaseId to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setGcpOracleDatabaseIdBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setGcpOracleDatabaseIdBytes(ByteString value)

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

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

Parameter
Name Description
value ByteString

The bytes for gcpOracleDatabaseId to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateOracleConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password Oracle Goldengate uses 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
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password Oracle Goldengate uses 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
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateOracleConnectionProperties.Builder setPasswordSecretVersion(String value)

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

string password_secret_version = 11 [(.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
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

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

string password_secret_version = 11 [(.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
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setSessionMode(GoldengateOracleConnectionProperties.SessionMode value)

public GoldengateOracleConnectionProperties.Builder setSessionMode(GoldengateOracleConnectionProperties.SessionMode value)

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateOracleConnectionProperties.SessionMode

The sessionMode to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setSessionModeValue(int value)

public GoldengateOracleConnectionProperties.Builder setSessionModeValue(int value)

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateOracleConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateOracleConnectionProperties.Builder setUsername(String value)

Optional. The username Oracle Goldengate uses to connect.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username Oracle Goldengate uses to connect.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setWalletFile(String value)

public GoldengateOracleConnectionProperties.Builder setWalletFile(String value)

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Parameter
Name Description
value String

The walletFile to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.

setWalletFileBytes(ByteString value)

public GoldengateOracleConnectionProperties.Builder setWalletFileBytes(ByteString value)

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Parameter
Name Description
value ByteString

The bytes for walletFile to set.

Returns
Type Description
GoldengateOracleConnectionProperties.Builder

This builder for chaining.