You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 98c2073
Browse filesBrowse the repository at this point in the historyBrowse files
feat(gax,gapic-generator-java): retry start upload call and rename ResumableUploadCallSettings to ResumableUploadOptions (#14511)
## Summary
- Rename `ResumableUploadCallSettings` to `ResumableUploadOptions` and
make it a per-call option (`chunkSize`, `globalTimeout`) instead of a
method-level setting.
- Use standard `UnaryCallSettings<RequestT, ResponseT>` for resumable
upload RPCs in `gax` and `gapic-generator-java`.
- Wrap `ResumableUploadStartCallable` with `HttpJsonExceptionCallable`
and `Callables.retrying` to retry transient failures on the initial
`start` upload call.
- Regenerate `java-showcase` resumable upload classes and update tests.
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ResumableUploadServiceSettings.java
Copy file name to clipboardExpand all lines: java-showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ResumableUploadServiceStubSettings.java
Copy file name to clipboardExpand all lines: sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/ServiceClientCommentComposer.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,9 @@ public class ServiceClientCommentComposer {
46
46
"The request object containing all of the parameters for the API call.";
Copy file name to clipboardExpand all lines: sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/SettingsCommentComposer.java
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -41,13 +41,19 @@ public class SettingsCommentComposer {
"To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for %s:";
49
+
"To configure the RetrySettings of a Long Running Operation method, create an"
50
+
+ " OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For"
51
+
+ " example, to configure the RetrySettings for %s:";
0 commit comments