public static final class ImportContext.SqlBakImportOptions.EncryptionOptions.Builder extends GeneratedMessage.Builder<ImportContext.SqlBakImportOptions.EncryptionOptions.Builder> implements ImportContext.SqlBakImportOptions.EncryptionOptionsOrBuilderProtobuf type
google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportContext.SqlBakImportOptions.EncryptionOptions.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportContext.SqlBakImportOptions.EncryptionOptions build()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions |
|
buildPartial()
public ImportContext.SqlBakImportOptions.EncryptionOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions |
|
clear()
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
clearCertPath()
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder clearCertPath() Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName. The instance must have write permissions
to the bucket and read access to the file.
string cert_path = 1;
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
clearKeepEncrypted()
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder clearKeepEncrypted()Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
clearPvkPassword()
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder clearPvkPassword()Password that encrypts the private key
string pvk_password = 3;
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
clearPvkPath()
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder clearPvkPath() Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName. The instance must have write
permissions to the bucket and read access to the file.
string pvk_path = 2;
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
getCertPath()
public String getCertPath() Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName. The instance must have write permissions
to the bucket and read access to the file.
string cert_path = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The certPath. |
getCertPathBytes()
public ByteString getCertPathBytes() Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName. The instance must have write permissions
to the bucket and read access to the file.
string cert_path = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for certPath. |
getDefaultInstanceForType()
public ImportContext.SqlBakImportOptions.EncryptionOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeepEncrypted()
public BoolValue getKeepEncrypted()Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The keepEncrypted. |
getKeepEncryptedBuilder()
public BoolValue.Builder getKeepEncryptedBuilder()Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getKeepEncryptedOrBuilder()
public BoolValueOrBuilder getKeepEncryptedOrBuilder()Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getPvkPassword()
public String getPvkPassword()Password that encrypts the private key
string pvk_password = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pvkPassword. |
getPvkPasswordBytes()
public ByteString getPvkPasswordBytes()Password that encrypts the private key
string pvk_password = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pvkPassword. |
getPvkPath()
public String getPvkPath() Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName. The instance must have write
permissions to the bucket and read access to the file.
string pvk_path = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The pvkPath. |
getPvkPathBytes()
public ByteString getPvkPathBytes() Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName. The instance must have write
permissions to the bucket and read access to the file.
string pvk_path = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pvkPath. |
hasKeepEncrypted()
public boolean hasKeepEncrypted()Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keepEncrypted field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportContext.SqlBakImportOptions.EncryptionOptions other)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder mergeFrom(ImportContext.SqlBakImportOptions.EncryptionOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportContext.SqlBakImportOptions.EncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
mergeKeepEncrypted(BoolValue value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder mergeKeepEncrypted(BoolValue value)Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BoolValue |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
setCertPath(String value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setCertPath(String value) Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName. The instance must have write permissions
to the bucket and read access to the file.
string cert_path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe certPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
setCertPathBytes(ByteString value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setCertPathBytes(ByteString value) Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName. The instance must have write permissions
to the bucket and read access to the file.
string cert_path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for certPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
setKeepEncrypted(BoolValue value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setKeepEncrypted(BoolValue value)Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BoolValue |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
setKeepEncrypted(BoolValue.Builder builderForValue)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setKeepEncrypted(BoolValue.Builder builderForValue)Optional. Whether the imported file remains encrypted.
.google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
|
setPvkPassword(String value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setPvkPassword(String value)Password that encrypts the private key
string pvk_password = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pvkPassword to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
setPvkPasswordBytes(ByteString value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setPvkPasswordBytes(ByteString value)Password that encrypts the private key
string pvk_password = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pvkPassword to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
setPvkPath(String value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setPvkPath(String value) Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName. The instance must have write
permissions to the bucket and read access to the file.
string pvk_path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pvkPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |
setPvkPathBytes(ByteString value)
public ImportContext.SqlBakImportOptions.EncryptionOptions.Builder setPvkPathBytes(ByteString value) Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName. The instance must have write
permissions to the bucket and read access to the file.
string pvk_path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pvkPath to set. |
| Returns | |
|---|---|
| Type | Description |
ImportContext.SqlBakImportOptions.EncryptionOptions.Builder |
This builder for chaining. |