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.v2beta3.stub; 18 19 import static com.google.cloud.tasks.v2beta3.CloudTasksClient.ListQueuesPagedResponse; 20 import static com.google.cloud.tasks.v2beta3.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.v2beta3.CreateQueueRequest; 26 import com.google.cloud.tasks.v2beta3.CreateTaskRequest; 27 import com.google.cloud.tasks.v2beta3.DeleteQueueRequest; 28 import com.google.cloud.tasks.v2beta3.DeleteTaskRequest; 29 import com.google.cloud.tasks.v2beta3.GetQueueRequest; 30 import com.google.cloud.tasks.v2beta3.GetTaskRequest; 31 import com.google.cloud.tasks.v2beta3.ListQueuesRequest; 32 import com.google.cloud.tasks.v2beta3.ListQueuesResponse; 33 import com.google.cloud.tasks.v2beta3.ListTasksRequest; 34 import com.google.cloud.tasks.v2beta3.ListTasksResponse; 35 import com.google.cloud.tasks.v2beta3.PauseQueueRequest; 36 import com.google.cloud.tasks.v2beta3.PurgeQueueRequest; 37 import com.google.cloud.tasks.v2beta3.Queue; 38 import com.google.cloud.tasks.v2beta3.ResumeQueueRequest; 39 import com.google.cloud.tasks.v2beta3.RunTaskRequest; 40 import com.google.cloud.tasks.v2beta3.Task; 41 import com.google.cloud.tasks.v2beta3.UpdateQueueRequest; 42 import com.google.iam.v1.GetIamPolicyRequest; 43 import com.google.iam.v1.Policy; 44 import com.google.iam.v1.SetIamPolicyRequest; 45 import com.google.iam.v1.TestIamPermissionsRequest; 46 import com.google.iam.v1.TestIamPermissionsResponse; 47 import com.google.protobuf.Empty; 48 import javax.annotation.Generated; 49 50 // AUTO-GENERATED DOCUMENTATION AND CLASS. 51 /** 52 * Base stub class for the CloudTasks service API. 53 * 54 * <p>This class is for advanced usage and reflects the underlying API directly. 55 */ 56 @BetaApi 57 @Generated("by gapic-generator-java") 58 public abstract class CloudTasksStub implements BackgroundResource { 59 listQueuesPagedCallable()60 public UnaryCallable<ListQueuesRequest, ListQueuesPagedResponse> listQueuesPagedCallable() { 61 throw new UnsupportedOperationException("Not implemented: listQueuesPagedCallable()"); 62 } 63 listQueuesCallable()64 public UnaryCallable<ListQueuesRequest, ListQueuesResponse> listQueuesCallable() { 65 throw new UnsupportedOperationException("Not implemented: listQueuesCallable()"); 66 } 67 getQueueCallable()68 public UnaryCallable<GetQueueRequest, Queue> getQueueCallable() { 69 throw new UnsupportedOperationException("Not implemented: getQueueCallable()"); 70 } 71 createQueueCallable()72 public UnaryCallable<CreateQueueRequest, Queue> createQueueCallable() { 73 throw new UnsupportedOperationException("Not implemented: createQueueCallable()"); 74 } 75 updateQueueCallable()76 public UnaryCallable<UpdateQueueRequest, Queue> updateQueueCallable() { 77 throw new UnsupportedOperationException("Not implemented: updateQueueCallable()"); 78 } 79 deleteQueueCallable()80 public UnaryCallable<DeleteQueueRequest, Empty> deleteQueueCallable() { 81 throw new UnsupportedOperationException("Not implemented: deleteQueueCallable()"); 82 } 83 purgeQueueCallable()84 public UnaryCallable<PurgeQueueRequest, Queue> purgeQueueCallable() { 85 throw new UnsupportedOperationException("Not implemented: purgeQueueCallable()"); 86 } 87 pauseQueueCallable()88 public UnaryCallable<PauseQueueRequest, Queue> pauseQueueCallable() { 89 throw new UnsupportedOperationException("Not implemented: pauseQueueCallable()"); 90 } 91 resumeQueueCallable()92 public UnaryCallable<ResumeQueueRequest, Queue> resumeQueueCallable() { 93 throw new UnsupportedOperationException("Not implemented: resumeQueueCallable()"); 94 } 95 getIamPolicyCallable()96 public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() { 97 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 98 } 99 setIamPolicyCallable()100 public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() { 101 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 102 } 103 104 public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsCallable()105 testIamPermissionsCallable() { 106 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 107 } 108 listTasksPagedCallable()109 public UnaryCallable<ListTasksRequest, ListTasksPagedResponse> listTasksPagedCallable() { 110 throw new UnsupportedOperationException("Not implemented: listTasksPagedCallable()"); 111 } 112 listTasksCallable()113 public UnaryCallable<ListTasksRequest, ListTasksResponse> listTasksCallable() { 114 throw new UnsupportedOperationException("Not implemented: listTasksCallable()"); 115 } 116 getTaskCallable()117 public UnaryCallable<GetTaskRequest, Task> getTaskCallable() { 118 throw new UnsupportedOperationException("Not implemented: getTaskCallable()"); 119 } 120 createTaskCallable()121 public UnaryCallable<CreateTaskRequest, Task> createTaskCallable() { 122 throw new UnsupportedOperationException("Not implemented: createTaskCallable()"); 123 } 124 deleteTaskCallable()125 public UnaryCallable<DeleteTaskRequest, Empty> deleteTaskCallable() { 126 throw new UnsupportedOperationException("Not implemented: deleteTaskCallable()"); 127 } 128 runTaskCallable()129 public UnaryCallable<RunTaskRequest, Task> runTaskCallable() { 130 throw new UnsupportedOperationException("Not implemented: runTaskCallable()"); 131 } 132 133 @Override close()134 public abstract void close(); 135 } 136