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.NetworkEndpointGroupsClient.AggregatedListPagedResponse; 20 import static com.google.cloud.compute.v1.NetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse; 21 import static com.google.cloud.compute.v1.NetworkEndpointGroupsClient.ListPagedResponse; 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.AggregatedListNetworkEndpointGroupsRequest; 27 import com.google.cloud.compute.v1.AttachNetworkEndpointsNetworkEndpointGroupRequest; 28 import com.google.cloud.compute.v1.DeleteNetworkEndpointGroupRequest; 29 import com.google.cloud.compute.v1.DetachNetworkEndpointsNetworkEndpointGroupRequest; 30 import com.google.cloud.compute.v1.GetNetworkEndpointGroupRequest; 31 import com.google.cloud.compute.v1.InsertNetworkEndpointGroupRequest; 32 import com.google.cloud.compute.v1.ListNetworkEndpointGroupsRequest; 33 import com.google.cloud.compute.v1.ListNetworkEndpointsNetworkEndpointGroupsRequest; 34 import com.google.cloud.compute.v1.NetworkEndpointGroup; 35 import com.google.cloud.compute.v1.NetworkEndpointGroupAggregatedList; 36 import com.google.cloud.compute.v1.NetworkEndpointGroupList; 37 import com.google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints; 38 import com.google.cloud.compute.v1.Operation; 39 import com.google.cloud.compute.v1.TestIamPermissionsNetworkEndpointGroupRequest; 40 import com.google.cloud.compute.v1.TestPermissionsResponse; 41 import javax.annotation.Generated; 42 43 // AUTO-GENERATED DOCUMENTATION AND CLASS. 44 /** 45 * Base stub class for the NetworkEndpointGroups service API. 46 * 47 * <p>This class is for advanced usage and reflects the underlying API directly. 48 */ 49 @Generated("by gapic-generator-java") 50 public abstract class NetworkEndpointGroupsStub implements BackgroundResource { 51 52 public UnaryCallable<AggregatedListNetworkEndpointGroupsRequest, AggregatedListPagedResponse> aggregatedListPagedCallable()53 aggregatedListPagedCallable() { 54 throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); 55 } 56 57 public UnaryCallable< 58 AggregatedListNetworkEndpointGroupsRequest, NetworkEndpointGroupAggregatedList> aggregatedListCallable()59 aggregatedListCallable() { 60 throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); 61 } 62 63 public OperationCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest, Operation, Operation> attachNetworkEndpointsOperationCallable()64 attachNetworkEndpointsOperationCallable() { 65 throw new UnsupportedOperationException( 66 "Not implemented: attachNetworkEndpointsOperationCallable()"); 67 } 68 69 public UnaryCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest, Operation> attachNetworkEndpointsCallable()70 attachNetworkEndpointsCallable() { 71 throw new UnsupportedOperationException("Not implemented: attachNetworkEndpointsCallable()"); 72 } 73 74 public OperationCallable<DeleteNetworkEndpointGroupRequest, Operation, Operation> deleteOperationCallable()75 deleteOperationCallable() { 76 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 77 } 78 deleteCallable()79 public UnaryCallable<DeleteNetworkEndpointGroupRequest, Operation> deleteCallable() { 80 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 81 } 82 83 public OperationCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest, Operation, Operation> detachNetworkEndpointsOperationCallable()84 detachNetworkEndpointsOperationCallable() { 85 throw new UnsupportedOperationException( 86 "Not implemented: detachNetworkEndpointsOperationCallable()"); 87 } 88 89 public UnaryCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest, Operation> detachNetworkEndpointsCallable()90 detachNetworkEndpointsCallable() { 91 throw new UnsupportedOperationException("Not implemented: detachNetworkEndpointsCallable()"); 92 } 93 getCallable()94 public UnaryCallable<GetNetworkEndpointGroupRequest, NetworkEndpointGroup> getCallable() { 95 throw new UnsupportedOperationException("Not implemented: getCallable()"); 96 } 97 98 public OperationCallable<InsertNetworkEndpointGroupRequest, Operation, Operation> insertOperationCallable()99 insertOperationCallable() { 100 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 101 } 102 insertCallable()103 public UnaryCallable<InsertNetworkEndpointGroupRequest, Operation> insertCallable() { 104 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 105 } 106 listPagedCallable()107 public UnaryCallable<ListNetworkEndpointGroupsRequest, ListPagedResponse> listPagedCallable() { 108 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 109 } 110 listCallable()111 public UnaryCallable<ListNetworkEndpointGroupsRequest, NetworkEndpointGroupList> listCallable() { 112 throw new UnsupportedOperationException("Not implemented: listCallable()"); 113 } 114 115 public UnaryCallable< 116 ListNetworkEndpointsNetworkEndpointGroupsRequest, ListNetworkEndpointsPagedResponse> listNetworkEndpointsPagedCallable()117 listNetworkEndpointsPagedCallable() { 118 throw new UnsupportedOperationException("Not implemented: listNetworkEndpointsPagedCallable()"); 119 } 120 121 public UnaryCallable< 122 ListNetworkEndpointsNetworkEndpointGroupsRequest, 123 NetworkEndpointGroupsListNetworkEndpoints> listNetworkEndpointsCallable()124 listNetworkEndpointsCallable() { 125 throw new UnsupportedOperationException("Not implemented: listNetworkEndpointsCallable()"); 126 } 127 128 public UnaryCallable<TestIamPermissionsNetworkEndpointGroupRequest, TestPermissionsResponse> testIamPermissionsCallable()129 testIamPermissionsCallable() { 130 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 131 } 132 133 @Override close()134 public abstract void close(); 135 } 136