public static StreamAnnotationType forNumber(int value) {
    switch (value) {
      case 0:
        return STREAM_ANNOTATION_TYPE_UNSPECIFIED;
      case 1:
        return STREAM_ANNOTATION_TYPE_ACTIVE_ZONE;
      case 2:
        return STREAM_ANNOTATION_TYPE_CROSSING_LINE;
      default:
        return null;
    }
  }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/StreamAnnotationType.java