- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.12
- 2.2.0
- 2.1.11
public class GrpcCloudTasksStub extends CloudTasksStub
gRPC stub implementation for the CloudTasks service API.
This class is for advanced usage and reflects the underlying API directly.
Inherited Members
Static Methods
create(ClientContext clientContext)
public static final GrpcCloudTasksStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcCloudTasksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCloudTasksStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcCloudTasksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(CloudTasksStubSettings settings)
public static final GrpcCloudTasksStub create(CloudTasksStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | CloudTasksStubSettings |
Returns | |
---|---|
Type | Description |
GrpcCloudTasksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext)
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcCloudTasksStub, 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.
Parameters | |
---|---|
Name | Description |
settings | CloudTasksStubSettings |
clientContext | ClientContext |
GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudTasksStub, 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.
Parameters | |
---|---|
Name | Description |
settings | CloudTasksStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
acknowledgeTaskCallable()
public UnaryCallable<AcknowledgeTaskRequest,Empty> acknowledgeTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AcknowledgeTaskRequest,Empty> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
bufferTaskCallable()
public UnaryCallable<BufferTaskRequest,BufferTaskResponse> bufferTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BufferTaskRequest,BufferTaskResponse> |
cancelLeaseCallable()
public UnaryCallable<CancelLeaseRequest,Task> cancelLeaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CancelLeaseRequest,Task> |
close()
public final void close()
createQueueCallable()
public UnaryCallable<CreateQueueRequest,Queue> createQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateQueueRequest,Queue> |
createTaskCallable()
public UnaryCallable<CreateTaskRequest,Task> createTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTaskRequest,Task> |
deleteQueueCallable()
public UnaryCallable<DeleteQueueRequest,Empty> deleteQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteQueueRequest,Empty> |
deleteTaskCallable()
public UnaryCallable<DeleteTaskRequest,Empty> deleteTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTaskRequest,Empty> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getQueueCallable()
public UnaryCallable<GetQueueRequest,Queue> getQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetQueueRequest,Queue> |
getTaskCallable()
public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTaskRequest,Task> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
leaseTasksCallable()
public UnaryCallable<LeaseTasksRequest,LeaseTasksResponse> leaseTasksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<LeaseTasksRequest,LeaseTasksResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,CloudTasksClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listQueuesCallable()
public UnaryCallable<ListQueuesRequest,ListQueuesResponse> listQueuesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListQueuesRequest,ListQueuesResponse> |
listQueuesPagedCallable()
public UnaryCallable<ListQueuesRequest,CloudTasksClient.ListQueuesPagedResponse> listQueuesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListQueuesRequest,ListQueuesPagedResponse> |
listTasksCallable()
public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTasksRequest,ListTasksResponse> |
listTasksPagedCallable()
public UnaryCallable<ListTasksRequest,CloudTasksClient.ListTasksPagedResponse> listTasksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTasksRequest,ListTasksPagedResponse> |
pauseQueueCallable()
public UnaryCallable<PauseQueueRequest,Queue> pauseQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PauseQueueRequest,Queue> |
purgeQueueCallable()
public UnaryCallable<PurgeQueueRequest,Queue> purgeQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PurgeQueueRequest,Queue> |
renewLeaseCallable()
public UnaryCallable<RenewLeaseRequest,Task> renewLeaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RenewLeaseRequest,Task> |
resumeQueueCallable()
public UnaryCallable<ResumeQueueRequest,Queue> resumeQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResumeQueueRequest,Queue> |
runTaskCallable()
public UnaryCallable<RunTaskRequest,Task> runTaskCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RunTaskRequest,Task> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateQueueCallable()
public UnaryCallable<UpdateQueueRequest,Queue> updateQueueCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateQueueRequest,Queue> |
uploadQueueYamlCallable()
public UnaryCallable<UploadQueueYamlRequest,Empty> uploadQueueYamlCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UploadQueueYamlRequest,Empty> |