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
Copy file name to clipboardExpand all lines: sdk-platform-java/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java
+48-72Lines changed: 48 additions & 72 deletions
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,12 @@
23
23
* <pre>
24
24
* Manages long-running operations with an API service.
25
25
* When an API method normally takes long time to complete, it can be designed
26
-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
27
-
* interface to receive the real response asynchronously by polling the
28
-
* operation resource, or pass the operation resource to another API (such as
29
-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
30
-
* returns long-running operations should implement the `Operations` interface
31
-
* so developers can have a consistent client experience.
26
+
* to return [Operation][google.longrunning.Operation] to the client, and the
27
+
* client can use this interface to receive the real response asynchronously by
28
+
* polling the operation resource, or pass the operation resource to another API
29
+
* (such as Pub/Sub API) to receive the response. Any API service that returns
30
+
* long-running operations should implement the `Operations` interface so
31
+
* developers can have a consistent client experience.
32
32
* </pre>
33
33
*/
34
34
@javax.annotation.Generated(
@@ -296,12 +296,12 @@ public OperationsFutureStub newStub(
296
296
* <pre>
297
297
* Manages long-running operations with an API service.
298
298
* When an API method normally takes long time to complete, it can be designed
299
-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
300
-
* interface to receive the real response asynchronously by polling the
301
-
* operation resource, or pass the operation resource to another API (such as
302
-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
303
-
* returns long-running operations should implement the `Operations` interface
304
-
* so developers can have a consistent client experience.
299
+
* to return [Operation][google.longrunning.Operation] to the client, and the
300
+
* client can use this interface to receive the real response asynchronously by
301
+
* polling the operation resource, or pass the operation resource to another API
302
+
* (such as Pub/Sub API) to receive the response. Any API service that returns
303
+
* long-running operations should implement the `Operations` interface so
304
+
* developers can have a consistent client experience.
305
305
* </pre>
306
306
*/
307
307
publicinterfaceAsyncService {
@@ -312,13 +312,6 @@ public interface AsyncService {
312
312
* <pre>
313
313
* Lists operations that match the specified filter in the request. If the
314
314
* server doesn't support this method, it returns `UNIMPLEMENTED`.
315
-
* NOTE: the `name` binding allows API services to override the binding
316
-
* to use different resource name schemes, such as `users/*/operations`. To
317
-
* override the binding, API services can add a binding such as
318
-
* `"/v1/{name=users/*}/operations"` to their service configuration.
319
-
* For backwards compatibility, the default name includes the operations
320
-
* collection id, however overriding users must ensure the name binding
321
-
* is the parent resource, without the operations collection id.
322
315
* </pre>
323
316
*/
324
317
defaultvoidlistOperations(
@@ -374,8 +367,9 @@ default void deleteOperation(
374
367
* other methods to check whether the cancellation succeeded or whether the
375
368
* operation completed despite cancellation. On successful cancellation,
376
369
* the operation is not deleted; instead, it becomes an operation with
377
-
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
378
-
* corresponding to `Code.CANCELLED`.
370
+
* an [Operation.error][google.longrunning.Operation.error] value with a
371
+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
372
+
* `Code.CANCELLED`.
379
373
* </pre>
380
374
*/
381
375
defaultvoidcancelOperation(
@@ -414,12 +408,12 @@ default void waitOperation(
414
408
* <pre>
415
409
* Manages long-running operations with an API service.
416
410
* When an API method normally takes long time to complete, it can be designed
417
-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
418
-
* interface to receive the real response asynchronously by polling the
419
-
* operation resource, or pass the operation resource to another API (such as
420
-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
421
-
* returns long-running operations should implement the `Operations` interface
422
-
* so developers can have a consistent client experience.
411
+
* to return [Operation][google.longrunning.Operation] to the client, and the
412
+
* client can use this interface to receive the real response asynchronously by
413
+
* polling the operation resource, or pass the operation resource to another API
414
+
* (such as Pub/Sub API) to receive the response. Any API service that returns
415
+
* long-running operations should implement the `Operations` interface so
416
+
* developers can have a consistent client experience.
0 commit comments