4747import java .io .IOException ;
4848import java .util .List ;
4949import java .util .concurrent .TimeUnit ;
50- import javax .annotation .Generated ;
5150
52- // AUTO-GENERATED DOCUMENTATION AND SERVICE
5351/**
5452 * Service Description: Manages long-running operations with an API service.
5553 *
111109 * </code>
112110 * </pre>
113111 */
114- @ Generated ("by GAPIC v0.0.5" )
115- @ BetaApi
116112public class OperationsClient implements BackgroundResource {
117113 private final OperationsSettings settings ;
118114 private final OperationsStub stub ;
@@ -158,7 +154,6 @@ public OperationsStub getStub() {
158154 return stub ;
159155 }
160156
161- // AUTO-GENERATED DOCUMENTATION AND METHOD
162157 /**
163158 * Gets the latest state of a long-running operation. Clients can use this method to poll the
164159 * operation result at intervals as recommended by the API service.
@@ -181,7 +176,6 @@ public final Operation getOperation(String name) {
181176 return getOperation (request );
182177 }
183178
184- // AUTO-GENERATED DOCUMENTATION AND METHOD
185179 /**
186180 * Gets the latest state of a long-running operation. Clients can use this method to poll the
187181 * operation result at intervals as recommended by the API service.
@@ -205,7 +199,6 @@ private final Operation getOperation(GetOperationRequest request) {
205199 return getOperationCallable ().call (request );
206200 }
207201
208- // AUTO-GENERATED DOCUMENTATION AND METHOD
209202 /**
210203 * Gets the latest state of a long-running operation. Clients can use this method to poll the
211204 * operation result at intervals as recommended by the API service.
@@ -228,7 +221,6 @@ public final UnaryCallable<GetOperationRequest, Operation> getOperationCallable(
228221 return stub .getOperationCallable ();
229222 }
230223
231- // AUTO-GENERATED DOCUMENTATION AND METHOD
232224 /**
233225 * Lists operations that match the specified filter in the request. If the server doesn't support
234226 * this method, it returns `UNIMPLEMENTED`.
@@ -258,7 +250,6 @@ public final ListOperationsPagedResponse listOperations(String name, String filt
258250 return listOperations (request );
259251 }
260252
261- // AUTO-GENERATED DOCUMENTATION AND METHOD
262253 /**
263254 * Lists operations that match the specified filter in the request. If the server doesn't support
264255 * this method, it returns `UNIMPLEMENTED`.
@@ -289,7 +280,6 @@ public final ListOperationsPagedResponse listOperations(ListOperationsRequest re
289280 return listOperationsPagedCallable ().call (request );
290281 }
291282
292- // AUTO-GENERATED DOCUMENTATION AND METHOD
293283 /**
294284 * Lists operations that match the specified filter in the request. If the server doesn't support
295285 * this method, it returns `UNIMPLEMENTED`.
@@ -320,7 +310,6 @@ public final ListOperationsPagedResponse listOperations(ListOperationsRequest re
320310 return stub .listOperationsPagedCallable ();
321311 }
322312
323- // AUTO-GENERATED DOCUMENTATION AND METHOD
324313 /**
325314 * Lists operations that match the specified filter in the request. If the server doesn't support
326315 * this method, it returns `UNIMPLEMENTED`.
@@ -358,7 +347,6 @@ public final ListOperationsPagedResponse listOperations(ListOperationsRequest re
358347 return stub .listOperationsCallable ();
359348 }
360349
361- // AUTO-GENERATED DOCUMENTATION AND METHOD
362350 /**
363351 * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
364352 * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
@@ -387,7 +375,6 @@ public final void cancelOperation(String name) {
387375 cancelOperation (request );
388376 }
389377
390- // AUTO-GENERATED DOCUMENTATION AND METHOD
391378 /**
392379 * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
393380 * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
@@ -417,7 +404,6 @@ private final void cancelOperation(CancelOperationRequest request) {
417404 cancelOperationCallable ().call (request );
418405 }
419406
420- // AUTO-GENERATED DOCUMENTATION AND METHOD
421407 /**
422408 * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
423409 * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
@@ -446,7 +432,6 @@ public final UnaryCallable<CancelOperationRequest, Empty> cancelOperationCallabl
446432 return stub .cancelOperationCallable ();
447433 }
448434
449- // AUTO-GENERATED DOCUMENTATION AND METHOD
450435 /**
451436 * Deletes a long-running operation. This method indicates that the client is no longer interested
452437 * in the operation result. It does not cancel the operation. If the server doesn't support this
@@ -470,7 +455,6 @@ public final void deleteOperation(String name) {
470455 deleteOperation (request );
471456 }
472457
473- // AUTO-GENERATED DOCUMENTATION AND METHOD
474458 /**
475459 * Deletes a long-running operation. This method indicates that the client is no longer interested
476460 * in the operation result. It does not cancel the operation. If the server doesn't support this
@@ -495,7 +479,6 @@ private final void deleteOperation(DeleteOperationRequest request) {
495479 deleteOperationCallable ().call (request );
496480 }
497481
498- // AUTO-GENERATED DOCUMENTATION AND METHOD
499482 /**
500483 * Deletes a long-running operation. This method indicates that the client is no longer interested
501484 * in the operation result. It does not cancel the operation. If the server doesn't support this
0 commit comments