static Put createPutForSnapshotSize(TableName tableName, String snapshot, long size) {
    // We just need a pb message with some `long usage`, so we can just reuse the
    // SpaceQuotaSnapshot message instead of creating a new one.
    Put p = new Put(getTableRowKey(tableName));
    p.addColumn(QUOTA_FAMILY_USAGE, getSnapshotSizeQualifier(snapshot),
      org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot.newBuilder()
        .setQuotaUsage(size).build().toByteArray());
    return p;
  }
Creates a {@link Put} to persist the current size of the {@code snapshot} with respect to the
given {@code table}.
hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaTableUtil.java