While testing StorageImpl I noticed that:
BlobInfo blobInfo = BlobInfo.of("b", "n");
assertEquals(blobInfo, BlobInfo.fromPb(blobInfo.toPb()));
Was failing.
Same problem also occurs with BucketInfo.
In BucketInfo the fromPb method also throws NPE under some circumstances:
BucketInfo bucketInfo = BucketInfo.of("b");
BucketInfo.fromPb(bucketInfo.toPb());