@BetaApi @Generated(value="by gapic-generator-java") public class GrpcScheduleServiceStub extends ScheduleServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcScheduleServiceStub(ScheduleServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcScheduleServiceStub, using the given settings.
|
protected |
GrpcScheduleServiceStub(ScheduleServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcScheduleServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcScheduleServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcScheduleServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcScheduleServiceStub |
create(ScheduleServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateScheduleRequest,Schedule> |
createScheduleCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteScheduleRequest,com.google.longrunning.Operation> |
deleteScheduleCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteScheduleRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteScheduleOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetScheduleRequest,Schedule> |
getScheduleCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ScheduleServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSchedulesRequest,ListSchedulesResponse> |
listSchedulesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSchedulesRequest,ScheduleServiceClient.ListSchedulesPagedResponse> |
listSchedulesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PauseScheduleRequest,com.google.protobuf.Empty> |
pauseScheduleCallable() |
com.google.api.gax.rpc.UnaryCallable<ResumeScheduleRequest,com.google.protobuf.Empty> |
resumeScheduleCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateScheduleRequest,Schedule> |
updateScheduleCallable() |
protected GrpcScheduleServiceStub(ScheduleServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcScheduleServiceStub(ScheduleServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcScheduleServiceStub create(ScheduleServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcScheduleServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcScheduleServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateScheduleRequest,Schedule> createScheduleCallable()
createScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteScheduleRequest,com.google.longrunning.Operation> deleteScheduleCallable()
deleteScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteScheduleRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteScheduleOperationCallable()
deleteScheduleOperationCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetScheduleRequest,Schedule> getScheduleCallable()
getScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSchedulesRequest,ListSchedulesResponse> listSchedulesCallable()
listSchedulesCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSchedulesRequest,ScheduleServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()
listSchedulesPagedCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<PauseScheduleRequest,com.google.protobuf.Empty> pauseScheduleCallable()
pauseScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ResumeScheduleRequest,com.google.protobuf.Empty> resumeScheduleCallable()
resumeScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateScheduleRequest,Schedule> updateScheduleCallable()
updateScheduleCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ScheduleServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class ScheduleServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class ScheduleServiceStubpublic final void close()
close in interface AutoCloseableclose in class ScheduleServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.