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

    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasEndTime() != other.hasEndTime()) return false;
    if (hasEndTime()) {
      if (!getEndTime().equals(other.getEndTime())) return false;
    }
    if (!getTarget().equals(other.getTarget())) return false;
    if (!getVerb().equals(other.getVerb())) return false;
    if (!getStatusDetail().equals(other.getStatusDetail())) return false;
    if (getCancelRequested() != other.getCancelRequested()) return false;
    if (!getApiVersion().equals(other.getApiVersion())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
API version.
</pre>

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

@return The bytes for apiVersion.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/OperationMetadata.java