@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.EncryptionSpec)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.EncryptionSpec other =
        (com.google.cloud.vertexai.api.EncryptionSpec) obj;

    if (!getKmsKeyName().equals(other.getKmsKeyName())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The Cloud KMS resource identifier of the customer managed
encryption key used to protect a resource. Has the form:
`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
The key needs to be in the same region as where the compute resource is
created.
</pre>

<code>string kms_key_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for kmsKeyName.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/EncryptionSpec.java