[DU09-2]Modify the NetworkStatsCollection Builder API

1. Adding the bucketDuration with unit as bucketDurationmillis
2. make the Key class be final
3. The Key set parameter be marked with an IntDef

Bug: 220153505
Test: atest NetworkStatsCollectionTest
Change-Id: Iab32b8fc129b77d6786c2f1f2339e515f2eb55f7
1 file changed
tree: 400750326f3a716f5bea362b6bed35b3826f5f7f
  1. framework/
  2. framework-t/
  3. service-t/
  4. services/
  5. tests/