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(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.
|
CloudTasksStubSettings |
build() |
UnaryCallSettings.Builder<CreateQueueRequest,Queue> |
createQueueSettings()
Returns the builder for the settings used for calls to createQueue.
|
UnaryCallSettings.Builder<CreateTaskRequest,Task> |
createTaskSettings()
Returns the builder for the settings used for calls to createTask.
|
UnaryCallSettings.Builder<DeleteQueueRequest,Empty> |
deleteQueueSettings()
Returns the builder for the settings used for calls to deleteQueue.
|
UnaryCallSettings.Builder<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<GetQueueRequest,Queue> |
getQueueSettings()
Returns the builder for the settings used for calls to getQueue.
|
UnaryCallSettings.Builder<GetTaskRequest,Task> |
getTaskSettings()
Returns the builder for the settings used for calls to getTask.
|
PagedCallSettings.Builder<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesSettings()
Returns the builder for the settings used for calls to listQueues.
|
PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
|
UnaryCallSettings.Builder<PauseQueueRequest,Queue> |
pauseQueueSettings()
Returns the builder for the settings used for calls to pauseQueue.
|
UnaryCallSettings.Builder<PurgeQueueRequest,Queue> |
purgeQueueSettings()
Returns the builder for the settings used for calls to purgeQueue.
|
UnaryCallSettings.Builder<ResumeQueueRequest,Queue> |
resumeQueueSettings()
Returns the builder for the settings used for calls to resumeQueue.
|
UnaryCallSettings.Builder<RunTaskRequest,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<UpdateQueueRequest,Queue> |
updateQueueSettings()
Returns the builder for the settings used for calls to updateQueue.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(CloudTasksStubSettings settings)
public CloudTasksStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> listQueuesSettings()
public UnaryCallSettings.Builder<GetQueueRequest,Queue> getQueueSettings()
public UnaryCallSettings.Builder<CreateQueueRequest,Queue> createQueueSettings()
public UnaryCallSettings.Builder<UpdateQueueRequest,Queue> updateQueueSettings()
public UnaryCallSettings.Builder<DeleteQueueRequest,Empty> deleteQueueSettings()
public UnaryCallSettings.Builder<PurgeQueueRequest,Queue> purgeQueueSettings()
public UnaryCallSettings.Builder<PauseQueueRequest,Queue> pauseQueueSettings()
public UnaryCallSettings.Builder<ResumeQueueRequest,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<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> listTasksSettings()
public UnaryCallSettings.Builder<GetTaskRequest,Task> getTaskSettings()
public UnaryCallSettings.Builder<CreateTaskRequest,Task> createTaskSettings()
public UnaryCallSettings.Builder<DeleteTaskRequest,Empty> deleteTaskSettings()
public UnaryCallSettings.Builder<RunTaskRequest,Task> runTaskSettings()
public CloudTasksStubSettings build() throws IOException
build
in class StubSettings.Builder<CloudTasksStubSettings,CloudTasksStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.