Skip to content

Conversation

@summer-ji-eng
Copy link
Contributor

@summer-ji-eng summer-ji-eng commented Nov 19, 2020

There are two kind sample code for lro callable:
1.

   * Sample code:
   *
   * <pre>
   * <code>
   * try (EchoClient echoClient = EchoClient.create()) {
   *   WaitRequest request = WaitRequest.newBuilder().build();
   *   OperationFuture&lt;WaitResponse, WaitMetadata&gt; future = echoClient.waitOperationCallable().futureCall(request);
   *   // Do something
   *   WaitResponse response = future.get();
   * }
   * </code>
   * </pre>
   */
  @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
  public final OperationCallable<WaitRequest, WaitResponse, WaitMetadata> waitOperationCallable() {
    return stub.waitOperationCallable();
  }
   * Sample code:
   *
   * <pre>
   * <code>
   * try (EchoClient echoClient = EchoClient.create()) {
   *   WaitRequest request = WaitRequest.newBuilder().build();
   *   ApiFuture&lt;Operation&gt; future = echoClient.waitCallable().futureCall(request);
   *   // Do something
   *   Operation response = future.get();
   * }
   * </code>
   * </pre>
   */
  public final UnaryCallable<WaitRequest, Operation> waitCallable() {
    return stub.waitCallable();
  }

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

refactor #637

@summer-ji-eng summer-ji-eng deleted the callable_rpc_lro_45 branch January 19, 2021 23:18
suztomo pushed a commit that referenced this pull request Dec 16, 2022
🤖 I have created a release *beep* *boop*
---


## [1.6.12](https://togithub.com/googleapis/java-iam/compare/v1.6.11...v1.6.12) (2022-11-16)


### Dependencies

* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.13.0 ([#522](https://togithub.com/googleapis/java-iam/issues/522)) ([6058bb0](https://togithub.com/googleapis/java-iam/commit/6058bb03f8ae0496844708fec629d7f298d47f7e))
* Update dependency com.google.cloud:google-iam-policy to v1.6.11 ([#521](https://togithub.com/googleapis/java-iam/issues/521)) ([2bda331](https://togithub.com/googleapis/java-iam/commit/2bda331877435c2bcf019130b07333927aa9522d))

---
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
🤖 I have created a release \*beep\* \*boop\*
---
## [2.1.0](https://www.github.com/googleapis/java-core/compare/v2.0.5...v2.1.0) (2021-08-23)


### Features

* support downloading an emulator from an access controlled URL ([#513](https://www.github.com/googleapis/java-core/issues/513)) ([0eeb60f](https://www.github.com/googleapis/java-core/commit/0eeb60f50437f13a06be6961a74c7c778fb7055a))


### Dependencies

* update dependency com.google.api:gax-bom to v2.3.0 ([#523](https://www.github.com/googleapis/java-core/issues/523)) ([ff422a5](https://www.github.com/googleapis/java-core/commit/ff422a521baf804839020bfbaa64fbfa669c4739))
* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#526](https://www.github.com/googleapis/java-core/issues/526)) ([4676756](https://www.github.com/googleapis/java-core/commit/46767562780d5c2a96077dbde660436d9e72523a))
* update dependency com.google.code.gson:gson to v2.8.8 ([#529](https://www.github.com/googleapis/java-core/issues/529)) ([829e870](https://www.github.com/googleapis/java-core/commit/829e87021016001fce09fb1d16d64cd0aa43b0fa))
* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#528](https://www.github.com/googleapis/java-core/issues/528)) ([8a1956a](https://www.github.com/googleapis/java-core/commit/8a1956abdca080bd81254da79731d81d16972ddf))
* update dependency io.grpc:grpc-bom to v1.40.0 ([#525](https://www.github.com/googleapis/java-core/issues/525)) ([686ecea](https://www.github.com/googleapis/java-core/commit/686ecea074146ebb7bd0134c67bf3cb63f66d3a7))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.

1 participant