Skip to content

Conversation

@summer-ji-eng
Copy link
Contributor

Generate sample code for ServiceSettingsClass header comment:

FoobarSettings.Builder foobarSettingsBuilder = FoobarSettings.newBuilder();
 foobarSettingsBuilder
   .<firstUnarySettingMethod>()
   .setRetrySettings(
       foobarSettingsBuilder
       .<firstUnarySettingMethod>()
       .getRetrySettings()
       .toBuilder()
       .setTotalTimeout(Duration.ofSeconds(30))
       .build());
FoobarSettings foobarSettings = foobarSettingsBuilder.build();

ServiceStubSettings header comment:

FoobarStubSettings.Builder foobarSettingsBuilder = FoobarSettings.newBuilder();
 foobarSettingsBuilder
   .<firstUnarySettingMethod>()
   .setRetrySettings(
       foobarSettingsBuilder
       .<firstUnarySettingMethod>()
       .getRetrySettings()
       .toBuilder()
       .setTotalTimeout(Duration.ofSeconds(30))
       .build());
FoobarStubSettings foobarSettings = foobarSettingsBuilder.build();

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 13, 2020
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Nov 16, 2020
Copy link
Contributor

@miraleung miraleung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with comments addressed.

@summer-ji-eng summer-ji-eng merged commit d3dce05 into master Nov 18, 2020
@summer-ji-eng summer-ji-eng deleted the setting_comment_sample_code_1 branch November 18, 2020 07:34
suztomo pushed a commit that referenced this pull request Dec 16, 2022
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
suztomo pushed a commit that referenced this pull request Mar 21, 2023
* chore(java): rename master branch to main

Source-Author: Neenu Shaji <Neenu1995@users.noreply.github.com>
Source-Date: Mon Sep 27 10:04:11 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 67ab4f9f4272ad13f4b809de47fd0dec05f425ad
Source-Link: googleapis/synthtool@67ab4f9

* build: add jdk 17 to java units and dependency builds

* update dependencies.sh to not pass MaxPermSize when jdk 17 is used. MaxPermSize is an unrecognized flag in jdk 17.

Source-Author: BenWhitehead <BenWhitehead@users.noreply.github.com>
Source-Date: Mon Sep 27 11:34:46 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: a4be3384ccb92364795d981f2863f6986fcee620
Source-Link: googleapis/synthtool@a4be338
suztomo pushed a commit that referenced this pull request Mar 21, 2023
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/e278faaf-4497-439c-a104-7bdeda21de9b/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@09c59c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants