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

    if (hasEntity() != other.hasEntity()) return false;
    if (hasEntity()) {
      if (!getEntity().equals(other.getEntity())) return false;
    }
    if (java.lang.Float.floatToIntBits(getConfidence())
        != java.lang.Float.floatToIntBits(other.getConfidence())) return false;
    if (!getFramesList().equals(other.getFramesList())) return false;
    if (!getVersion().equals(other.getVersion())) return false;
    if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false;
    switch (trackInfoCase_) {
      case 3:
        if (!getSegment().equals(other.getSegment())) return false;
        break;
      case 5:
        if (getTrackId() != other.getTrackId()) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Feature version.
</pre>

<code>string version = 6;</code>

@return The bytes for version.
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java