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.aiplatform.v1.stub; 18 19 import static com.google.cloud.aiplatform.v1.EndpointServiceClient.ListEndpointsPagedResponse; 20 import static com.google.cloud.aiplatform.v1.EndpointServiceClient.ListLocationsPagedResponse; 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.aiplatform.v1.CreateEndpointOperationMetadata; 26 import com.google.cloud.aiplatform.v1.CreateEndpointRequest; 27 import com.google.cloud.aiplatform.v1.DeleteEndpointRequest; 28 import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; 29 import com.google.cloud.aiplatform.v1.DeployModelOperationMetadata; 30 import com.google.cloud.aiplatform.v1.DeployModelRequest; 31 import com.google.cloud.aiplatform.v1.DeployModelResponse; 32 import com.google.cloud.aiplatform.v1.Endpoint; 33 import com.google.cloud.aiplatform.v1.GetEndpointRequest; 34 import com.google.cloud.aiplatform.v1.ListEndpointsRequest; 35 import com.google.cloud.aiplatform.v1.ListEndpointsResponse; 36 import com.google.cloud.aiplatform.v1.MutateDeployedModelOperationMetadata; 37 import com.google.cloud.aiplatform.v1.MutateDeployedModelRequest; 38 import com.google.cloud.aiplatform.v1.MutateDeployedModelResponse; 39 import com.google.cloud.aiplatform.v1.UndeployModelOperationMetadata; 40 import com.google.cloud.aiplatform.v1.UndeployModelRequest; 41 import com.google.cloud.aiplatform.v1.UndeployModelResponse; 42 import com.google.cloud.aiplatform.v1.UpdateEndpointRequest; 43 import com.google.cloud.location.GetLocationRequest; 44 import com.google.cloud.location.ListLocationsRequest; 45 import com.google.cloud.location.ListLocationsResponse; 46 import com.google.cloud.location.Location; 47 import com.google.iam.v1.GetIamPolicyRequest; 48 import com.google.iam.v1.Policy; 49 import com.google.iam.v1.SetIamPolicyRequest; 50 import com.google.iam.v1.TestIamPermissionsRequest; 51 import com.google.iam.v1.TestIamPermissionsResponse; 52 import com.google.longrunning.Operation; 53 import com.google.longrunning.stub.OperationsStub; 54 import com.google.protobuf.Empty; 55 import javax.annotation.Generated; 56 57 // AUTO-GENERATED DOCUMENTATION AND CLASS. 58 /** 59 * Base stub class for the EndpointService service API. 60 * 61 * <p>This class is for advanced usage and reflects the underlying API directly. 62 */ 63 @Generated("by gapic-generator-java") 64 public abstract class EndpointServiceStub implements BackgroundResource { 65 getOperationsStub()66 public OperationsStub getOperationsStub() { 67 throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); 68 } 69 70 public OperationCallable<CreateEndpointRequest, Endpoint, CreateEndpointOperationMetadata> createEndpointOperationCallable()71 createEndpointOperationCallable() { 72 throw new UnsupportedOperationException("Not implemented: createEndpointOperationCallable()"); 73 } 74 createEndpointCallable()75 public UnaryCallable<CreateEndpointRequest, Operation> createEndpointCallable() { 76 throw new UnsupportedOperationException("Not implemented: createEndpointCallable()"); 77 } 78 getEndpointCallable()79 public UnaryCallable<GetEndpointRequest, Endpoint> getEndpointCallable() { 80 throw new UnsupportedOperationException("Not implemented: getEndpointCallable()"); 81 } 82 83 public UnaryCallable<ListEndpointsRequest, ListEndpointsPagedResponse> listEndpointsPagedCallable()84 listEndpointsPagedCallable() { 85 throw new UnsupportedOperationException("Not implemented: listEndpointsPagedCallable()"); 86 } 87 listEndpointsCallable()88 public UnaryCallable<ListEndpointsRequest, ListEndpointsResponse> listEndpointsCallable() { 89 throw new UnsupportedOperationException("Not implemented: listEndpointsCallable()"); 90 } 91 updateEndpointCallable()92 public UnaryCallable<UpdateEndpointRequest, Endpoint> updateEndpointCallable() { 93 throw new UnsupportedOperationException("Not implemented: updateEndpointCallable()"); 94 } 95 96 public OperationCallable<DeleteEndpointRequest, Empty, DeleteOperationMetadata> deleteEndpointOperationCallable()97 deleteEndpointOperationCallable() { 98 throw new UnsupportedOperationException("Not implemented: deleteEndpointOperationCallable()"); 99 } 100 deleteEndpointCallable()101 public UnaryCallable<DeleteEndpointRequest, Operation> deleteEndpointCallable() { 102 throw new UnsupportedOperationException("Not implemented: deleteEndpointCallable()"); 103 } 104 105 public OperationCallable<DeployModelRequest, DeployModelResponse, DeployModelOperationMetadata> deployModelOperationCallable()106 deployModelOperationCallable() { 107 throw new UnsupportedOperationException("Not implemented: deployModelOperationCallable()"); 108 } 109 deployModelCallable()110 public UnaryCallable<DeployModelRequest, Operation> deployModelCallable() { 111 throw new UnsupportedOperationException("Not implemented: deployModelCallable()"); 112 } 113 114 public OperationCallable< 115 UndeployModelRequest, UndeployModelResponse, UndeployModelOperationMetadata> undeployModelOperationCallable()116 undeployModelOperationCallable() { 117 throw new UnsupportedOperationException("Not implemented: undeployModelOperationCallable()"); 118 } 119 undeployModelCallable()120 public UnaryCallable<UndeployModelRequest, Operation> undeployModelCallable() { 121 throw new UnsupportedOperationException("Not implemented: undeployModelCallable()"); 122 } 123 124 public OperationCallable< 125 MutateDeployedModelRequest, 126 MutateDeployedModelResponse, 127 MutateDeployedModelOperationMetadata> mutateDeployedModelOperationCallable()128 mutateDeployedModelOperationCallable() { 129 throw new UnsupportedOperationException( 130 "Not implemented: mutateDeployedModelOperationCallable()"); 131 } 132 mutateDeployedModelCallable()133 public UnaryCallable<MutateDeployedModelRequest, Operation> mutateDeployedModelCallable() { 134 throw new UnsupportedOperationException("Not implemented: mutateDeployedModelCallable()"); 135 } 136 137 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()138 listLocationsPagedCallable() { 139 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 140 } 141 listLocationsCallable()142 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 143 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 144 } 145 getLocationCallable()146 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 147 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 148 } 149 setIamPolicyCallable()150 public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() { 151 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 152 } 153 getIamPolicyCallable()154 public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() { 155 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 156 } 157 158 public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsCallable()159 testIamPermissionsCallable() { 160 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 161 } 162 163 @Override close()164 public abstract void close(); 165 } 166