public java.lang.String getKmsKeyName() {
    java.lang.Object ref = "";
    if (keyCase_ == 7) {
      ref = key_;
    }
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (keyCase_ == 7) {
        key_ = s;
      }
      return s;
    }
  }
<pre>
The name of the encryption key that is stored in Google Cloud KMS.
For example:
&lt;pre class="lang-html"&gt;"kmsKeyName": "projects/
&lt;var class="apiparam"&gt;kms_project_id&lt;/var&gt;/locations/
&lt;var class="apiparam"&gt;region&lt;/var&gt;/keyRings/&lt;var class="apiparam"&gt;
key_region&lt;/var&gt;/cryptoKeys/&lt;var class="apiparam"&gt;key&lt;/var&gt;
&lt;/pre&gt;
The fully-qualifed key name may be returned for resource GET requests.
For example:
&lt;pre class="lang-html"&gt;"kmsKeyName": "projects/
&lt;var class="apiparam"&gt;kms_project_id&lt;/var&gt;/locations/
&lt;var class="apiparam"&gt;region&lt;/var&gt;/keyRings/&lt;var class="apiparam"&gt;
key_region&lt;/var&gt;/cryptoKeys/&lt;var class="apiparam"&gt;key&lt;/var&gt;
/cryptoKeyVersions/1&lt;/pre&gt;
</pre>

<code>string kms_key_name = 7;</code>

@return The kmsKeyName.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CustomerEncryptionKey.java