Package com.google.cloud.batch.v1
Class BatchServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
com.google.cloud.batch.v1.BatchServiceSettings.Builder
- Enclosing class:
- BatchServiceSettings
public static class BatchServiceSettings.Builder
extends ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
Builder for BatchServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(BatchServiceSettings settings) protectedBuilder(BatchServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to cancelJob.Returns the builder for the settings used for calls to cancelJob.Returns the builder for the settings used for calls to createJob.OperationCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteJob.Returns the builder for the settings used for calls to deleteJob.Returns the builder for the settings used for calls to getJob.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getTask.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse, BatchServiceClient.ListJobsPagedResponse> Returns the builder for the settings used for calls to listJobs.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, BatchServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse, BatchServiceClient.ListTasksPagedResponse> Returns the builder for the settings used for calls to listTasks.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public BatchServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createJobSettings
Returns the builder for the settings used for calls to createJob. -
getJobSettings
Returns the builder for the settings used for calls to getJob. -
deleteJobSettings
Returns the builder for the settings used for calls to deleteJob. -
deleteJobOperationSettings
public OperationCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty, deleteJobOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteJob. -
cancelJobSettings
Returns the builder for the settings used for calls to cancelJob. -
cancelJobOperationSettings
public OperationCallSettings.Builder<CancelJobRequest,CancelJobResponse, cancelJobOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to cancelJob. -
listJobsSettings
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse, listJobsSettings()BatchServiceClient.ListJobsPagedResponse> Returns the builder for the settings used for calls to listJobs. -
getTaskSettings
Returns the builder for the settings used for calls to getTask. -
listTasksSettings
public PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse, listTasksSettings()BatchServiceClient.ListTasksPagedResponse> Returns the builder for the settings used for calls to listTasks. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()BatchServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder> - Throws:
IOException
-