public static final class ImportContext.SqlTdeImportOptions.Builder extends GeneratedMessage.Builder<ImportContext.SqlTdeImportOptions.Builder> implements ImportContext.SqlTdeImportOptionsOrBuilderProtobuf type google.cloud.sql.v1beta4.ImportContext.SqlTdeImportOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportContext.SqlTdeImportOptions.BuilderImplements
ImportContext.SqlTdeImportOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportContext.SqlTdeImportOptions build()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions |
|
buildPartial()
public ImportContext.SqlTdeImportOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions |
|
clear()
public ImportContext.SqlTdeImportOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
|
clearCertificatePath()
public ImportContext.SqlTdeImportOptions.Builder clearCertificatePath()Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
clearName()
public ImportContext.SqlTdeImportOptions.Builder clearName()Required. Certificate name. Applicable only for SQL Server instances.
string name = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
clearPrivateKeyPassword()
public ImportContext.SqlTdeImportOptions.Builder clearPrivateKeyPassword()Required. Password that encrypts the private key.
string private_key_password = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
clearPrivateKeyPath()
public ImportContext.SqlTdeImportOptions.Builder clearPrivateKeyPath()Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.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 read access to the file. 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 read access to the file. 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 ImportContext.SqlTdeImportOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 read access to the file. 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 read access to the file. 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportContext.SqlTdeImportOptions other)
public ImportContext.SqlTdeImportOptions.Builder mergeFrom(ImportContext.SqlTdeImportOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportContext.SqlTdeImportOptions |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportContext.SqlTdeImportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportContext.SqlTdeImportOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
|
setCertificatePath(String value)
public ImportContext.SqlTdeImportOptions.Builder setCertificatePath(String value)Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe certificatePath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setCertificatePathBytes(ByteString value)
public ImportContext.SqlTdeImportOptions.Builder setCertificatePathBytes(ByteString value)Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string certificate_path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for certificatePath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setName(String value)
public ImportContext.SqlTdeImportOptions.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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ImportContext.SqlTdeImportOptions.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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setPrivateKeyPassword(String value)
public ImportContext.SqlTdeImportOptions.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 |
StringThe privateKeyPassword to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setPrivateKeyPasswordBytes(ByteString value)
public ImportContext.SqlTdeImportOptions.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 |
ByteStringThe bytes for privateKeyPassword to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setPrivateKeyPath(String value)
public ImportContext.SqlTdeImportOptions.Builder setPrivateKeyPath(String value)Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe privateKeyPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |
setPrivateKeyPathBytes(ByteString value)
public ImportContext.SqlTdeImportOptions.Builder setPrivateKeyPathBytes(ByteString value)Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
string private_key_path = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for privateKeyPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlTdeImportOptions.Builder |
This builder for chaining. |