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.container.v1.stub; 18 19 import static com.google.cloud.container.v1.ClusterManagerClient.ListUsableSubnetworksPagedResponse; 20 21 import com.google.api.gax.core.BackgroundResource; 22 import com.google.api.gax.rpc.UnaryCallable; 23 import com.google.container.v1.CancelOperationRequest; 24 import com.google.container.v1.Cluster; 25 import com.google.container.v1.CompleteIPRotationRequest; 26 import com.google.container.v1.CompleteNodePoolUpgradeRequest; 27 import com.google.container.v1.CreateClusterRequest; 28 import com.google.container.v1.CreateNodePoolRequest; 29 import com.google.container.v1.DeleteClusterRequest; 30 import com.google.container.v1.DeleteNodePoolRequest; 31 import com.google.container.v1.GetClusterRequest; 32 import com.google.container.v1.GetJSONWebKeysRequest; 33 import com.google.container.v1.GetJSONWebKeysResponse; 34 import com.google.container.v1.GetNodePoolRequest; 35 import com.google.container.v1.GetOperationRequest; 36 import com.google.container.v1.GetServerConfigRequest; 37 import com.google.container.v1.ListClustersRequest; 38 import com.google.container.v1.ListClustersResponse; 39 import com.google.container.v1.ListNodePoolsRequest; 40 import com.google.container.v1.ListNodePoolsResponse; 41 import com.google.container.v1.ListOperationsRequest; 42 import com.google.container.v1.ListOperationsResponse; 43 import com.google.container.v1.ListUsableSubnetworksRequest; 44 import com.google.container.v1.ListUsableSubnetworksResponse; 45 import com.google.container.v1.NodePool; 46 import com.google.container.v1.Operation; 47 import com.google.container.v1.RollbackNodePoolUpgradeRequest; 48 import com.google.container.v1.ServerConfig; 49 import com.google.container.v1.SetAddonsConfigRequest; 50 import com.google.container.v1.SetLabelsRequest; 51 import com.google.container.v1.SetLegacyAbacRequest; 52 import com.google.container.v1.SetLocationsRequest; 53 import com.google.container.v1.SetLoggingServiceRequest; 54 import com.google.container.v1.SetMaintenancePolicyRequest; 55 import com.google.container.v1.SetMasterAuthRequest; 56 import com.google.container.v1.SetMonitoringServiceRequest; 57 import com.google.container.v1.SetNetworkPolicyRequest; 58 import com.google.container.v1.SetNodePoolAutoscalingRequest; 59 import com.google.container.v1.SetNodePoolManagementRequest; 60 import com.google.container.v1.SetNodePoolSizeRequest; 61 import com.google.container.v1.StartIPRotationRequest; 62 import com.google.container.v1.UpdateClusterRequest; 63 import com.google.container.v1.UpdateMasterRequest; 64 import com.google.container.v1.UpdateNodePoolRequest; 65 import com.google.protobuf.Empty; 66 import javax.annotation.Generated; 67 68 // AUTO-GENERATED DOCUMENTATION AND CLASS. 69 /** 70 * Base stub class for the ClusterManager service API. 71 * 72 * <p>This class is for advanced usage and reflects the underlying API directly. 73 */ 74 @Generated("by gapic-generator-java") 75 public abstract class ClusterManagerStub implements BackgroundResource { 76 listClustersCallable()77 public UnaryCallable<ListClustersRequest, ListClustersResponse> listClustersCallable() { 78 throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); 79 } 80 getClusterCallable()81 public UnaryCallable<GetClusterRequest, Cluster> getClusterCallable() { 82 throw new UnsupportedOperationException("Not implemented: getClusterCallable()"); 83 } 84 createClusterCallable()85 public UnaryCallable<CreateClusterRequest, Operation> createClusterCallable() { 86 throw new UnsupportedOperationException("Not implemented: createClusterCallable()"); 87 } 88 updateClusterCallable()89 public UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallable() { 90 throw new UnsupportedOperationException("Not implemented: updateClusterCallable()"); 91 } 92 updateNodePoolCallable()93 public UnaryCallable<UpdateNodePoolRequest, Operation> updateNodePoolCallable() { 94 throw new UnsupportedOperationException("Not implemented: updateNodePoolCallable()"); 95 } 96 setNodePoolAutoscalingCallable()97 public UnaryCallable<SetNodePoolAutoscalingRequest, Operation> setNodePoolAutoscalingCallable() { 98 throw new UnsupportedOperationException("Not implemented: setNodePoolAutoscalingCallable()"); 99 } 100 setLoggingServiceCallable()101 public UnaryCallable<SetLoggingServiceRequest, Operation> setLoggingServiceCallable() { 102 throw new UnsupportedOperationException("Not implemented: setLoggingServiceCallable()"); 103 } 104 setMonitoringServiceCallable()105 public UnaryCallable<SetMonitoringServiceRequest, Operation> setMonitoringServiceCallable() { 106 throw new UnsupportedOperationException("Not implemented: setMonitoringServiceCallable()"); 107 } 108 setAddonsConfigCallable()109 public UnaryCallable<SetAddonsConfigRequest, Operation> setAddonsConfigCallable() { 110 throw new UnsupportedOperationException("Not implemented: setAddonsConfigCallable()"); 111 } 112 113 @Deprecated setLocationsCallable()114 public UnaryCallable<SetLocationsRequest, Operation> setLocationsCallable() { 115 throw new UnsupportedOperationException("Not implemented: setLocationsCallable()"); 116 } 117 updateMasterCallable()118 public UnaryCallable<UpdateMasterRequest, Operation> updateMasterCallable() { 119 throw new UnsupportedOperationException("Not implemented: updateMasterCallable()"); 120 } 121 setMasterAuthCallable()122 public UnaryCallable<SetMasterAuthRequest, Operation> setMasterAuthCallable() { 123 throw new UnsupportedOperationException("Not implemented: setMasterAuthCallable()"); 124 } 125 deleteClusterCallable()126 public UnaryCallable<DeleteClusterRequest, Operation> deleteClusterCallable() { 127 throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); 128 } 129 listOperationsCallable()130 public UnaryCallable<ListOperationsRequest, ListOperationsResponse> listOperationsCallable() { 131 throw new UnsupportedOperationException("Not implemented: listOperationsCallable()"); 132 } 133 getOperationCallable()134 public UnaryCallable<GetOperationRequest, Operation> getOperationCallable() { 135 throw new UnsupportedOperationException("Not implemented: getOperationCallable()"); 136 } 137 cancelOperationCallable()138 public UnaryCallable<CancelOperationRequest, Empty> cancelOperationCallable() { 139 throw new UnsupportedOperationException("Not implemented: cancelOperationCallable()"); 140 } 141 getServerConfigCallable()142 public UnaryCallable<GetServerConfigRequest, ServerConfig> getServerConfigCallable() { 143 throw new UnsupportedOperationException("Not implemented: getServerConfigCallable()"); 144 } 145 getJSONWebKeysCallable()146 public UnaryCallable<GetJSONWebKeysRequest, GetJSONWebKeysResponse> getJSONWebKeysCallable() { 147 throw new UnsupportedOperationException("Not implemented: getJSONWebKeysCallable()"); 148 } 149 listNodePoolsCallable()150 public UnaryCallable<ListNodePoolsRequest, ListNodePoolsResponse> listNodePoolsCallable() { 151 throw new UnsupportedOperationException("Not implemented: listNodePoolsCallable()"); 152 } 153 getNodePoolCallable()154 public UnaryCallable<GetNodePoolRequest, NodePool> getNodePoolCallable() { 155 throw new UnsupportedOperationException("Not implemented: getNodePoolCallable()"); 156 } 157 createNodePoolCallable()158 public UnaryCallable<CreateNodePoolRequest, Operation> createNodePoolCallable() { 159 throw new UnsupportedOperationException("Not implemented: createNodePoolCallable()"); 160 } 161 deleteNodePoolCallable()162 public UnaryCallable<DeleteNodePoolRequest, Operation> deleteNodePoolCallable() { 163 throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); 164 } 165 completeNodePoolUpgradeCallable()166 public UnaryCallable<CompleteNodePoolUpgradeRequest, Empty> completeNodePoolUpgradeCallable() { 167 throw new UnsupportedOperationException("Not implemented: completeNodePoolUpgradeCallable()"); 168 } 169 170 public UnaryCallable<RollbackNodePoolUpgradeRequest, Operation> rollbackNodePoolUpgradeCallable()171 rollbackNodePoolUpgradeCallable() { 172 throw new UnsupportedOperationException("Not implemented: rollbackNodePoolUpgradeCallable()"); 173 } 174 setNodePoolManagementCallable()175 public UnaryCallable<SetNodePoolManagementRequest, Operation> setNodePoolManagementCallable() { 176 throw new UnsupportedOperationException("Not implemented: setNodePoolManagementCallable()"); 177 } 178 setLabelsCallable()179 public UnaryCallable<SetLabelsRequest, Operation> setLabelsCallable() { 180 throw new UnsupportedOperationException("Not implemented: setLabelsCallable()"); 181 } 182 setLegacyAbacCallable()183 public UnaryCallable<SetLegacyAbacRequest, Operation> setLegacyAbacCallable() { 184 throw new UnsupportedOperationException("Not implemented: setLegacyAbacCallable()"); 185 } 186 startIPRotationCallable()187 public UnaryCallable<StartIPRotationRequest, Operation> startIPRotationCallable() { 188 throw new UnsupportedOperationException("Not implemented: startIPRotationCallable()"); 189 } 190 completeIPRotationCallable()191 public UnaryCallable<CompleteIPRotationRequest, Operation> completeIPRotationCallable() { 192 throw new UnsupportedOperationException("Not implemented: completeIPRotationCallable()"); 193 } 194 setNodePoolSizeCallable()195 public UnaryCallable<SetNodePoolSizeRequest, Operation> setNodePoolSizeCallable() { 196 throw new UnsupportedOperationException("Not implemented: setNodePoolSizeCallable()"); 197 } 198 setNetworkPolicyCallable()199 public UnaryCallable<SetNetworkPolicyRequest, Operation> setNetworkPolicyCallable() { 200 throw new UnsupportedOperationException("Not implemented: setNetworkPolicyCallable()"); 201 } 202 setMaintenancePolicyCallable()203 public UnaryCallable<SetMaintenancePolicyRequest, Operation> setMaintenancePolicyCallable() { 204 throw new UnsupportedOperationException("Not implemented: setMaintenancePolicyCallable()"); 205 } 206 207 public UnaryCallable<ListUsableSubnetworksRequest, ListUsableSubnetworksPagedResponse> listUsableSubnetworksPagedCallable()208 listUsableSubnetworksPagedCallable() { 209 throw new UnsupportedOperationException( 210 "Not implemented: listUsableSubnetworksPagedCallable()"); 211 } 212 213 public UnaryCallable<ListUsableSubnetworksRequest, ListUsableSubnetworksResponse> listUsableSubnetworksCallable()214 listUsableSubnetworksCallable() { 215 throw new UnsupportedOperationException("Not implemented: listUsableSubnetworksCallable()"); 216 } 217 218 @Override close()219 public abstract void close(); 220 } 221