Class GoldengateGoldengateConnectionProperties.Builder (0.42.0)

public static final class GoldengateGoldengateConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateGoldengateConnectionProperties.Builder> implements GoldengateGoldengateConnectionPropertiesOrBuilder

The properties of GoldengateGoldengateConnectionProperties.

Protobuf type google.cloud.oracledatabase.v1.GoldengateGoldengateConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateGoldengateConnectionProperties build()
Returns
Type Description
GoldengateGoldengateConnectionProperties

buildPartial()

public GoldengateGoldengateConnectionProperties buildPartial()
Returns
Type Description
GoldengateGoldengateConnectionProperties

clear()

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

clearConnectionPasswordOptions()

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

clearGoldengateDeploymentId()

public GoldengateGoldengateConnectionProperties.Builder clearGoldengateDeploymentId()

Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearHost()

public GoldengateGoldengateConnectionProperties.Builder clearHost()

Optional. The host of the GoldengateConnection.

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateGoldengateConnectionProperties.Builder clearPassword()

Optional. Input only. The password used to connect to the Oracle Goldengate in plain text.

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateGoldengateConnectionProperties.Builder clearPasswordSecretVersion()

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

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearPort()

public GoldengateGoldengateConnectionProperties.Builder clearPort()

Optional. The port of the GoldengateConnection.

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateGoldengateConnectionProperties.Builder clearTechnologyType()

Optional. The technology type.

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateGoldengateConnectionProperties.Builder clearUsername()

Optional. The username credential.

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

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

getConnectionPasswordOptionsCase()

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

getDefaultInstanceForType()

public GoldengateGoldengateConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateGoldengateConnectionProperties

getDescriptorForType()

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

getGoldengateDeploymentId()

public String getGoldengateDeploymentId()

Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The goldengateDeploymentId.

getGoldengateDeploymentIdBytes()

public ByteString getGoldengateDeploymentIdBytes()

Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for goldengateDeploymentId.

getHost()

public String getHost()

Optional. The host of the GoldengateConnection.

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

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Optional. The host of the GoldengateConnection.

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

Returns
Type Description
ByteString

The bytes for host.

getPassword()

public String getPassword()

Optional. Input only. The password used to connect to the Oracle Goldengate in plain text.

string password = 7 [(.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 used to connect to the Oracle Goldengate in plain text.

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

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

string password_secret_version = 8 [(.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 the GoldengateConnection.

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

Returns
Type Description
int

The port.

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 credential.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username credential.

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 used to connect to the Oracle Goldengate in plain text.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGoldengateDeploymentId(String value)

public GoldengateGoldengateConnectionProperties.Builder setGoldengateDeploymentId(String value)

Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The goldengateDeploymentId to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setGoldengateDeploymentIdBytes(ByteString value)

public GoldengateGoldengateConnectionProperties.Builder setGoldengateDeploymentIdBytes(ByteString value)

Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

string goldengate_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for goldengateDeploymentId to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setHost(String value)

public GoldengateGoldengateConnectionProperties.Builder setHost(String value)

Optional. The host of the GoldengateConnection.

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setHostBytes(ByteString value)

public GoldengateGoldengateConnectionProperties.Builder setHostBytes(ByteString value)

Optional. The host of the GoldengateConnection.

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateGoldengateConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password used to connect to the Oracle Goldengate in plain text.

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

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateGoldengateConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password used to connect to the Oracle Goldengate in plain text.

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

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateGoldengateConnectionProperties.Builder setPasswordSecretVersion(String value)

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

string password_secret_version = 8 [(.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
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateGoldengateConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

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

string password_secret_version = 8 [(.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
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setPort(int value)

public GoldengateGoldengateConnectionProperties.Builder setPort(int value)

Optional. The port of the GoldengateConnection.

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

Parameter
Name Description
value int

The port to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

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

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

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

This builder for chaining.

setUsername(String value)

public GoldengateGoldengateConnectionProperties.Builder setUsername(String value)

Optional. The username credential.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateGoldengateConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username credential.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateGoldengateConnectionProperties.Builder

This builder for chaining.