Interface CustomerEncryptionKeyOrBuilder (2.41.0)

public interface CustomerEncryptionKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyCase()

public abstract CustomerEncryptionKey.KeyCase getKeyCase()
Returns
TypeDescription
CustomerEncryptionKey.KeyCase

getKmsKeyName()

public abstract String getKmsKeyName()

The name of the encryption key that is stored in Google Cloud KMS. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> </pre> The fully-qualifed key name may be returned for resource GET requests. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> /cryptoKeyVersions/1</pre>

string kms_key_name = 7;

Returns
TypeDescription
String

The kmsKeyName.

getKmsKeyNameBytes()

public abstract ByteString getKmsKeyNameBytes()

The name of the encryption key that is stored in Google Cloud KMS. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> </pre> The fully-qualifed key name may be returned for resource GET requests. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> /cryptoKeyVersions/1</pre>

string kms_key_name = 7;

Returns
TypeDescription
ByteString

The bytes for kmsKeyName.

hasKmsKeyName()

public abstract boolean hasKmsKeyName()

The name of the encryption key that is stored in Google Cloud KMS. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> </pre> The fully-qualifed key name may be returned for resource GET requests. For example: <pre class="lang-html">"kmsKeyName": "projects/ <var class="apiparam">kms_project_id</var>/locations/ <var class="apiparam">region</var>/keyRings/<var class="apiparam"> key_region</var>/cryptoKeys/<var class="apiparam">key</var> /cryptoKeyVersions/1</pre>

string kms_key_name = 7;

Returns
TypeDescription
boolean

Whether the kmsKeyName field is set.