Commit 62b6248
committed
chore: merge in new APIs
BEGIN_COMMIT_OVERRIDE
BEGIN_NESTED_COMMIT
feat: add @BetaApi Storage#blobReadSession for gRPC Transport
Add new BlobReadSession API to allow multiple reads from a single object version using the new BidiReadObject API.
There are two projections available publicly at this time: SeekableByteChannel and ScatteringByteChannel.
This new API is classified as a pre-GA feature and have breaking changes.
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: add @BetaApi Storage#blobAppendableUpload for gRPC Transport
Add new BlobAppendableUpload API to allow appendable uploads using the new AppendableUploadSpec in BidiWriteObject API.
This new API is classified as a pre-GA feature and have breaking changes.
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: implement improved retry context information
Prior to this change, retries were always wired into the request path, but no information about retries was included.
With this change all exceptions which lead to a terminal failure will be included as suppressed exceptions on the final exception.
```
com.google.cloud.storage.RetryContextTest$Invocation
at com.google.cloud.storage.RetryContextTest.similarToRetryingHelper(RetryContextTest.java:377)
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$RetryBudgetExhaustedComment: Operation failed to complete within attempt budget (attempts: 6, maxAttempts: 6, elapsed: PT0.39231668S, nextBackoff: PT0.4S, timeout: PT3.125S) previous failures follow in order of occurrence
Suppressed: com.google.cloud.storage.RetryContextTest$Invocation
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$BackoffComment: backing off PT0.0125S before next attempt
Suppressed: com.google.cloud.storage.RetryContextTest$Invocation
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$BackoffComment: backing off PT0.025S before next attempt
Suppressed: com.google.cloud.storage.RetryContextTest$Invocation
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$BackoffComment: backing off PT0.05S before next attempt
Suppressed: com.google.cloud.storage.RetryContextTest$Invocation
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$BackoffComment: backing off PT0.1S before next attempt
Suppressed: com.google.cloud.storage.RetryContextTest$Invocation
... 29 more
Suppressed: com.google.cloud.storage.RetryContext$BackoffComment: backing off PT0.2S before next attempt
```
END_NESTED_COMMIT
END_COMMIT_OVERRIDEFile tree
123 files changed
+16708
-883
lines changed- google-cloud-storage
- src
- main/java/com/google/cloud/storage
- test/java/com/google/cloud/storage
- it
- runner/registry
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
123 files changed
+16708
-883
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
123 | 142 | | |
Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
0 commit comments