@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId().hashCode();
    hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getDisplayName().hashCode();
    hash = (37 * hash) + SOURCE_STREAM_FIELD_NUMBER;
    hash = (53 * hash) + getSourceStream().hashCode();
    hash = (37 * hash) + TYPE_FIELD_NUMBER;
    hash = (53 * hash) + type_;
    switch (annotationPayloadCase_) {
      case 5:
        hash = (37 * hash) + ACTIVE_ZONE_FIELD_NUMBER;
        hash = (53 * hash) + getActiveZone().hashCode();
        break;
      case 6:
        hash = (37 * hash) + CROSSING_LINE_FIELD_NUMBER;
        hash = (53 * hash) + getCrossingLine().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
The actual type of Annotation.
</pre>

<code>.google.cloud.visionai.v1.StreamAnnotationType type = 4;</code>

@return The type.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/StreamAnnotation.java