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

    if (hasCustomerEncryptionKey() != other.hasCustomerEncryptionKey()) return false;
    if (hasCustomerEncryptionKey()) {
      if (!getCustomerEncryptionKey().equals(other.getCustomerEncryptionKey())) return false;
    }
    if (getEnableConfidentialCompute() != other.getEnableConfidentialCompute()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Whether the boot disk will be created with confidential compute
mode.
</pre>

<code>bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The enableConfidentialCompute.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/BootDiskConfig.java