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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < labels_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(labels_.get(i));
        }
        size += dataSize;
        if (!getLabelsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
        }
        labelsMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < comments_.size(); i++) {
          dataSize += computeStringSizeNoTag(comments_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getCommentsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
Free-form context on why this URI is unsafe.
</pre>

<code>repeated string comments = 2;</code>

@param index The index of the value to return.
@return The bytes of the comments at the given index.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java