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