public static class CloudTasksStubSettings.Builder extends StubSettings.Builder<CloudTasksStubSettings,CloudTasksStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudTasksStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
CloudTasksStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudTasksStubSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.CreateQueueRequest,com.google.cloud.tasks.v2.Queue> |
createQueueSettings()
Returns the builder for the settings used for calls to createQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.CreateTaskRequest,com.google.cloud.tasks.v2.Task> |
createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.DeleteQueueRequest,Empty> |
deleteQueueSettings()
Returns the builder for the settings used for calls to deleteQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.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.v2.GetQueueRequest,com.google.cloud.tasks.v2.Queue> |
getQueueSettings()
Returns the builder for the settings used for calls to getQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.GetTaskRequest,com.google.cloud.tasks.v2.Task> |
getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
PagedCallSettings.Builder<com.google.cloud.tasks.v2.ListQueuesRequest,com.google.cloud.tasks.v2.ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesSettings()
Returns the builder for the settings used for calls to listQueues.
|
PagedCallSettings.Builder<com.google.cloud.tasks.v2.ListTasksRequest,com.google.cloud.tasks.v2.ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.PauseQueueRequest,com.google.cloud.tasks.v2.Queue> |
pauseQueueSettings()
Returns the builder for the settings used for calls to pauseQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.PurgeQueueRequest,com.google.cloud.tasks.v2.Queue> |
purgeQueueSettings()
Returns the builder for the settings used for calls to purgeQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.ResumeQueueRequest,com.google.cloud.tasks.v2.Queue> |
resumeQueueSettings()
Returns the builder for the settings used for calls to resumeQueue.
|
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.RunTaskRequest,com.google.cloud.tasks.v2.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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<com.google.cloud.tasks.v2.UpdateQueueRequest,com.google.cloud.tasks.v2.Queue> |
updateQueueSettings()
Returns the builder for the settings used for calls to updateQueue.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(CloudTasksStubSettings settings)
public CloudTasksStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<com.google.cloud.tasks.v2.ListQueuesRequest,com.google.cloud.tasks.v2.ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> listQueuesSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.GetQueueRequest,com.google.cloud.tasks.v2.Queue> getQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.CreateQueueRequest,com.google.cloud.tasks.v2.Queue> createQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.UpdateQueueRequest,com.google.cloud.tasks.v2.Queue> updateQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.DeleteQueueRequest,Empty> deleteQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.PurgeQueueRequest,com.google.cloud.tasks.v2.Queue> purgeQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.PauseQueueRequest,com.google.cloud.tasks.v2.Queue> pauseQueueSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.ResumeQueueRequest,com.google.cloud.tasks.v2.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.v2.ListTasksRequest,com.google.cloud.tasks.v2.ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> listTasksSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.GetTaskRequest,com.google.cloud.tasks.v2.Task> getTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.CreateTaskRequest,com.google.cloud.tasks.v2.Task> createTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.DeleteTaskRequest,Empty> deleteTaskSettings()
public UnaryCallSettings.Builder<com.google.cloud.tasks.v2.RunTaskRequest,com.google.cloud.tasks.v2.Task> runTaskSettings()
public CloudTasksStubSettings build() throws IOException
build
in class StubSettings.Builder<CloudTasksStubSettings,CloudTasksStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.