public static final class ScheduleServiceGrpc.ScheduleServiceBlockingStub extends AbstractBlockingStub<ScheduleServiceGrpc.ScheduleServiceBlockingStub>
A stub to allow clients to do synchronous 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.AbstractBlockingStub >
ScheduleServiceGrpc.ScheduleServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.ScheduleServiceBlockingStub 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 Schedule createSchedule(CreateScheduleRequest request)
public Operation deleteSchedule(DeleteScheduleRequest request)
public Schedule getSchedule(GetScheduleRequest request)
public ListSchedulesResponse listSchedules(ListSchedulesRequest request)
Lists Schedules in a Location.
public 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 |
Empty | |
public 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 |
Empty | |