• 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.GlobalOperationsClient.AggregatedListPagedResponse;
20 import static com.google.cloud.compute.v1.GlobalOperationsClient.ListPagedResponse;
21 
22 import com.google.api.core.BetaApi;
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.LongRunningClient;
25 import com.google.api.gax.rpc.UnaryCallable;
26 import com.google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
27 import com.google.cloud.compute.v1.DeleteGlobalOperationRequest;
28 import com.google.cloud.compute.v1.DeleteGlobalOperationResponse;
29 import com.google.cloud.compute.v1.GetGlobalOperationRequest;
30 import com.google.cloud.compute.v1.ListGlobalOperationsRequest;
31 import com.google.cloud.compute.v1.Operation;
32 import com.google.cloud.compute.v1.OperationAggregatedList;
33 import com.google.cloud.compute.v1.OperationList;
34 import com.google.cloud.compute.v1.WaitGlobalOperationRequest;
35 import javax.annotation.Generated;
36 
37 // AUTO-GENERATED DOCUMENTATION AND CLASS.
38 /**
39  * Base stub class for the GlobalOperations 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 GlobalOperationsStub implements BackgroundResource {
45 
46   @BetaApi
longRunningClient()47   public LongRunningClient longRunningClient() {
48     throw new UnsupportedOperationException("Not implemented: longRunningClient()");
49   }
50 
51   public UnaryCallable<AggregatedListGlobalOperationsRequest, AggregatedListPagedResponse>
aggregatedListPagedCallable()52       aggregatedListPagedCallable() {
53     throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()");
54   }
55 
56   public UnaryCallable<AggregatedListGlobalOperationsRequest, OperationAggregatedList>
aggregatedListCallable()57       aggregatedListCallable() {
58     throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()");
59   }
60 
61   public UnaryCallable<DeleteGlobalOperationRequest, DeleteGlobalOperationResponse>
deleteCallable()62       deleteCallable() {
63     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
64   }
65 
getCallable()66   public UnaryCallable<GetGlobalOperationRequest, Operation> getCallable() {
67     throw new UnsupportedOperationException("Not implemented: getCallable()");
68   }
69 
listPagedCallable()70   public UnaryCallable<ListGlobalOperationsRequest, ListPagedResponse> listPagedCallable() {
71     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
72   }
73 
listCallable()74   public UnaryCallable<ListGlobalOperationsRequest, OperationList> listCallable() {
75     throw new UnsupportedOperationException("Not implemented: listCallable()");
76   }
77 
waitCallable()78   public UnaryCallable<WaitGlobalOperationRequest, Operation> waitCallable() {
79     throw new UnsupportedOperationException("Not implemented: waitCallable()");
80   }
81 
82   @Override
close()83   public abstract void close();
84 }
85