• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.tasks.v2beta2.stub;
18 
19 import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListQueuesPagedResponse;
20 import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListTasksPagedResponse;
21 
22 import com.google.api.core.BetaApi;
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest;
26 import com.google.cloud.tasks.v2beta2.CancelLeaseRequest;
27 import com.google.cloud.tasks.v2beta2.CreateQueueRequest;
28 import com.google.cloud.tasks.v2beta2.CreateTaskRequest;
29 import com.google.cloud.tasks.v2beta2.DeleteQueueRequest;
30 import com.google.cloud.tasks.v2beta2.DeleteTaskRequest;
31 import com.google.cloud.tasks.v2beta2.GetQueueRequest;
32 import com.google.cloud.tasks.v2beta2.GetTaskRequest;
33 import com.google.cloud.tasks.v2beta2.LeaseTasksRequest;
34 import com.google.cloud.tasks.v2beta2.LeaseTasksResponse;
35 import com.google.cloud.tasks.v2beta2.ListQueuesRequest;
36 import com.google.cloud.tasks.v2beta2.ListQueuesResponse;
37 import com.google.cloud.tasks.v2beta2.ListTasksRequest;
38 import com.google.cloud.tasks.v2beta2.ListTasksResponse;
39 import com.google.cloud.tasks.v2beta2.PauseQueueRequest;
40 import com.google.cloud.tasks.v2beta2.PurgeQueueRequest;
41 import com.google.cloud.tasks.v2beta2.Queue;
42 import com.google.cloud.tasks.v2beta2.RenewLeaseRequest;
43 import com.google.cloud.tasks.v2beta2.ResumeQueueRequest;
44 import com.google.cloud.tasks.v2beta2.RunTaskRequest;
45 import com.google.cloud.tasks.v2beta2.Task;
46 import com.google.cloud.tasks.v2beta2.UpdateQueueRequest;
47 import com.google.iam.v1.GetIamPolicyRequest;
48 import com.google.iam.v1.Policy;
49 import com.google.iam.v1.SetIamPolicyRequest;
50 import com.google.iam.v1.TestIamPermissionsRequest;
51 import com.google.iam.v1.TestIamPermissionsResponse;
52 import com.google.protobuf.Empty;
53 import javax.annotation.Generated;
54 
55 // AUTO-GENERATED DOCUMENTATION AND CLASS.
56 /**
57  * Base stub class for the CloudTasks service API.
58  *
59  * <p>This class is for advanced usage and reflects the underlying API directly.
60  */
61 @BetaApi
62 @Generated("by gapic-generator-java")
63 public abstract class CloudTasksStub implements BackgroundResource {
64 
listQueuesPagedCallable()65   public UnaryCallable<ListQueuesRequest, ListQueuesPagedResponse> listQueuesPagedCallable() {
66     throw new UnsupportedOperationException("Not implemented: listQueuesPagedCallable()");
67   }
68 
listQueuesCallable()69   public UnaryCallable<ListQueuesRequest, ListQueuesResponse> listQueuesCallable() {
70     throw new UnsupportedOperationException("Not implemented: listQueuesCallable()");
71   }
72 
getQueueCallable()73   public UnaryCallable<GetQueueRequest, Queue> getQueueCallable() {
74     throw new UnsupportedOperationException("Not implemented: getQueueCallable()");
75   }
76 
createQueueCallable()77   public UnaryCallable<CreateQueueRequest, Queue> createQueueCallable() {
78     throw new UnsupportedOperationException("Not implemented: createQueueCallable()");
79   }
80 
updateQueueCallable()81   public UnaryCallable<UpdateQueueRequest, Queue> updateQueueCallable() {
82     throw new UnsupportedOperationException("Not implemented: updateQueueCallable()");
83   }
84 
deleteQueueCallable()85   public UnaryCallable<DeleteQueueRequest, Empty> deleteQueueCallable() {
86     throw new UnsupportedOperationException("Not implemented: deleteQueueCallable()");
87   }
88 
purgeQueueCallable()89   public UnaryCallable<PurgeQueueRequest, Queue> purgeQueueCallable() {
90     throw new UnsupportedOperationException("Not implemented: purgeQueueCallable()");
91   }
92 
pauseQueueCallable()93   public UnaryCallable<PauseQueueRequest, Queue> pauseQueueCallable() {
94     throw new UnsupportedOperationException("Not implemented: pauseQueueCallable()");
95   }
96 
resumeQueueCallable()97   public UnaryCallable<ResumeQueueRequest, Queue> resumeQueueCallable() {
98     throw new UnsupportedOperationException("Not implemented: resumeQueueCallable()");
99   }
100 
getIamPolicyCallable()101   public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
102     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
103   }
104 
setIamPolicyCallable()105   public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
106     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
107   }
108 
109   public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable()110       testIamPermissionsCallable() {
111     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
112   }
113 
listTasksPagedCallable()114   public UnaryCallable<ListTasksRequest, ListTasksPagedResponse> listTasksPagedCallable() {
115     throw new UnsupportedOperationException("Not implemented: listTasksPagedCallable()");
116   }
117 
listTasksCallable()118   public UnaryCallable<ListTasksRequest, ListTasksResponse> listTasksCallable() {
119     throw new UnsupportedOperationException("Not implemented: listTasksCallable()");
120   }
121 
getTaskCallable()122   public UnaryCallable<GetTaskRequest, Task> getTaskCallable() {
123     throw new UnsupportedOperationException("Not implemented: getTaskCallable()");
124   }
125 
createTaskCallable()126   public UnaryCallable<CreateTaskRequest, Task> createTaskCallable() {
127     throw new UnsupportedOperationException("Not implemented: createTaskCallable()");
128   }
129 
deleteTaskCallable()130   public UnaryCallable<DeleteTaskRequest, Empty> deleteTaskCallable() {
131     throw new UnsupportedOperationException("Not implemented: deleteTaskCallable()");
132   }
133 
leaseTasksCallable()134   public UnaryCallable<LeaseTasksRequest, LeaseTasksResponse> leaseTasksCallable() {
135     throw new UnsupportedOperationException("Not implemented: leaseTasksCallable()");
136   }
137 
acknowledgeTaskCallable()138   public UnaryCallable<AcknowledgeTaskRequest, Empty> acknowledgeTaskCallable() {
139     throw new UnsupportedOperationException("Not implemented: acknowledgeTaskCallable()");
140   }
141 
renewLeaseCallable()142   public UnaryCallable<RenewLeaseRequest, Task> renewLeaseCallable() {
143     throw new UnsupportedOperationException("Not implemented: renewLeaseCallable()");
144   }
145 
cancelLeaseCallable()146   public UnaryCallable<CancelLeaseRequest, Task> cancelLeaseCallable() {
147     throw new UnsupportedOperationException("Not implemented: cancelLeaseCallable()");
148   }
149 
runTaskCallable()150   public UnaryCallable<RunTaskRequest, Task> runTaskCallable() {
151     throw new UnsupportedOperationException("Not implemented: runTaskCallable()");
152   }
153 
154   @Override
close()155   public abstract void close();
156 }
157