Class GoldengateDatabricksConnectionProperties.Builder (0.42.0)

public static final class GoldengateDatabricksConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateDatabricksConnectionProperties.Builder> implements GoldengateDatabricksConnectionPropertiesOrBuilder

The properties of GoldengateDatabricksConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateDatabricksConnectionProperties build()
Returns
Type Description
GoldengateDatabricksConnectionProperties

buildPartial()

public GoldengateDatabricksConnectionProperties buildPartial()
Returns
Type Description
GoldengateDatabricksConnectionProperties

clear()

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

clearAuthenticationType()

public GoldengateDatabricksConnectionProperties.Builder clearAuthenticationType()

Optional. Authentication type for Databricks.

.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType authentication_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearClientId()

public GoldengateDatabricksConnectionProperties.Builder clearClientId()

Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearClientSecret()

public GoldengateDatabricksConnectionProperties.Builder clearClientSecret()

Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearConnectionPasswordOptions()

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

clearConnectionUrl()

public GoldengateDatabricksConnectionProperties.Builder clearConnectionUrl()

Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateDatabricksConnectionProperties.Builder clearPassword()

Optional. Input only. The password used to connect to Databricks in plain text.

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateDatabricksConnectionProperties.Builder clearPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password used to connect to Databricks. 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
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearStorageCredential()

public GoldengateDatabricksConnectionProperties.Builder clearStorageCredential()

Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateDatabricksConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of DatabricksConnection.

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

getAuthenticationType()

public GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType getAuthenticationType()

Optional. Authentication type for Databricks.

.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType authentication_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType

The authenticationType.

getAuthenticationTypeValue()

public int getAuthenticationTypeValue()

Optional. Authentication type for Databricks.

.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType authentication_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationType.

getClientId()

public String getClientId()

Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public String getClientSecret()

Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public ByteString getClientSecretBytes()

Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M

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

Returns
Type Description
ByteString

The bytes for clientSecret.

getConnectionPasswordOptionsCase()

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

getConnectionUrl()

public String getConnectionUrl()

Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateDatabricksConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateDatabricksConnectionProperties

getDescriptorForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password used to connect to Databricks 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 used to connect to Databricks 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 used to connect to Databricks. 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 used to connect to Databricks. 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.

getStorageCredential()

public String getStorageCredential()

Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.

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

Returns
Type Description
String

The storageCredential.

getStorageCredentialBytes()

public ByteString getStorageCredentialBytes()

Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.

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

Returns
Type Description
ByteString

The bytes for storageCredential.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of DatabricksConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of DatabricksConnection.

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

Returns
Type Description
ByteString

The bytes for technologyType.

hasPassword()

public boolean hasPassword()

Optional. Input only. The password used to connect to Databricks 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 used to connect to Databricks. 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(GoldengateDatabricksConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthenticationType(GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType value)

public GoldengateDatabricksConnectionProperties.Builder setAuthenticationType(GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType value)

Optional. Authentication type for Databricks.

.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType authentication_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType

The authenticationType to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setAuthenticationTypeValue(int value)

public GoldengateDatabricksConnectionProperties.Builder setAuthenticationTypeValue(int value)

Optional. Authentication type for Databricks.

.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType authentication_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setClientId(String value)

public GoldengateDatabricksConnectionProperties.Builder setClientId(String value)

Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M

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

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setClientIdBytes(ByteString value)

Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M

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

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setClientSecret(String value)

public GoldengateDatabricksConnectionProperties.Builder setClientSecret(String value)

Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M

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

Parameter
Name Description
value String

The clientSecret to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setClientSecretBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setClientSecretBytes(ByteString value)

Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M

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

Parameter
Name Description
value ByteString

The bytes for clientSecret to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setConnectionUrl(String value)

public GoldengateDatabricksConnectionProperties.Builder setConnectionUrl(String value)

Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'

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

Parameter
Name Description
value String

The connectionUrl to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setConnectionUrlBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setConnectionUrlBytes(ByteString value)

Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'

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

Parameter
Name Description
value ByteString

The bytes for connectionUrl to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateDatabricksConnectionProperties.Builder setPassword(String value)

Optional. Input only. The password used to connect to Databricks 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
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setPasswordBytes(ByteString value)

Optional. Input only. The password used to connect to Databricks 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
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateDatabricksConnectionProperties.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 Databricks. 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
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.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 Databricks. 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
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setStorageCredential(String value)

public GoldengateDatabricksConnectionProperties.Builder setStorageCredential(String value)

Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.

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

Parameter
Name Description
value String

The storageCredential to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setStorageCredentialBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setStorageCredentialBytes(ByteString value)

Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.

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

Parameter
Name Description
value ByteString

The bytes for storageCredential to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateDatabricksConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of DatabricksConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateDatabricksConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of DatabricksConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateDatabricksConnectionProperties.Builder

This builder for chaining.