public boolean hasHcxActivationKey() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
Required. The initial description of a new HCX activation key. When
creating a new key, this field must be an empty object.
</pre>

<code>
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return Whether the hcxActivationKey field is set.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CreateHcxActivationKeyRequest.java