public static final class CustomerEncryptionKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder> implements CustomerEncryptionKeyOrBuilder
Protobuf type
google.cloud.compute.v1.CustomerEncryptionKey| Modifier and Type | Method and Description |
|---|---|
CustomerEncryptionKey.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomerEncryptionKey |
build() |
CustomerEncryptionKey |
buildPartial() |
CustomerEncryptionKey.Builder |
clear() |
CustomerEncryptionKey.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomerEncryptionKey.Builder |
clearKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
|
CustomerEncryptionKey.Builder |
clearKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key.
|
CustomerEncryptionKey.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomerEncryptionKey.Builder |
clearRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
clearRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
clearSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
CustomerEncryptionKey.Builder |
clone() |
CustomerEncryptionKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
The name of the encryption key that is stored in Google Cloud KMS.
|
String |
getKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key.
|
com.google.protobuf.ByteString |
getKmsKeyServiceAccountBytes()
The service account being used for the encryption request for the given KMS key.
|
String |
getRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
com.google.protobuf.ByteString |
getRawKeyBytes()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
String |
getRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
com.google.protobuf.ByteString |
getRsaEncryptedKeyBytes()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
String |
getSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
com.google.protobuf.ByteString |
getSha256Bytes()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
boolean |
hasKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
|
boolean |
hasKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key.
|
boolean |
hasRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
boolean |
hasRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
boolean |
hasSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomerEncryptionKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomerEncryptionKey.Builder |
mergeFrom(CustomerEncryptionKey other) |
CustomerEncryptionKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomerEncryptionKey.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomerEncryptionKey.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomerEncryptionKey.Builder |
setKmsKeyName(String value)
The name of the encryption key that is stored in Google Cloud KMS.
|
CustomerEncryptionKey.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
The name of the encryption key that is stored in Google Cloud KMS.
|
CustomerEncryptionKey.Builder |
setKmsKeyServiceAccount(String value)
The service account being used for the encryption request for the given KMS key.
|
CustomerEncryptionKey.Builder |
setKmsKeyServiceAccountBytes(com.google.protobuf.ByteString value)
The service account being used for the encryption request for the given KMS key.
|
CustomerEncryptionKey.Builder |
setRawKey(String value)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
setRawKeyBytes(com.google.protobuf.ByteString value)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomerEncryptionKey.Builder |
setRsaEncryptedKey(String value)
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
setRsaEncryptedKeyBytes(com.google.protobuf.ByteString value)
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
setSha256(String value)
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
CustomerEncryptionKey.Builder |
setSha256Bytes(com.google.protobuf.ByteString value)
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
|
CustomerEncryptionKey.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomerEncryptionKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomerEncryptionKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomerEncryptionKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder mergeFrom(CustomerEncryptionKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public CustomerEncryptionKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomerEncryptionKey.Builder>IOExceptionpublic boolean hasKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;hasKmsKeyName in interface CustomerEncryptionKeyOrBuilderpublic String getKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;getKmsKeyName in interface CustomerEncryptionKeyOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;getKmsKeyNameBytes in interface CustomerEncryptionKeyOrBuilderpublic CustomerEncryptionKey.Builder setKmsKeyName(String value)
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;value - The kmsKeyName to set.public CustomerEncryptionKey.Builder clearKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;public CustomerEncryptionKey.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key
optional string kms_key_name = 484373913;value - The bytes for kmsKeyName to set.public boolean hasKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;hasKmsKeyServiceAccount in interface CustomerEncryptionKeyOrBuilderpublic String getKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;getKmsKeyServiceAccount in interface CustomerEncryptionKeyOrBuilderpublic com.google.protobuf.ByteString getKmsKeyServiceAccountBytes()
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;getKmsKeyServiceAccountBytes in interface CustomerEncryptionKeyOrBuilderpublic CustomerEncryptionKey.Builder setKmsKeyServiceAccount(String value)
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;value - The kmsKeyServiceAccount to set.public CustomerEncryptionKey.Builder clearKmsKeyServiceAccount()
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;public CustomerEncryptionKey.Builder setKmsKeyServiceAccountBytes(com.google.protobuf.ByteString value)
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
optional string kms_key_service_account = 209986261;value - The bytes for kmsKeyServiceAccount to set.public boolean hasRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;hasRawKey in interface CustomerEncryptionKeyOrBuilderpublic String getRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;getRawKey in interface CustomerEncryptionKeyOrBuilderpublic com.google.protobuf.ByteString getRawKeyBytes()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;getRawKeyBytes in interface CustomerEncryptionKeyOrBuilderpublic CustomerEncryptionKey.Builder setRawKey(String value)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;value - The rawKey to set.public CustomerEncryptionKey.Builder clearRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;public CustomerEncryptionKey.Builder setRawKeyBytes(com.google.protobuf.ByteString value)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
optional string raw_key = 449196488;value - The bytes for rawKey to set.public boolean hasRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;hasRsaEncryptedKey in interface CustomerEncryptionKeyOrBuilderpublic String getRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;getRsaEncryptedKey in interface CustomerEncryptionKeyOrBuilderpublic com.google.protobuf.ByteString getRsaEncryptedKeyBytes()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;getRsaEncryptedKeyBytes in interface CustomerEncryptionKeyOrBuilderpublic CustomerEncryptionKey.Builder setRsaEncryptedKey(String value)
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;value - The rsaEncryptedKey to set.public CustomerEncryptionKey.Builder clearRsaEncryptedKey()
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;public CustomerEncryptionKey.Builder setRsaEncryptedKeyBytes(com.google.protobuf.ByteString value)
Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
optional string rsa_encrypted_key = 335487397;value - The bytes for rsaEncryptedKey to set.public boolean hasSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;hasSha256 in interface CustomerEncryptionKeyOrBuilderpublic String getSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;getSha256 in interface CustomerEncryptionKeyOrBuilderpublic com.google.protobuf.ByteString getSha256Bytes()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;getSha256Bytes in interface CustomerEncryptionKeyOrBuilderpublic CustomerEncryptionKey.Builder setSha256(String value)
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;value - The sha256 to set.public CustomerEncryptionKey.Builder clearSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;public CustomerEncryptionKey.Builder setSha256Bytes(com.google.protobuf.ByteString value)
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
optional string sha256 = 170112551;value - The bytes for sha256 to set.public final CustomerEncryptionKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>public final CustomerEncryptionKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerEncryptionKey.Builder>Copyright © 2023 Google LLC. All rights reserved.