Class GoldengateSnowflakeConnectionProperties.Builder (0.42.0)

public static final class GoldengateSnowflakeConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateSnowflakeConnectionProperties.Builder> implements GoldengateSnowflakeConnectionPropertiesOrBuilder

The properties of GoldengateSnowflakeConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateSnowflakeConnectionProperties build()
Returns
Type Description
GoldengateSnowflakeConnectionProperties

buildPartial()

public GoldengateSnowflakeConnectionProperties buildPartial()
Returns
Type Description
GoldengateSnowflakeConnectionProperties

clear()

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

clearAuthenticationType()

public GoldengateSnowflakeConnectionProperties.Builder clearAuthenticationType()

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearConnectionPasswordOptions()

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

clearConnectionUrl()

public GoldengateSnowflakeConnectionProperties.Builder clearConnectionUrl()

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateSnowflakeConnectionProperties.Builder clearPassword()

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

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateSnowflakeConnectionProperties.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearPrivateKeyFile()

public GoldengateSnowflakeConnectionProperties.Builder clearPrivateKeyFile()

Optional. The content of private key file in PEM format.

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearPrivateKeyPassphraseSecret()

public GoldengateSnowflakeConnectionProperties.Builder clearPrivateKeyPassphraseSecret()

Optional. Password if the private key file is encrypted.

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateSnowflakeConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of SnowflakeConnection.

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateSnowflakeConnectionProperties.Builder clearUsername()

Optional. The username Oracle Goldengate uses to connect to Snowflake.

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

getAuthenticationType()

public GoldengateSnowflakeConnectionProperties.AuthenticationType getAuthenticationType()

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateSnowflakeConnectionProperties.AuthenticationType

The authenticationType.

getAuthenticationTypeValue()

public int getAuthenticationTypeValue()

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationType.

getConnectionPasswordOptionsCase()

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

getConnectionUrl()

public String getConnectionUrl()

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateSnowflakeConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateSnowflakeConnectionProperties

getDescriptorForType()

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

getPassword()

public String getPassword()

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

string password = 8 [(.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 Snowflake platform in plain text.

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

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

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getPrivateKeyFile()

public String getPrivateKeyFile()

Optional. The content of private key file in PEM format.

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

Returns
Type Description
String

The privateKeyFile.

getPrivateKeyFileBytes()

public ByteString getPrivateKeyFileBytes()

Optional. The content of private key file in PEM format.

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

Returns
Type Description
ByteString

The bytes for privateKeyFile.

getPrivateKeyPassphraseSecret()

public String getPrivateKeyPassphraseSecret()

Optional. Password if the private key file is encrypted.

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

Returns
Type Description
String

The privateKeyPassphraseSecret.

getPrivateKeyPassphraseSecretBytes()

public ByteString getPrivateKeyPassphraseSecretBytes()

Optional. Password if the private key file is encrypted.

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

Returns
Type Description
ByteString

The bytes for privateKeyPassphraseSecret.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of SnowflakeConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of SnowflakeConnection.

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

Returns
Type Description
ByteString

The bytes for technologyType.

getUsername()

public String getUsername()

Optional. The username Oracle Goldengate uses to connect to Snowflake.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect to Snowflake.

string username = 4 [(.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 Snowflake platform in plain text.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthenticationType(GoldengateSnowflakeConnectionProperties.AuthenticationType value)

public GoldengateSnowflakeConnectionProperties.Builder setAuthenticationType(GoldengateSnowflakeConnectionProperties.AuthenticationType value)

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateSnowflakeConnectionProperties.AuthenticationType

The authenticationType to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setAuthenticationTypeValue(int value)

public GoldengateSnowflakeConnectionProperties.Builder setAuthenticationTypeValue(int value)

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setConnectionUrl(String value)

public GoldengateSnowflakeConnectionProperties.Builder setConnectionUrl(String value)

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Parameter
Name Description
value String

The connectionUrl to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setConnectionUrlBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setConnectionUrlBytes(ByteString value)

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Parameter
Name Description
value ByteString

The bytes for connectionUrl to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateSnowflakeConnectionProperties.Builder setPassword(String value)

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

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

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setPasswordBytes(ByteString value)

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

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

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateSnowflakeConnectionProperties.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 9 [(.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
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 9 [(.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
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPrivateKeyFile(String value)

public GoldengateSnowflakeConnectionProperties.Builder setPrivateKeyFile(String value)

Optional. The content of private key file in PEM format.

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

Parameter
Name Description
value String

The privateKeyFile to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPrivateKeyFileBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setPrivateKeyFileBytes(ByteString value)

Optional. The content of private key file in PEM format.

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

Parameter
Name Description
value ByteString

The bytes for privateKeyFile to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecret(String value)

public GoldengateSnowflakeConnectionProperties.Builder setPrivateKeyPassphraseSecret(String value)

Optional. Password if the private key file is encrypted.

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

Parameter
Name Description
value String

The privateKeyPassphraseSecret to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecretBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setPrivateKeyPassphraseSecretBytes(ByteString value)

Optional. Password if the private key file is encrypted.

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

Parameter
Name Description
value ByteString

The bytes for privateKeyPassphraseSecret to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateSnowflakeConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of SnowflakeConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of SnowflakeConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateSnowflakeConnectionProperties.Builder setUsername(String value)

Optional. The username Oracle Goldengate uses to connect to Snowflake.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateSnowflakeConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username Oracle Goldengate uses to connect to Snowflake.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateSnowflakeConnectionProperties.Builder

This builder for chaining.