public static class CloudTasksSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CloudTasksSettings,CloudTasksSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(CloudTasksSettings settings) |
protected |
Builder(CloudTasksStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AcknowledgeTaskRequest,Empty> |
acknowledgeTaskSettings()
Returns the builder for the settings used for calls to acknowledgeTask.
|
CloudTasksSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudTasksSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelLeaseRequest,Task> |
cancelLeaseSettings()
Returns the builder for the settings used for calls to cancelLease.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateQueueRequest,Queue> |
createQueueSettings()
Returns the builder for the settings used for calls to createQueue.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTaskRequest,Task> |
createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteQueueRequest,Empty> |
deleteQueueSettings()
Returns the builder for the settings used for calls to deleteQueue.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTaskRequest,Empty> |
deleteTaskSettings()
Returns the builder for the settings used for calls to deleteTask.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQueueRequest,Queue> |
getQueueSettings()
Returns the builder for the settings used for calls to getQueue.
|
CloudTasksStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,Task> |
getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<LeaseTasksRequest,LeaseTasksResponse> |
leaseTasksSettings()
Returns the builder for the settings used for calls to leaseTasks.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesSettings()
Returns the builder for the settings used for calls to listQueues.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseQueueRequest,Queue> |
pauseQueueSettings()
Returns the builder for the settings used for calls to pauseQueue.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeQueueRequest,Queue> |
purgeQueueSettings()
Returns the builder for the settings used for calls to purgeQueue.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RenewLeaseRequest,Task> |
renewLeaseSettings()
Returns the builder for the settings used for calls to renewLease.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeQueueRequest,Queue> |
resumeQueueSettings()
Returns the builder for the settings used for calls to resumeQueue.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RunTaskRequest,Task> |
runTaskSettings()
Returns the builder for the settings used for calls to runTask.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateQueueRequest,Queue> |
updateQueueSettings()
Returns the builder for the settings used for calls to updateQueue.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(CloudTasksSettings settings)
protected Builder(CloudTasksStubSettings.Builder stubSettings)
public CloudTasksStubSettings.Builder getStubSettingsBuilder()
public CloudTasksSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> listQueuesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQueueRequest,Queue> getQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateQueueRequest,Queue> createQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateQueueRequest,Queue> updateQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteQueueRequest,Empty> deleteQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeQueueRequest,Queue> purgeQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseQueueRequest,Queue> pauseQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeQueueRequest,Queue> resumeQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> listTasksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,Task> getTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTaskRequest,Task> createTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTaskRequest,Empty> deleteTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LeaseTasksRequest,LeaseTasksResponse> leaseTasksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AcknowledgeTaskRequest,Empty> acknowledgeTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RenewLeaseRequest,Task> renewLeaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelLeaseRequest,Task> cancelLeaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunTaskRequest,Task> runTaskSettings()
public CloudTasksSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<CloudTasksSettings,CloudTasksSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.