@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.memorystore.v1beta.OperationMetadata)) {
      return super.equals(obj);
    }
    com.google.cloud.memorystore.v1beta.OperationMetadata other =
        (com.google.cloud.memorystore.v1beta.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 (!getStatusMessage().equals(other.getStatusMessage())) return false;
    if (getRequestedCancellation() != other.getRequestedCancellation()) return false;
    if (!getApiVersion().equals(other.getApiVersion())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. API version used to start the operation.
</pre>

<code>string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for apiVersion.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/OperationMetadata.java