• 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.ImagesClient.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.DeleteImageRequest;
25 import com.google.cloud.compute.v1.DeprecateImageRequest;
26 import com.google.cloud.compute.v1.GetFromFamilyImageRequest;
27 import com.google.cloud.compute.v1.GetIamPolicyImageRequest;
28 import com.google.cloud.compute.v1.GetImageRequest;
29 import com.google.cloud.compute.v1.Image;
30 import com.google.cloud.compute.v1.ImageList;
31 import com.google.cloud.compute.v1.InsertImageRequest;
32 import com.google.cloud.compute.v1.ListImagesRequest;
33 import com.google.cloud.compute.v1.Operation;
34 import com.google.cloud.compute.v1.PatchImageRequest;
35 import com.google.cloud.compute.v1.Policy;
36 import com.google.cloud.compute.v1.SetIamPolicyImageRequest;
37 import com.google.cloud.compute.v1.SetLabelsImageRequest;
38 import com.google.cloud.compute.v1.TestIamPermissionsImageRequest;
39 import com.google.cloud.compute.v1.TestPermissionsResponse;
40 import javax.annotation.Generated;
41 
42 // AUTO-GENERATED DOCUMENTATION AND CLASS.
43 /**
44  * Base stub class for the Images service API.
45  *
46  * <p>This class is for advanced usage and reflects the underlying API directly.
47  */
48 @Generated("by gapic-generator-java")
49 public abstract class ImagesStub implements BackgroundResource {
50 
deleteOperationCallable()51   public OperationCallable<DeleteImageRequest, Operation, Operation> deleteOperationCallable() {
52     throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()");
53   }
54 
deleteCallable()55   public UnaryCallable<DeleteImageRequest, Operation> deleteCallable() {
56     throw new UnsupportedOperationException("Not implemented: deleteCallable()");
57   }
58 
59   public OperationCallable<DeprecateImageRequest, Operation, Operation>
deprecateOperationCallable()60       deprecateOperationCallable() {
61     throw new UnsupportedOperationException("Not implemented: deprecateOperationCallable()");
62   }
63 
deprecateCallable()64   public UnaryCallable<DeprecateImageRequest, Operation> deprecateCallable() {
65     throw new UnsupportedOperationException("Not implemented: deprecateCallable()");
66   }
67 
getCallable()68   public UnaryCallable<GetImageRequest, Image> getCallable() {
69     throw new UnsupportedOperationException("Not implemented: getCallable()");
70   }
71 
getFromFamilyCallable()72   public UnaryCallable<GetFromFamilyImageRequest, Image> getFromFamilyCallable() {
73     throw new UnsupportedOperationException("Not implemented: getFromFamilyCallable()");
74   }
75 
getIamPolicyCallable()76   public UnaryCallable<GetIamPolicyImageRequest, Policy> getIamPolicyCallable() {
77     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
78   }
79 
insertOperationCallable()80   public OperationCallable<InsertImageRequest, Operation, Operation> insertOperationCallable() {
81     throw new UnsupportedOperationException("Not implemented: insertOperationCallable()");
82   }
83 
insertCallable()84   public UnaryCallable<InsertImageRequest, Operation> insertCallable() {
85     throw new UnsupportedOperationException("Not implemented: insertCallable()");
86   }
87 
listPagedCallable()88   public UnaryCallable<ListImagesRequest, ListPagedResponse> listPagedCallable() {
89     throw new UnsupportedOperationException("Not implemented: listPagedCallable()");
90   }
91 
listCallable()92   public UnaryCallable<ListImagesRequest, ImageList> listCallable() {
93     throw new UnsupportedOperationException("Not implemented: listCallable()");
94   }
95 
patchOperationCallable()96   public OperationCallable<PatchImageRequest, Operation, Operation> patchOperationCallable() {
97     throw new UnsupportedOperationException("Not implemented: patchOperationCallable()");
98   }
99 
patchCallable()100   public UnaryCallable<PatchImageRequest, Operation> patchCallable() {
101     throw new UnsupportedOperationException("Not implemented: patchCallable()");
102   }
103 
setIamPolicyCallable()104   public UnaryCallable<SetIamPolicyImageRequest, Policy> setIamPolicyCallable() {
105     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
106   }
107 
108   public OperationCallable<SetLabelsImageRequest, Operation, Operation>
setLabelsOperationCallable()109       setLabelsOperationCallable() {
110     throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()");
111   }
112 
setLabelsCallable()113   public UnaryCallable<SetLabelsImageRequest, Operation> setLabelsCallable() {
114     throw new UnsupportedOperationException("Not implemented: setLabelsCallable()");
115   }
116 
117   public UnaryCallable<TestIamPermissionsImageRequest, TestPermissionsResponse>
testIamPermissionsCallable()118       testIamPermissionsCallable() {
119     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
120   }
121 
122   @Override
close()123   public abstract void close();
124 }
125