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.SubnetworksClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.SubnetworksClient.ListPagedResponse; 21 import static com.google.cloud.compute.v1.SubnetworksClient.ListUsablePagedResponse; 22 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.OperationCallable; 25 import com.google.api.gax.rpc.UnaryCallable; 26 import com.google.cloud.compute.v1.AggregatedListSubnetworksRequest; 27 import com.google.cloud.compute.v1.DeleteSubnetworkRequest; 28 import com.google.cloud.compute.v1.ExpandIpCidrRangeSubnetworkRequest; 29 import com.google.cloud.compute.v1.GetIamPolicySubnetworkRequest; 30 import com.google.cloud.compute.v1.GetSubnetworkRequest; 31 import com.google.cloud.compute.v1.InsertSubnetworkRequest; 32 import com.google.cloud.compute.v1.ListSubnetworksRequest; 33 import com.google.cloud.compute.v1.ListUsableSubnetworksRequest; 34 import com.google.cloud.compute.v1.Operation; 35 import com.google.cloud.compute.v1.PatchSubnetworkRequest; 36 import com.google.cloud.compute.v1.Policy; 37 import com.google.cloud.compute.v1.SetIamPolicySubnetworkRequest; 38 import com.google.cloud.compute.v1.SetPrivateIpGoogleAccessSubnetworkRequest; 39 import com.google.cloud.compute.v1.Subnetwork; 40 import com.google.cloud.compute.v1.SubnetworkAggregatedList; 41 import com.google.cloud.compute.v1.SubnetworkList; 42 import com.google.cloud.compute.v1.TestIamPermissionsSubnetworkRequest; 43 import com.google.cloud.compute.v1.TestPermissionsResponse; 44 import com.google.cloud.compute.v1.UsableSubnetworksAggregatedList; 45 import javax.annotation.Generated; 46 47 // AUTO-GENERATED DOCUMENTATION AND CLASS. 48 /** 49 * Base stub class for the Subnetworks 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 SubnetworksStub implements BackgroundResource { 55 56 public UnaryCallable<AggregatedListSubnetworksRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()57 aggregatedListPagedCallable() { 58 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 59 } 60 61 public UnaryCallable<AggregatedListSubnetworksRequest, SubnetworkAggregatedList> aggregatedListCallable()62 aggregatedListCallable() { 63 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 64 } 65 66 public OperationCallable<DeleteSubnetworkRequest, Operation, Operation> deleteOperationCallable()67 deleteOperationCallable() { 68 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 69 } 70 deleteCallable()71 public UnaryCallable<DeleteSubnetworkRequest, Operation> deleteCallable() { 72 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 73 } 74 75 public OperationCallable<ExpandIpCidrRangeSubnetworkRequest, Operation, Operation> expandIpCidrRangeOperationCallable()76 expandIpCidrRangeOperationCallable() { 77 throw new UnsupportedOperationException( 78 "Not implemented: expandIpCidrRangeOperationCallable()"); 79 } 80 expandIpCidrRangeCallable()81 public UnaryCallable<ExpandIpCidrRangeSubnetworkRequest, Operation> expandIpCidrRangeCallable() { 82 throw new UnsupportedOperationException("Not implemented: expandIpCidrRangeCallable()"); 83 } 84 getCallable()85 public UnaryCallable<GetSubnetworkRequest, Subnetwork> getCallable() { 86 throw new UnsupportedOperationException("Not implemented: getCallable()"); 87 } 88 getIamPolicyCallable()89 public UnaryCallable<GetIamPolicySubnetworkRequest, Policy> getIamPolicyCallable() { 90 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 91 } 92 93 public OperationCallable<InsertSubnetworkRequest, Operation, Operation> insertOperationCallable()94 insertOperationCallable() { 95 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 96 } 97 insertCallable()98 public UnaryCallable<InsertSubnetworkRequest, Operation> insertCallable() { 99 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 100 } 101 listPagedCallable()102 public UnaryCallable<ListSubnetworksRequest, ListPagedResponse> listPagedCallable() { 103 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 104 } 105 listCallable()106 public UnaryCallable<ListSubnetworksRequest, SubnetworkList> listCallable() { 107 throw new UnsupportedOperationException("Not implemented: listCallable()"); 108 } 109 110 public UnaryCallable<ListUsableSubnetworksRequest, ListUsablePagedResponse> listUsablePagedCallable()111 listUsablePagedCallable() { 112 throw new UnsupportedOperationException("Not implemented: listUsablePagedCallable()"); 113 } 114 115 public UnaryCallable<ListUsableSubnetworksRequest, UsableSubnetworksAggregatedList> listUsableCallable()116 listUsableCallable() { 117 throw new UnsupportedOperationException("Not implemented: listUsableCallable()"); 118 } 119 patchOperationCallable()120 public OperationCallable<PatchSubnetworkRequest, Operation, Operation> patchOperationCallable() { 121 throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); 122 } 123 patchCallable()124 public UnaryCallable<PatchSubnetworkRequest, Operation> patchCallable() { 125 throw new UnsupportedOperationException("Not implemented: patchCallable()"); 126 } 127 setIamPolicyCallable()128 public UnaryCallable<SetIamPolicySubnetworkRequest, Policy> setIamPolicyCallable() { 129 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 130 } 131 132 public OperationCallable<SetPrivateIpGoogleAccessSubnetworkRequest, Operation, Operation> setPrivateIpGoogleAccessOperationCallable()133 setPrivateIpGoogleAccessOperationCallable() { 134 throw new UnsupportedOperationException( 135 "Not implemented: setPrivateIpGoogleAccessOperationCallable()"); 136 } 137 138 public UnaryCallable<SetPrivateIpGoogleAccessSubnetworkRequest, Operation> setPrivateIpGoogleAccessCallable()139 setPrivateIpGoogleAccessCallable() { 140 throw new UnsupportedOperationException("Not implemented: setPrivateIpGoogleAccessCallable()"); 141 } 142 143 public UnaryCallable<TestIamPermissionsSubnetworkRequest, TestPermissionsResponse> testIamPermissionsCallable()144 testIamPermissionsCallable() { 145 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 146 } 147 148 @Override close()149 public abstract void close(); 150 } 151