public static class CloudTasksSettings.Builder extends ClientSettings.Builder<CloudTasksSettings,CloudTasksSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudTasksSettings settings) |
protected |
Builder(CloudTasksStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
CloudTasksSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudTasksSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.CreateQueueRequest,com.google.cloud.tasks.v2beta3.Queue> |
createQueueSettings()
Returns the builder for the settings used for calls to createQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.CreateTaskRequest,com.google.cloud.tasks.v2beta3.Task> |
createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.DeleteQueueRequest,Empty> |
deleteQueueSettings()
Returns the builder for the settings used for calls to deleteQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.DeleteTaskRequest,Empty> |
deleteTaskSettings()
Returns the builder for the settings used for calls to deleteTask.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.GetQueueRequest,com.google.cloud.tasks.v2beta3.Queue> |
getQueueSettings()
Returns the builder for the settings used for calls to getQueue.
|
CloudTasksStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.GetTaskRequest,com.google.cloud.tasks.v2beta3.Task> |
getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
PagedCallSettings.Builder<com.google.cloud.tasks.v2beta3.ListQueuesRequest,com.google.cloud.tasks.v2beta3.ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesSettings()
Returns the builder for the settings used for calls to listQueues.
|
PagedCallSettings.Builder<com.google.cloud.tasks.v2beta3.ListTasksRequest,com.google.cloud.tasks.v2beta3.ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.PauseQueueRequest,com.google.cloud.tasks.v2beta3.Queue> |
pauseQueueSettings()
Returns the builder for the settings used for calls to pauseQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.PurgeQueueRequest,com.google.cloud.tasks.v2beta3.Queue> |
purgeQueueSettings()
Returns the builder for the settings used for calls to purgeQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.ResumeQueueRequest,com.google.cloud.tasks.v2beta3.Queue> |
resumeQueueSettings()
Returns the builder for the settings used for calls to resumeQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.RunTaskRequest,com.google.cloud.tasks.v2beta3.Task> |
runTaskSettings()
Returns the builder for the settings used for calls to runTask.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.UpdateQueueRequest,com.google.cloud.tasks.v2beta3.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(ClientContext clientContext)
protected Builder(CloudTasksSettings settings)
protected Builder(CloudTasksStubSettings.Builder stubSettings)
public CloudTasksStubSettings.Builder getStubSettingsBuilder()
public CloudTasksSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.cloud.tasks.v2beta3.ListQueuesRequest,com.google.cloud.tasks.v2beta3.ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> listQueuesSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.GetQueueRequest,com.google.cloud.tasks.v2beta3.Queue> getQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.CreateQueueRequest,com.google.cloud.tasks.v2beta3.Queue> createQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.UpdateQueueRequest,com.google.cloud.tasks.v2beta3.Queue> updateQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.DeleteQueueRequest,Empty> deleteQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.PurgeQueueRequest,com.google.cloud.tasks.v2beta3.Queue> purgeQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.PauseQueueRequest,com.google.cloud.tasks.v2beta3.Queue> pauseQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.ResumeQueueRequest,com.google.cloud.tasks.v2beta3.Queue> resumeQueueSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public PagedCallSettings.Builder<com.google.cloud.tasks.v2beta3.ListTasksRequest,com.google.cloud.tasks.v2beta3.ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> listTasksSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.GetTaskRequest,com.google.cloud.tasks.v2beta3.Task> getTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.CreateTaskRequest,com.google.cloud.tasks.v2beta3.Task> createTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.DeleteTaskRequest,Empty> deleteTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2beta3.RunTaskRequest,com.google.cloud.tasks.v2beta3.Task> runTaskSettings()
public CloudTasksSettings build() throws IOException
build
in class ClientSettings.Builder<CloudTasksSettings,CloudTasksSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.