• 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.scheduler.v1.stub;
18 
19 import static com.google.cloud.scheduler.v1.CloudSchedulerClient.ListJobsPagedResponse;
20 import static com.google.cloud.scheduler.v1.CloudSchedulerClient.ListLocationsPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.location.GetLocationRequest;
25 import com.google.cloud.location.ListLocationsRequest;
26 import com.google.cloud.location.ListLocationsResponse;
27 import com.google.cloud.location.Location;
28 import com.google.cloud.scheduler.v1.CreateJobRequest;
29 import com.google.cloud.scheduler.v1.DeleteJobRequest;
30 import com.google.cloud.scheduler.v1.GetJobRequest;
31 import com.google.cloud.scheduler.v1.Job;
32 import com.google.cloud.scheduler.v1.ListJobsRequest;
33 import com.google.cloud.scheduler.v1.ListJobsResponse;
34 import com.google.cloud.scheduler.v1.PauseJobRequest;
35 import com.google.cloud.scheduler.v1.ResumeJobRequest;
36 import com.google.cloud.scheduler.v1.RunJobRequest;
37 import com.google.cloud.scheduler.v1.UpdateJobRequest;
38 import com.google.protobuf.Empty;
39 import javax.annotation.Generated;
40 
41 // AUTO-GENERATED DOCUMENTATION AND CLASS.
42 /**
43  * Base stub class for the CloudScheduler service API.
44  *
45  * <p>This class is for advanced usage and reflects the underlying API directly.
46  */
47 @Generated("by gapic-generator-java")
48 public abstract class CloudSchedulerStub implements BackgroundResource {
49 
listJobsPagedCallable()50   public UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPagedCallable() {
51     throw new UnsupportedOperationException("Not implemented: listJobsPagedCallable()");
52   }
53 
listJobsCallable()54   public UnaryCallable<ListJobsRequest, ListJobsResponse> listJobsCallable() {
55     throw new UnsupportedOperationException("Not implemented: listJobsCallable()");
56   }
57 
getJobCallable()58   public UnaryCallable<GetJobRequest, Job> getJobCallable() {
59     throw new UnsupportedOperationException("Not implemented: getJobCallable()");
60   }
61 
createJobCallable()62   public UnaryCallable<CreateJobRequest, Job> createJobCallable() {
63     throw new UnsupportedOperationException("Not implemented: createJobCallable()");
64   }
65 
updateJobCallable()66   public UnaryCallable<UpdateJobRequest, Job> updateJobCallable() {
67     throw new UnsupportedOperationException("Not implemented: updateJobCallable()");
68   }
69 
deleteJobCallable()70   public UnaryCallable<DeleteJobRequest, Empty> deleteJobCallable() {
71     throw new UnsupportedOperationException("Not implemented: deleteJobCallable()");
72   }
73 
pauseJobCallable()74   public UnaryCallable<PauseJobRequest, Job> pauseJobCallable() {
75     throw new UnsupportedOperationException("Not implemented: pauseJobCallable()");
76   }
77 
resumeJobCallable()78   public UnaryCallable<ResumeJobRequest, Job> resumeJobCallable() {
79     throw new UnsupportedOperationException("Not implemented: resumeJobCallable()");
80   }
81 
runJobCallable()82   public UnaryCallable<RunJobRequest, Job> runJobCallable() {
83     throw new UnsupportedOperationException("Not implemented: runJobCallable()");
84   }
85 
86   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()87       listLocationsPagedCallable() {
88     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
89   }
90 
listLocationsCallable()91   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
92     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
93   }
94 
getLocationCallable()95   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
96     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
97   }
98 
99   @Override
close()100   public abstract void close();
101 }
102