Interface CustomerEncryptionKeyOrBuilder (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface CustomerEncryptionKeyOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getKeyCase()
publicabstractCustomerEncryptionKey.KeyCasegetKeyCase()| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKey.KeyCase |
|
getKmsKeyName()
publicabstractStringgetKmsKeyName()Optional. The name of the encryption key that is stored in Google Cloud KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
publicabstractByteStringgetKmsKeyNameBytes()Optional. The name of the encryption key that is stored in Google Cloud KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKeyName. |
getKmsKeyServiceAccount()
publicabstractStringgetKmsKeyServiceAccount()Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKeyServiceAccount. |
getKmsKeyServiceAccountBytes()
publicabstractByteStringgetKmsKeyServiceAccountBytes()Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKeyServiceAccount. |
getRawKey()
publicabstractStringgetRawKey()Optional. Specifies a 256-bit customer-supplied encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The rawKey. |
getRawKeyBytes()
publicabstractByteStringgetRawKeyBytes()Optional. Specifies a 256-bit customer-supplied encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rawKey. |
getRsaEncryptedKey()
publicabstractStringgetRsaEncryptedKey()Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The rsaEncryptedKey. |
getRsaEncryptedKeyBytes()
publicabstractByteStringgetRsaEncryptedKeyBytes()Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rsaEncryptedKey. |
hasKmsKeyName()
publicabstractbooleanhasKmsKeyName()Optional. The name of the encryption key that is stored in Google Cloud KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kmsKeyName field is set. |
hasKmsKeyServiceAccount()
publicabstractbooleanhasKmsKeyServiceAccount()Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kmsKeyServiceAccount field is set. |
hasRawKey()
publicabstractbooleanhasRawKey()Optional. Specifies a 256-bit customer-supplied encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rawKey field is set. |
hasRsaEncryptedKey()
publicabstractbooleanhasRsaEncryptedKey()Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rsaEncryptedKey field is set. |