Skip to content

Conversation

BenWhitehead
Copy link
Collaborator

  • Storage#create(BlobInfo, BlobTargetOption...)
  • Storage#create(BlobInfo, byte[], BlobTargetOption...)
  • Storage#create(BlobInfo, byte[], int, int, BlobTargetOption...)

If no user provided checksum is specified, crc32c will still be calculated.

Applies to both StorageOptions.http() and StorageOptions.grpc() instances.

test: remove obsolete mockito tests that don't test anything unique

…eate methods that accept byte[]

* `Storage#create(BlobInfo, BlobTargetOption...)`
* `Storage#create(BlobInfo, byte[], BlobTargetOption...)`
* `Storage#create(BlobInfo, byte[], int, int, BlobTargetOption...)`

If no user provided checksum is specified, crc32c will still be calculated.

Applies to both `StorageOptions.http()` and `StorageOptions.grpc()` instances.
@BenWhitehead BenWhitehead requested a review from a team as a code owner July 1, 2025 16:13
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Jul 1, 2025
@BenWhitehead BenWhitehead added this to the e2e-crc32c-media milestone Jul 8, 2025
BenWhitehead added a commit that referenced this pull request Jul 23, 2025
Merge train for

* chore: cleanup Crc32cValue and associated Hasher operations #3167
* chore: add Hasher#defaultHasher() #3173
* chore: add UnifiedOpts.Opts#getHasher() to return a hasher relative to the set of Opts defined for an operation. #3174
* feat: add default end-to-end crc32c checksumming for several upload methods via grpc transport #3176
* feat: add default end-to-end checksumming for JournalingBlobWriteSessionConfig #3180
* fix: give user provided checksum precondition priority for Storage#create methods that accept byte[] #3182
* fix: move crc32c computation before writing to disk for BufferToDiskThenUpload BlobWriteSession config #3187
@BenWhitehead
Copy link
Collaborator Author

merged in #3197

@BenWhitehead BenWhitehead deleted the checksumming/07/create-bytes branch July 23, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants