@Generated(value="by gapic-generator") @BetaApi public class CloudTasksStubSettings extends com.google.api.gax.rpc.StubSettings<CloudTasksStubSettings>
CloudTasksStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getQueue to 30 seconds:
CloudTasksStubSettings.Builder cloudTasksSettingsBuilder =
CloudTasksStubSettings.newBuilder();
cloudTasksSettingsBuilder.getQueueSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
CloudTasksStubSettings cloudTasksSettings = cloudTasksSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
CloudTasksStubSettings.Builder
Builder for CloudTasksStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
CloudTasksStubSettings(CloudTasksStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<AcknowledgeTaskRequest,Empty> |
acknowledgeTaskSettings()
Returns the object with the settings used for calls to acknowledgeTask.
|
com.google.api.gax.rpc.UnaryCallSettings<CancelLeaseRequest,Task> |
cancelLeaseSettings()
Returns the object with the settings used for calls to cancelLease.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateQueueRequest,Queue> |
createQueueSettings()
Returns the object with the settings used for calls to createQueue.
|
CloudTasksStub |
createStub() |
com.google.api.gax.rpc.UnaryCallSettings<CreateTaskRequest,Task> |
createTaskSettings()
Returns the object with the settings used for calls to createTask.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteQueueRequest,Empty> |
deleteQueueSettings()
Returns the object with the settings used for calls to deleteQueue.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteTaskRequest,Empty> |
deleteTaskSettings()
Returns the object with the settings used for calls to deleteTask.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<GetQueueRequest,Queue> |
getQueueSettings()
Returns the object with the settings used for calls to getQueue.
|
com.google.api.gax.rpc.UnaryCallSettings<GetTaskRequest,Task> |
getTaskSettings()
Returns the object with the settings used for calls to getTask.
|
com.google.api.gax.rpc.UnaryCallSettings<LeaseTasksRequest,LeaseTasksResponse> |
leaseTasksSettings()
Returns the object with the settings used for calls to leaseTasks.
|
com.google.api.gax.rpc.PagedCallSettings<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> |
listQueuesSettings()
Returns the object with the settings used for calls to listQueues.
|
com.google.api.gax.rpc.PagedCallSettings<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the object with the settings used for calls to listTasks.
|
static CloudTasksStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static CloudTasksStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<PauseQueueRequest,Queue> |
pauseQueueSettings()
Returns the object with the settings used for calls to pauseQueue.
|
com.google.api.gax.rpc.UnaryCallSettings<PurgeQueueRequest,Queue> |
purgeQueueSettings()
Returns the object with the settings used for calls to purgeQueue.
|
com.google.api.gax.rpc.UnaryCallSettings<RenewLeaseRequest,Task> |
renewLeaseSettings()
Returns the object with the settings used for calls to renewLease.
|
com.google.api.gax.rpc.UnaryCallSettings<ResumeQueueRequest,Queue> |
resumeQueueSettings()
Returns the object with the settings used for calls to resumeQueue.
|
com.google.api.gax.rpc.UnaryCallSettings<RunTaskRequest,Task> |
runTaskSettings()
Returns the object with the settings used for calls to runTask.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
CloudTasksStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateQueueRequest,Queue> |
updateQueueSettings()
Returns the object with the settings used for calls to updateQueue.
|
protected CloudTasksStubSettings(CloudTasksStubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.PagedCallSettings<ListQueuesRequest,ListQueuesResponse,CloudTasksClient.ListQueuesPagedResponse> listQueuesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetQueueRequest,Queue> getQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateQueueRequest,Queue> createQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateQueueRequest,Queue> updateQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteQueueRequest,Empty> deleteQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PurgeQueueRequest,Queue> purgeQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PauseQueueRequest,Queue> pauseQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ResumeQueueRequest,Queue> resumeQueueSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListTasksRequest,ListTasksResponse,CloudTasksClient.ListTasksPagedResponse> listTasksSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetTaskRequest,Task> getTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateTaskRequest,Task> createTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteTaskRequest,Empty> deleteTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings<LeaseTasksRequest,LeaseTasksResponse> leaseTasksSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AcknowledgeTaskRequest,Empty> acknowledgeTaskSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RenewLeaseRequest,Task> renewLeaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelLeaseRequest,Task> cancelLeaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RunTaskRequest,Task> runTaskSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static CloudTasksStubSettings.Builder newBuilder()
public static CloudTasksStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public CloudTasksStubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<CloudTasksStubSettings>
Copyright © 2019 Google LLC. All rights reserved.