public static final class ScheduleServiceGrpc.ScheduleServiceFutureStub extends AbstractFutureStub<ScheduleServiceGrpc.ScheduleServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ScheduleService.
A service for creating and managing Vertex AI's Schedule resources to
periodically launch shceudled runs to make API calls.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ScheduleServiceGrpc.ScheduleServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected ScheduleServiceGrpc.ScheduleServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Schedule> createSchedule(CreateScheduleRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Schedule> |
|
public ListenableFuture<Operation> deleteSchedule(DeleteScheduleRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Schedule> getSchedule(GetScheduleRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Schedule> |
|
public ListenableFuture<ListSchedulesResponse> listSchedules(ListSchedulesRequest request)
Lists Schedules in a Location.
public ListenableFuture<Empty> pauseSchedule(PauseScheduleRequest request)
Pauses a Schedule. Will mark
Schedule.state to 'PAUSED'. If
the schedule is paused, no new runs will be created. Already created runs
will NOT be paused or canceled.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Empty> resumeSchedule(ResumeScheduleRequest request)
Resumes a paused Schedule to start scheduling new runs. Will mark
Schedule.state to 'ACTIVE'.
Only paused Schedule can be resumed.
When the Schedule is resumed, new runs will be scheduled starting from the
next execution time after the current time based on the time_specification
in the Schedule. If [Schedule.catchUp][] is set up true, all
missed runs will be scheduled for backfill first.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Schedule> updateSchedule(UpdateScheduleRequest request)
Updates an active or paused Schedule.
When the Schedule is updated, new runs will be scheduled starting from the
updated next execution time after the update time based on the
time_specification in the updated Schedule. All unstarted runs before the
update time will be skipped while already created runs will NOT be paused
or canceled.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Schedule> |
|