Class GrpcScheduleServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.ScheduleServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcScheduleServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcScheduleServiceStub
extends ScheduleServiceStub
gRPC stub implementation for the ScheduleService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcScheduleServiceStub(ScheduleServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcScheduleServiceStub, using the given settings.protectedGrpcScheduleServiceStub(ScheduleServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcScheduleServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcScheduleServiceStubcreate(ClientContext clientContext) static final GrpcScheduleServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcScheduleServiceStubcreate(ScheduleServiceStubSettings settings) OperationCallable<DeleteScheduleRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanUnaryCallable<PauseScheduleRequest,com.google.protobuf.Empty> UnaryCallable<ResumeScheduleRequest,com.google.protobuf.Empty> voidshutdown()void
-
Constructor Details
-
GrpcScheduleServiceStub
protected GrpcScheduleServiceStub(ScheduleServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcScheduleServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcScheduleServiceStub
protected GrpcScheduleServiceStub(ScheduleServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcScheduleServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcScheduleServiceStub create(ScheduleServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcScheduleServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classScheduleServiceStub
-
createScheduleCallable
- Overrides:
createScheduleCallablein classScheduleServiceStub
-
deleteScheduleCallable
- Overrides:
deleteScheduleCallablein classScheduleServiceStub
-
deleteScheduleOperationCallable
public OperationCallable<DeleteScheduleRequest,com.google.protobuf.Empty, deleteScheduleOperationCallable()DeleteOperationMetadata> - Overrides:
deleteScheduleOperationCallablein classScheduleServiceStub
-
getScheduleCallable
- Overrides:
getScheduleCallablein classScheduleServiceStub
-
listSchedulesCallable
- Overrides:
listSchedulesCallablein classScheduleServiceStub
-
listSchedulesPagedCallable
public UnaryCallable<ListSchedulesRequest,ScheduleServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()- Overrides:
listSchedulesPagedCallablein classScheduleServiceStub
-
pauseScheduleCallable
- Overrides:
pauseScheduleCallablein classScheduleServiceStub
-
resumeScheduleCallable
- Overrides:
resumeScheduleCallablein classScheduleServiceStub
-
updateScheduleCallable
- Overrides:
updateScheduleCallablein classScheduleServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classScheduleServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ScheduleServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classScheduleServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classScheduleServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classScheduleServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classScheduleServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classScheduleServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classScheduleServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-