Class ExportContext.SqlTdeExportOptions.Builder (0.1.0)

public static final class ExportContext.SqlTdeExportOptions.Builder extends GeneratedMessage.Builder<ExportContext.SqlTdeExportOptions.Builder> implements ExportContext.SqlTdeExportOptionsOrBuilder

Protobuf type google.cloud.sql.v1.ExportContext.SqlTdeExportOptions

Static Methods

getDescriptor()

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

Methods

build()

public ExportContext.SqlTdeExportOptions build()
Returns
Type Description
ExportContext.SqlTdeExportOptions

buildPartial()

public ExportContext.SqlTdeExportOptions buildPartial()
Returns
Type Description
ExportContext.SqlTdeExportOptions

clear()

public ExportContext.SqlTdeExportOptions.Builder clear()
Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder
Overrides

clearCertificatePath()

public ExportContext.SqlTdeExportOptions.Builder clearCertificatePath()

Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.

string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

clearName()

public ExportContext.SqlTdeExportOptions.Builder clearName()

Required. Certificate name. Applicable only for SQL Server instances.

string name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

clearPrivateKeyPassword()

public ExportContext.SqlTdeExportOptions.Builder clearPrivateKeyPassword()

Required. Password that encrypts the private key.

string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

clearPrivateKeyPath()

public ExportContext.SqlTdeExportOptions.Builder clearPrivateKeyPath()

Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.

string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

getCertificatePath()

public String getCertificatePath()

Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.

string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The certificatePath.

getCertificatePathBytes()

public ByteString getCertificatePathBytes()

Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.

string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for certificatePath.

getDefaultInstanceForType()

public ExportContext.SqlTdeExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportContext.SqlTdeExportOptions

getDescriptorForType()

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

getName()

public String getName()

Required. Certificate name. Applicable only for SQL Server instances.

string name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Certificate name. Applicable only for SQL Server instances.

string name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getPrivateKeyPassword()

public String getPrivateKeyPassword()

Required. Password that encrypts the private key.

string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The privateKeyPassword.

getPrivateKeyPasswordBytes()

public ByteString getPrivateKeyPasswordBytes()

Required. Password that encrypts the private key.

string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for privateKeyPassword.

getPrivateKeyPath()

public String getPrivateKeyPath()

Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.

string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The privateKeyPath.

getPrivateKeyPathBytes()

public ByteString getPrivateKeyPathBytes()

Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.

string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for privateKeyPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportContext.SqlTdeExportOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCertificatePath(String value)

public ExportContext.SqlTdeExportOptions.Builder setCertificatePath(String value)

Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.

string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The certificatePath to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setCertificatePathBytes(ByteString value)

public ExportContext.SqlTdeExportOptions.Builder setCertificatePathBytes(ByteString value)

Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.

string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for certificatePath to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setName(String value)

public ExportContext.SqlTdeExportOptions.Builder setName(String value)

Required. Certificate name. Applicable only for SQL Server instances.

string name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportContext.SqlTdeExportOptions.Builder setNameBytes(ByteString value)

Required. Certificate name. Applicable only for SQL Server instances.

string name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setPrivateKeyPassword(String value)

public ExportContext.SqlTdeExportOptions.Builder setPrivateKeyPassword(String value)

Required. Password that encrypts the private key.

string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The privateKeyPassword to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setPrivateKeyPasswordBytes(ByteString value)

public ExportContext.SqlTdeExportOptions.Builder setPrivateKeyPasswordBytes(ByteString value)

Required. Password that encrypts the private key.

string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for privateKeyPassword to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setPrivateKeyPath(String value)

public ExportContext.SqlTdeExportOptions.Builder setPrivateKeyPath(String value)

Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.

string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The privateKeyPath to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.

setPrivateKeyPathBytes(ByteString value)

public ExportContext.SqlTdeExportOptions.Builder setPrivateKeyPathBytes(ByteString value)

Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.

string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for privateKeyPath to set.

Returns
Type Description
ExportContext.SqlTdeExportOptions.Builder

This builder for chaining.