• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.InterconnectsClient.ListPagedResponse;
20 
21 import com.google.api.gax.core.BackgroundResource;
22 import com.google.api.gax.rpc.OperationCallable;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.compute.v1.DeleteInterconnectRequest;
25 import com.google.cloud.compute.v1.GetDiagnosticsInterconnectRequest;
26 import com.google.cloud.compute.v1.GetInterconnectRequest;
27 import com.google.cloud.compute.v1.InsertInterconnectRequest;
28 import com.google.cloud.compute.v1.Interconnect;
29 import com.google.cloud.compute.v1.InterconnectList;
30 import com.google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse;
31 import com.google.cloud.compute.v1.ListInterconnectsRequest;
32 import com.google.cloud.compute.v1.Operation;
33 import com.google.cloud.compute.v1.PatchInterconnectRequest;
34 import com.google.cloud.compute.v1.SetLabelsInterconnectRequest;
35 import javax.annotation.Generated;
36 
37 // AUTO-GENERATED DOCUMENTATION AND CLASS.
38 /**
39  * Base stub class for the Interconnects service API.
40  *
41  * <p>This class is for advanced usage and reflects the underlying API directly.
42  */
43 @Generated("by gapic-generator-java")
44 public abstract class InterconnectsStub implements BackgroundResource {
45 
46   public OperationCallable<DeleteInterconnectRequest, Operation, Operation>
deleteOperationCallable()47       deleteOperationCallable() {
48     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
49   }
50 
deleteCallable()51   public UnaryCallable<DeleteInterconnectRequest, Operation> deleteCallable() {
52     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
53   }
54 
getCallable()55   public UnaryCallable<GetInterconnectRequest, Interconnect> getCallable() {
56     throw new UnsupportedOperationException("Not implemented: getCallable()");
57   }
58 
59   public UnaryCallable<GetDiagnosticsInterconnectRequest, InterconnectsGetDiagnosticsResponse>
getDiagnosticsCallable()60       getDiagnosticsCallable() {
61     throw new UnsupportedOperationException("Not implemented: getDiagnosticsCallable()");
62   }
63 
64   public OperationCallable<InsertInterconnectRequest, Operation, Operation>
insertOperationCallable()65       insertOperationCallable() {
66     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
67   }
68 
insertCallable()69   public UnaryCallable<InsertInterconnectRequest, Operation> insertCallable() {
70     throw new UnsupportedOperationException("Not implemented: insertCallable()");
71   }
72 
listPagedCallable()73   public UnaryCallable<ListInterconnectsRequest, ListPagedResponse> listPagedCallable() {
74     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
75   }
76 
listCallable()77   public UnaryCallable<ListInterconnectsRequest, InterconnectList> listCallable() {
78     throw new UnsupportedOperationException("Not implemented: listCallable()");
79   }
80 
81   public OperationCallable<PatchInterconnectRequest, Operation, Operation>
patchOperationCallable()82       patchOperationCallable() {
83     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
84   }
85 
patchCallable()86   public UnaryCallable<PatchInterconnectRequest, Operation> patchCallable() {
87     throw new UnsupportedOperationException("Not implemented: patchCallable()");
88   }
89 
90   public OperationCallable<SetLabelsInterconnectRequest, Operation, Operation>
setLabelsOperationCallable()91       setLabelsOperationCallable() {
92     throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()");
93   }
94 
setLabelsCallable()95   public UnaryCallable<SetLabelsInterconnectRequest, Operation> setLabelsCallable() {
96     throw new UnsupportedOperationException("Not implemented: setLabelsCallable()");
97   }
98 
99   @Override
close()100   public abstract void close();
101 }
102