Class GoldengateOciObjectStorageConnectionProperties.Builder (0.42.0)

public static final class GoldengateOciObjectStorageConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateOciObjectStorageConnectionProperties.Builder> implements GoldengateOciObjectStorageConnectionPropertiesOrBuilder

The properties of GoldengateOciObjectStorageConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateOciObjectStorageConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateOciObjectStorageConnectionProperties build()
Returns
Type Description
GoldengateOciObjectStorageConnectionProperties

buildPartial()

public GoldengateOciObjectStorageConnectionProperties buildPartial()
Returns
Type Description
GoldengateOciObjectStorageConnectionProperties

clear()

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

clearPrivateKeyFile()

public GoldengateOciObjectStorageConnectionProperties.Builder clearPrivateKeyFile()

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

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearPrivateKeyPassphraseSecret()

public GoldengateOciObjectStorageConnectionProperties.Builder clearPrivateKeyPassphraseSecret()

Optional. The passphrase of the private key.

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearPublicKeyFingerprint()

public GoldengateOciObjectStorageConnectionProperties.Builder clearPublicKeyFingerprint()

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

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearRegion()

public GoldengateOciObjectStorageConnectionProperties.Builder clearRegion()

Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateOciObjectStorageConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of OciObjectStorageConnection.

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearTenancyId()

public GoldengateOciObjectStorageConnectionProperties.Builder clearTenancyId()

Optional. The OCID of the related OCI tenancy.

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearUseResourcePrincipal()

public GoldengateOciObjectStorageConnectionProperties.Builder clearUseResourcePrincipal()

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

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

clearUserId()

public GoldengateOciObjectStorageConnectionProperties.Builder clearUserId()

Optional. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to.

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

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public GoldengateOciObjectStorageConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateOciObjectStorageConnectionProperties

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 = 5 [(.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 = 5 [(.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 = 6 [(.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 = 6 [(.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 userId.

string public_key_fingerprint = 7 [(.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 userId.

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

Returns
Type Description
ByteString

The bytes for publicKeyFingerprint.

getRegion()

public String getRegion()

Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

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

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

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

Returns
Type Description
ByteString

The bytes for region.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of OciObjectStorageConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of OciObjectStorageConnection.

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 = 2 [(.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 = 2 [(.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 = 8 [(.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 the Object Storage. The user must have write access to the bucket they want to connect to.

string user_id = 4 [(.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 the Object Storage. The user must have write access to the bucket they want to connect to.

string user_id = 4 [(.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(GoldengateOciObjectStorageConnectionProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPrivateKeyFile(String value)

public GoldengateOciObjectStorageConnectionProperties.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The privateKeyFile to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setPrivateKeyFileBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for privateKeyFile to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecret(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setPrivateKeyPassphraseSecret(String value)

Optional. The passphrase of the private key.

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

Parameter
Name Description
value String

The privateKeyPassphraseSecret to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setPrivateKeyPassphraseSecretBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setPrivateKeyPassphraseSecretBytes(ByteString value)

Optional. The passphrase of the private key.

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

Parameter
Name Description
value ByteString

The bytes for privateKeyPassphraseSecret to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setPublicKeyFingerprint(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setPublicKeyFingerprint(String value)

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

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

Parameter
Name Description
value String

The publicKeyFingerprint to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setPublicKeyFingerprintBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setPublicKeyFingerprintBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for publicKeyFingerprint to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setRegion(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setRegion(String value)

Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

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

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setRegionBytes(ByteString value)

Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.

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

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of OciObjectStorageConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of OciObjectStorageConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setTenancyId(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setTenancyId(String value)

Optional. The OCID of the related OCI tenancy.

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

Parameter
Name Description
value String

The tenancyId to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setTenancyIdBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setTenancyIdBytes(ByteString value)

Optional. The OCID of the related OCI tenancy.

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

Parameter
Name Description
value ByteString

The bytes for tenancyId to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setUseResourcePrincipal(boolean value)

public GoldengateOciObjectStorageConnectionProperties.Builder setUseResourcePrincipal(boolean value)

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

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

Parameter
Name Description
value boolean

The useResourcePrincipal to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setUserId(String value)

public GoldengateOciObjectStorageConnectionProperties.Builder setUserId(String value)

Optional. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to.

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

Parameter
Name Description
value String

The userId to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.

setUserIdBytes(ByteString value)

public GoldengateOciObjectStorageConnectionProperties.Builder setUserIdBytes(ByteString value)

Optional. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to.

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

Parameter
Name Description
value ByteString

The bytes for userId to set.

Returns
Type Description
GoldengateOciObjectStorageConnectionProperties.Builder

This builder for chaining.