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.compute.v1.stub; 18 19 import static com.google.cloud.compute.v1.DisksClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.DisksClient.ListPagedResponse; 21 22 import com.google.api.gax.core.BackgroundResource; 23 import com.google.api.gax.rpc.OperationCallable; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.compute.v1.AddResourcePoliciesDiskRequest; 26 import com.google.cloud.compute.v1.AggregatedListDisksRequest; 27 import com.google.cloud.compute.v1.CreateSnapshotDiskRequest; 28 import com.google.cloud.compute.v1.DeleteDiskRequest; 29 import com.google.cloud.compute.v1.Disk; 30 import com.google.cloud.compute.v1.DiskAggregatedList; 31 import com.google.cloud.compute.v1.DiskList; 32 import com.google.cloud.compute.v1.GetDiskRequest; 33 import com.google.cloud.compute.v1.GetIamPolicyDiskRequest; 34 import com.google.cloud.compute.v1.InsertDiskRequest; 35 import com.google.cloud.compute.v1.ListDisksRequest; 36 import com.google.cloud.compute.v1.Operation; 37 import com.google.cloud.compute.v1.Policy; 38 import com.google.cloud.compute.v1.RemoveResourcePoliciesDiskRequest; 39 import com.google.cloud.compute.v1.ResizeDiskRequest; 40 import com.google.cloud.compute.v1.SetIamPolicyDiskRequest; 41 import com.google.cloud.compute.v1.SetLabelsDiskRequest; 42 import com.google.cloud.compute.v1.TestIamPermissionsDiskRequest; 43 import com.google.cloud.compute.v1.TestPermissionsResponse; 44 import com.google.cloud.compute.v1.UpdateDiskRequest; 45 import javax.annotation.Generated; 46 47 // AUTO-GENERATED DOCUMENTATION AND CLASS. 48 /** 49 * Base stub class for the Disks service API. 50 * 51 * <p>This class is for advanced usage and reflects the underlying API directly. 52 */ 53 @Generated("by gapic-generator-java") 54 public abstract class DisksStub implements BackgroundResource { 55 56 public OperationCallable<AddResourcePoliciesDiskRequest, Operation, Operation> addResourcePoliciesOperationCallable()57 addResourcePoliciesOperationCallable() { 58 throw new UnsupportedOperationException( 59 "Not implemented: addResourcePoliciesOperationCallable()"); 60 } 61 addResourcePoliciesCallable()62 public UnaryCallable<AddResourcePoliciesDiskRequest, Operation> addResourcePoliciesCallable() { 63 throw new UnsupportedOperationException("Not implemented: addResourcePoliciesCallable()"); 64 } 65 66 public UnaryCallable<AggregatedListDisksRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()67 aggregatedListPagedCallable() { 68 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 69 } 70 aggregatedListCallable()71 public UnaryCallable<AggregatedListDisksRequest, DiskAggregatedList> aggregatedListCallable() { 72 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 73 } 74 75 public OperationCallable<CreateSnapshotDiskRequest, Operation, Operation> createSnapshotOperationCallable()76 createSnapshotOperationCallable() { 77 throw new UnsupportedOperationException("Not implemented: createSnapshotOperationCallable()"); 78 } 79 createSnapshotCallable()80 public UnaryCallable<CreateSnapshotDiskRequest, Operation> createSnapshotCallable() { 81 throw new UnsupportedOperationException("Not implemented: createSnapshotCallable()"); 82 } 83 deleteOperationCallable()84 public OperationCallable<DeleteDiskRequest, Operation, Operation> deleteOperationCallable() { 85 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 86 } 87 deleteCallable()88 public UnaryCallable<DeleteDiskRequest, Operation> deleteCallable() { 89 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 90 } 91 getCallable()92 public UnaryCallable<GetDiskRequest, Disk> getCallable() { 93 throw new UnsupportedOperationException("Not implemented: getCallable()"); 94 } 95 getIamPolicyCallable()96 public UnaryCallable<GetIamPolicyDiskRequest, Policy> getIamPolicyCallable() { 97 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 98 } 99 insertOperationCallable()100 public OperationCallable<InsertDiskRequest, Operation, Operation> insertOperationCallable() { 101 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 102 } 103 insertCallable()104 public UnaryCallable<InsertDiskRequest, Operation> insertCallable() { 105 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 106 } 107 listPagedCallable()108 public UnaryCallable<ListDisksRequest, ListPagedResponse> listPagedCallable() { 109 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 110 } 111 listCallable()112 public UnaryCallable<ListDisksRequest, DiskList> listCallable() { 113 throw new UnsupportedOperationException("Not implemented: listCallable()"); 114 } 115 116 public OperationCallable<RemoveResourcePoliciesDiskRequest, Operation, Operation> removeResourcePoliciesOperationCallable()117 removeResourcePoliciesOperationCallable() { 118 throw new UnsupportedOperationException( 119 "Not implemented: removeResourcePoliciesOperationCallable()"); 120 } 121 122 public UnaryCallable<RemoveResourcePoliciesDiskRequest, Operation> removeResourcePoliciesCallable()123 removeResourcePoliciesCallable() { 124 throw new UnsupportedOperationException("Not implemented: removeResourcePoliciesCallable()"); 125 } 126 resizeOperationCallable()127 public OperationCallable<ResizeDiskRequest, Operation, Operation> resizeOperationCallable() { 128 throw new UnsupportedOperationException("Not implemented: resizeOperationCallable()"); 129 } 130 resizeCallable()131 public UnaryCallable<ResizeDiskRequest, Operation> resizeCallable() { 132 throw new UnsupportedOperationException("Not implemented: resizeCallable()"); 133 } 134 setIamPolicyCallable()135 public UnaryCallable<SetIamPolicyDiskRequest, Policy> setIamPolicyCallable() { 136 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 137 } 138 139 public OperationCallable<SetLabelsDiskRequest, Operation, Operation> setLabelsOperationCallable()140 setLabelsOperationCallable() { 141 throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()"); 142 } 143 setLabelsCallable()144 public UnaryCallable<SetLabelsDiskRequest, Operation> setLabelsCallable() { 145 throw new UnsupportedOperationException("Not implemented: setLabelsCallable()"); 146 } 147 148 public UnaryCallable<TestIamPermissionsDiskRequest, TestPermissionsResponse> testIamPermissionsCallable()149 testIamPermissionsCallable() { 150 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 151 } 152 updateOperationCallable()153 public OperationCallable<UpdateDiskRequest, Operation, Operation> updateOperationCallable() { 154 throw new UnsupportedOperationException("Not implemented: updateOperationCallable()"); 155 } 156 updateCallable()157 public UnaryCallable<UpdateDiskRequest, Operation> updateCallable() { 158 throw new UnsupportedOperationException("Not implemented: updateCallable()"); 159 } 160 161 @Override close()162 public abstract void close(); 163 } 164