public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, polygon_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < chokepoints_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(chokepoints_.get(i));
        }
        size += dataSize;
        size += 1 * getChokepointsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < baseLocations_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(baseLocations_.get(i));
        }
        size += dataSize;
        size += 1 * getBaseLocationsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }