Class GoldengateOracleAIDataPlatformConnectionProperties.Builder (0.42.0)

public static final class GoldengateOracleAIDataPlatformConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateOracleAIDataPlatformConnectionProperties.Builder> implements GoldengateOracleAIDataPlatformConnectionPropertiesOrBuilder

The properties of GoldengateOracleAIDataPlatformConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateOracleAIDataPlatformConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateOracleAIDataPlatformConnectionProperties build()
Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties

buildPartial()

public GoldengateOracleAIDataPlatformConnectionProperties buildPartial()
Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties

clear()

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

clearConnectionUrl()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearConnectionUrl()

Optional. Connection URL. It must start with 'jdbc:spark://'

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearPrivateKeyFile()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearPrivateKeyFile()

Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearPrivateKeyPassphraseSecret()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearPrivateKeyPassphraseSecret()

Optional. The passphrase of the private key.

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearPublicKeyFingerprint()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearPublicKeyFingerprint()

Optional. The fingerprint of the API Key of the user specified by the user_id.

string public_key_fingerprint = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearRegion()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearRegion()

Optional. The name of the region. e.g.: us-ashburn-1

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of OracleAiDataPlatformConnection.

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearTenancyId()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearTenancyId()

Optional. The OCID of the related OCI tenancy.

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearUseResourcePrincipal()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearUseResourcePrincipal()

Optional. Specifies that the user intends to authenticate to the instance using a resource principal.

bool use_resource_principal = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

clearUserId()

public GoldengateOracleAIDataPlatformConnectionProperties.Builder clearUserId()

Optional. The OCID of the OCI user who will access.

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

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

getConnectionUrl()

public String getConnectionUrl()

Optional. Connection URL. It must start with 'jdbc:spark://'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. Connection URL. It must start with 'jdbc:spark://'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateOracleAIDataPlatformConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties

getDescriptorForType()

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

getPrivateKeyFile()

public String getPrivateKeyFile()

Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.

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

Returns
Type Description
String

The privateKeyFile.

getPrivateKeyFileBytes()

public ByteString getPrivateKeyFileBytes()

Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.

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

Returns
Type Description
ByteString

The bytes for privateKeyFile.

getPrivateKeyPassphraseSecret()

public String getPrivateKeyPassphraseSecret()

Optional. The passphrase of the private key.

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

Returns
Type Description
String

The privateKeyPassphraseSecret.

getPrivateKeyPassphraseSecretBytes()

public ByteString getPrivateKeyPassphraseSecretBytes()

Optional. The passphrase of the private key.

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

Returns
Type Description
ByteString

The bytes for privateKeyPassphraseSecret.

getPublicKeyFingerprint()

public String getPublicKeyFingerprint()

Optional. The fingerprint of the API Key of the user specified by the user_id.

string public_key_fingerprint = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The publicKeyFingerprint.

getPublicKeyFingerprintBytes()

public ByteString getPublicKeyFingerprintBytes()

Optional. The fingerprint of the API Key of the user specified by the user_id.

string public_key_fingerprint = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for publicKeyFingerprint.

getRegion()

public String getRegion()

Optional. The name of the region. e.g.: us-ashburn-1

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

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Optional. The name of the region. e.g.: us-ashburn-1

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

Returns
Type Description
ByteString

The bytes for region.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of OracleAiDataPlatformConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of OracleAiDataPlatformConnection.

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

Returns
Type Description
ByteString

The bytes for technologyType.

getTenancyId()

public String getTenancyId()

Optional. The OCID of the related OCI tenancy.

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

Returns
Type Description
String

The tenancyId.

getTenancyIdBytes()

public ByteString getTenancyIdBytes()

Optional. The OCID of the related OCI tenancy.

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

Returns
Type Description
ByteString

The bytes for tenancyId.

getUseResourcePrincipal()

public boolean getUseResourcePrincipal()

Optional. Specifies that the user intends to authenticate to the instance using a resource principal.

bool use_resource_principal = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The useResourcePrincipal.

getUserId()

public String getUserId()

Optional. The OCID of the OCI user who will access.

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

Returns
Type Description
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

Optional. The OCID of the OCI user who will access.

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

Returns
Type Description
ByteString

The bytes for userId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateOracleAIDataPlatformConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConnectionUrl(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setConnectionUrl(String value)

Optional. Connection URL. It must start with 'jdbc:spark://'

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

Parameter
Name Description
value String

The connectionUrl to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setConnectionUrlBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setConnectionUrlBytes(ByteString value)

Optional. Connection URL. It must start with 'jdbc:spark://'

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

Parameter
Name Description
value ByteString

The bytes for connectionUrl to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPrivateKeyFile(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPrivateKeyFile(String value)

Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.

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

Parameter
Name Description
value String

The privateKeyFile to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPrivateKeyFileBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPrivateKeyFileBytes(ByteString value)

Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.

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

Parameter
Name Description
value ByteString

The bytes for privateKeyFile to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecret(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPrivateKeyPassphraseSecret(String value)

Optional. The passphrase of the private key.

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

Parameter
Name Description
value String

The privateKeyPassphraseSecret to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecretBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPrivateKeyPassphraseSecretBytes(ByteString value)

Optional. The passphrase of the private key.

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
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPublicKeyFingerprint(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPublicKeyFingerprint(String value)

Optional. The fingerprint of the API Key of the user specified by the user_id.

string public_key_fingerprint = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The publicKeyFingerprint to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setPublicKeyFingerprintBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setPublicKeyFingerprintBytes(ByteString value)

Optional. The fingerprint of the API Key of the user specified by the user_id.

string public_key_fingerprint = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for publicKeyFingerprint to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setRegion(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setRegion(String value)

Optional. The name of the region. e.g.: us-ashburn-1

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

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setRegionBytes(ByteString value)

Optional. The name of the region. e.g.: us-ashburn-1

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

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of OracleAiDataPlatformConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of OracleAiDataPlatformConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setTenancyId(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setTenancyId(String value)

Optional. The OCID of the related OCI tenancy.

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

Parameter
Name Description
value String

The tenancyId to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setTenancyIdBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setTenancyIdBytes(ByteString value)

Optional. The OCID of the related OCI tenancy.

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

Parameter
Name Description
value ByteString

The bytes for tenancyId to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setUseResourcePrincipal(boolean value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setUseResourcePrincipal(boolean value)

Optional. Specifies that the user intends to authenticate to the instance using a resource principal.

bool use_resource_principal = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The useResourcePrincipal to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setUserId(String value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setUserId(String value)

Optional. The OCID of the OCI user who will access.

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

Parameter
Name Description
value String

The userId to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.

setUserIdBytes(ByteString value)

public GoldengateOracleAIDataPlatformConnectionProperties.Builder setUserIdBytes(ByteString value)

Optional. The OCID of the OCI user who will access.

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

Parameter
Name Description
value ByteString

The bytes for userId to set.

Returns
Type Description
GoldengateOracleAIDataPlatformConnectionProperties.Builder

This builder for chaining.