@java.lang.Override
      public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() {
        com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result =
            com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.forNumber(
                kmsKey_);
        return result == null
            ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED
            : result;
      }
<pre>
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
unspecified, the default behavior is the same as
[KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
</pre>

<code>.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;</code>

@return The kmsKey.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java