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.ProjectsClient.GetXpnResourcesPagedResponse; 20 import static com.google.cloud.compute.v1.ProjectsClient.ListXpnHostsPagedResponse; 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.DisableXpnHostProjectRequest; 26 import com.google.cloud.compute.v1.DisableXpnResourceProjectRequest; 27 import com.google.cloud.compute.v1.EnableXpnHostProjectRequest; 28 import com.google.cloud.compute.v1.EnableXpnResourceProjectRequest; 29 import com.google.cloud.compute.v1.GetProjectRequest; 30 import com.google.cloud.compute.v1.GetXpnHostProjectRequest; 31 import com.google.cloud.compute.v1.GetXpnResourcesProjectsRequest; 32 import com.google.cloud.compute.v1.ListXpnHostsProjectsRequest; 33 import com.google.cloud.compute.v1.MoveDiskProjectRequest; 34 import com.google.cloud.compute.v1.MoveInstanceProjectRequest; 35 import com.google.cloud.compute.v1.Operation; 36 import com.google.cloud.compute.v1.Project; 37 import com.google.cloud.compute.v1.ProjectsGetXpnResources; 38 import com.google.cloud.compute.v1.SetCommonInstanceMetadataProjectRequest; 39 import com.google.cloud.compute.v1.SetDefaultNetworkTierProjectRequest; 40 import com.google.cloud.compute.v1.SetUsageExportBucketProjectRequest; 41 import com.google.cloud.compute.v1.XpnHostList; 42 import javax.annotation.Generated; 43 44 // AUTO-GENERATED DOCUMENTATION AND CLASS. 45 /** 46 * Base stub class for the Projects 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 ProjectsStub implements BackgroundResource { 52 53 public OperationCallable<DisableXpnHostProjectRequest, Operation, Operation> disableXpnHostOperationCallable()54 disableXpnHostOperationCallable() { 55 throw new UnsupportedOperationException("Not implemented: disableXpnHostOperationCallable()"); 56 } 57 disableXpnHostCallable()58 public UnaryCallable<DisableXpnHostProjectRequest, Operation> disableXpnHostCallable() { 59 throw new UnsupportedOperationException("Not implemented: disableXpnHostCallable()"); 60 } 61 62 public OperationCallable<DisableXpnResourceProjectRequest, Operation, Operation> disableXpnResourceOperationCallable()63 disableXpnResourceOperationCallable() { 64 throw new UnsupportedOperationException( 65 "Not implemented: disableXpnResourceOperationCallable()"); 66 } 67 disableXpnResourceCallable()68 public UnaryCallable<DisableXpnResourceProjectRequest, Operation> disableXpnResourceCallable() { 69 throw new UnsupportedOperationException("Not implemented: disableXpnResourceCallable()"); 70 } 71 72 public OperationCallable<EnableXpnHostProjectRequest, Operation, Operation> enableXpnHostOperationCallable()73 enableXpnHostOperationCallable() { 74 throw new UnsupportedOperationException("Not implemented: enableXpnHostOperationCallable()"); 75 } 76 enableXpnHostCallable()77 public UnaryCallable<EnableXpnHostProjectRequest, Operation> enableXpnHostCallable() { 78 throw new UnsupportedOperationException("Not implemented: enableXpnHostCallable()"); 79 } 80 81 public OperationCallable<EnableXpnResourceProjectRequest, Operation, Operation> enableXpnResourceOperationCallable()82 enableXpnResourceOperationCallable() { 83 throw new UnsupportedOperationException( 84 "Not implemented: enableXpnResourceOperationCallable()"); 85 } 86 enableXpnResourceCallable()87 public UnaryCallable<EnableXpnResourceProjectRequest, Operation> enableXpnResourceCallable() { 88 throw new UnsupportedOperationException("Not implemented: enableXpnResourceCallable()"); 89 } 90 getCallable()91 public UnaryCallable<GetProjectRequest, Project> getCallable() { 92 throw new UnsupportedOperationException("Not implemented: getCallable()"); 93 } 94 getXpnHostCallable()95 public UnaryCallable<GetXpnHostProjectRequest, Project> getXpnHostCallable() { 96 throw new UnsupportedOperationException("Not implemented: getXpnHostCallable()"); 97 } 98 99 public UnaryCallable<GetXpnResourcesProjectsRequest, GetXpnResourcesPagedResponse> getXpnResourcesPagedCallable()100 getXpnResourcesPagedCallable() { 101 throw new UnsupportedOperationException("Not implemented: getXpnResourcesPagedCallable()"); 102 } 103 104 public UnaryCallable<GetXpnResourcesProjectsRequest, ProjectsGetXpnResources> getXpnResourcesCallable()105 getXpnResourcesCallable() { 106 throw new UnsupportedOperationException("Not implemented: getXpnResourcesCallable()"); 107 } 108 109 public UnaryCallable<ListXpnHostsProjectsRequest, ListXpnHostsPagedResponse> listXpnHostsPagedCallable()110 listXpnHostsPagedCallable() { 111 throw new UnsupportedOperationException("Not implemented: listXpnHostsPagedCallable()"); 112 } 113 listXpnHostsCallable()114 public UnaryCallable<ListXpnHostsProjectsRequest, XpnHostList> listXpnHostsCallable() { 115 throw new UnsupportedOperationException("Not implemented: listXpnHostsCallable()"); 116 } 117 118 public OperationCallable<MoveDiskProjectRequest, Operation, Operation> moveDiskOperationCallable()119 moveDiskOperationCallable() { 120 throw new UnsupportedOperationException("Not implemented: moveDiskOperationCallable()"); 121 } 122 moveDiskCallable()123 public UnaryCallable<MoveDiskProjectRequest, Operation> moveDiskCallable() { 124 throw new UnsupportedOperationException("Not implemented: moveDiskCallable()"); 125 } 126 127 public OperationCallable<MoveInstanceProjectRequest, Operation, Operation> moveInstanceOperationCallable()128 moveInstanceOperationCallable() { 129 throw new UnsupportedOperationException("Not implemented: moveInstanceOperationCallable()"); 130 } 131 moveInstanceCallable()132 public UnaryCallable<MoveInstanceProjectRequest, Operation> moveInstanceCallable() { 133 throw new UnsupportedOperationException("Not implemented: moveInstanceCallable()"); 134 } 135 136 public OperationCallable<SetCommonInstanceMetadataProjectRequest, Operation, Operation> setCommonInstanceMetadataOperationCallable()137 setCommonInstanceMetadataOperationCallable() { 138 throw new UnsupportedOperationException( 139 "Not implemented: setCommonInstanceMetadataOperationCallable()"); 140 } 141 142 public UnaryCallable<SetCommonInstanceMetadataProjectRequest, Operation> setCommonInstanceMetadataCallable()143 setCommonInstanceMetadataCallable() { 144 throw new UnsupportedOperationException("Not implemented: setCommonInstanceMetadataCallable()"); 145 } 146 147 public OperationCallable<SetDefaultNetworkTierProjectRequest, Operation, Operation> setDefaultNetworkTierOperationCallable()148 setDefaultNetworkTierOperationCallable() { 149 throw new UnsupportedOperationException( 150 "Not implemented: setDefaultNetworkTierOperationCallable()"); 151 } 152 153 public UnaryCallable<SetDefaultNetworkTierProjectRequest, Operation> setDefaultNetworkTierCallable()154 setDefaultNetworkTierCallable() { 155 throw new UnsupportedOperationException("Not implemented: setDefaultNetworkTierCallable()"); 156 } 157 158 public OperationCallable<SetUsageExportBucketProjectRequest, Operation, Operation> setUsageExportBucketOperationCallable()159 setUsageExportBucketOperationCallable() { 160 throw new UnsupportedOperationException( 161 "Not implemented: setUsageExportBucketOperationCallable()"); 162 } 163 164 public UnaryCallable<SetUsageExportBucketProjectRequest, Operation> setUsageExportBucketCallable()165 setUsageExportBucketCallable() { 166 throw new UnsupportedOperationException("Not implemented: setUsageExportBucketCallable()"); 167 } 168 169 @Override close()170 public abstract void close(); 171 } 172