public static class BatchServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(BatchServiceSettings settings) |
protected |
Builder(BatchServiceStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and Description |
|---|---|
BatchServiceSettings.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.
|
BatchServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job> |
createJobSettings()
Returns the builder for the settings used for calls to createJob.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteJobOperationSettings()
Returns the builder for the settings used for calls to deleteJob.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.longrunning.Operation> |
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> |
getJobSettings()
Returns the builder for the settings used for calls to getJob.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
BatchServiceStubSettings.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.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,BatchServiceClient.ListJobsPagedResponse> |
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BatchServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,BatchServiceClient.ListTasksPagedResponse> |
listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(BatchServiceSettings settings)
protected Builder(BatchServiceStubSettings.Builder stubSettings)
public BatchServiceStubSettings.Builder getStubSettingsBuilder()
public BatchServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.longrunning.Operation> deleteJobSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty,OperationMetadata> deleteJobOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,BatchServiceClient.ListJobsPagedResponse> listJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,Task> getTaskSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,BatchServiceClient.ListTasksPagedResponse> listTasksSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BatchServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public BatchServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.