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.SnapshotsClient.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.DeleteSnapshotRequest; 25 import com.google.cloud.compute.v1.GetIamPolicySnapshotRequest; 26 import com.google.cloud.compute.v1.GetSnapshotRequest; 27 import com.google.cloud.compute.v1.InsertSnapshotRequest; 28 import com.google.cloud.compute.v1.ListSnapshotsRequest; 29 import com.google.cloud.compute.v1.Operation; 30 import com.google.cloud.compute.v1.Policy; 31 import com.google.cloud.compute.v1.SetIamPolicySnapshotRequest; 32 import com.google.cloud.compute.v1.SetLabelsSnapshotRequest; 33 import com.google.cloud.compute.v1.Snapshot; 34 import com.google.cloud.compute.v1.SnapshotList; 35 import com.google.cloud.compute.v1.TestIamPermissionsSnapshotRequest; 36 import com.google.cloud.compute.v1.TestPermissionsResponse; 37 import javax.annotation.Generated; 38 39 // AUTO-GENERATED DOCUMENTATION AND CLASS. 40 /** 41 * Base stub class for the Snapshots service API. 42 * 43 * <p>This class is for advanced usage and reflects the underlying API directly. 44 */ 45 @Generated("by gapic-generator-java") 46 public abstract class SnapshotsStub implements BackgroundResource { 47 deleteOperationCallable()48 public OperationCallable<DeleteSnapshotRequest, Operation, Operation> deleteOperationCallable() { 49 throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); 50 } 51 deleteCallable()52 public UnaryCallable<DeleteSnapshotRequest, Operation> deleteCallable() { 53 throw new UnsupportedOperationException("Not implemented: deleteCallable()"); 54 } 55 getCallable()56 public UnaryCallable<GetSnapshotRequest, Snapshot> getCallable() { 57 throw new UnsupportedOperationException("Not implemented: getCallable()"); 58 } 59 getIamPolicyCallable()60 public UnaryCallable<GetIamPolicySnapshotRequest, Policy> getIamPolicyCallable() { 61 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 62 } 63 insertOperationCallable()64 public OperationCallable<InsertSnapshotRequest, Operation, Operation> insertOperationCallable() { 65 throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); 66 } 67 insertCallable()68 public UnaryCallable<InsertSnapshotRequest, Operation> insertCallable() { 69 throw new UnsupportedOperationException("Not implemented: insertCallable()"); 70 } 71 listPagedCallable()72 public UnaryCallable<ListSnapshotsRequest, ListPagedResponse> listPagedCallable() { 73 throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); 74 } 75 listCallable()76 public UnaryCallable<ListSnapshotsRequest, SnapshotList> listCallable() { 77 throw new UnsupportedOperationException("Not implemented: listCallable()"); 78 } 79 setIamPolicyCallable()80 public UnaryCallable<SetIamPolicySnapshotRequest, Policy> setIamPolicyCallable() { 81 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 82 } 83 84 public OperationCallable<SetLabelsSnapshotRequest, Operation, Operation> setLabelsOperationCallable()85 setLabelsOperationCallable() { 86 throw new UnsupportedOperationException("Not implemented: setLabelsOperationCallable()"); 87 } 88 setLabelsCallable()89 public UnaryCallable<SetLabelsSnapshotRequest, Operation> setLabelsCallable() { 90 throw new UnsupportedOperationException("Not implemented: setLabelsCallable()"); 91 } 92 93 public UnaryCallable<TestIamPermissionsSnapshotRequest, TestPermissionsResponse> testIamPermissionsCallable()94 testIamPermissionsCallable() { 95 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 96 } 97 98 @Override close()99 public abstract void close(); 100 } 101