@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    {
      int dataSize = 0;
      for (int i = 0; i < streams_.size(); i++) {
        dataSize += computeStringSizeNoTag(streams_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getStreamsList().size();
    }
    for (int i = 0; i < streamsWithAnnotation_.size(); i++) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              2, streamsWithAnnotation_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<code>
repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/VideoStreamInputConfig.java