Package com.google.cloud.batch.v1alpha
Class BatchServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
com.google.cloud.batch.v1alpha.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.Returns the builder for the settings used for calls to createResourceAllowance.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.OperationCallSettings.Builder<DeleteResourceAllowanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteResourceAllowance.Returns the builder for the settings used for calls to deleteResourceAllowance.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 getResourceAllowance.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<ListResourceAllowancesRequest,ListResourceAllowancesResponse, BatchServiceClient.ListResourceAllowancesPagedResponse> Returns the builder for the settings used for calls to listResourceAllowances.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse, BatchServiceClient.ListTasksPagedResponse> Returns the builder for the settings used for calls to listTasks.Returns the builder for the settings used for calls to updateJob.Returns the builder for the settings used for calls to updateResourceAllowance.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. -
updateJobSettings
Returns the builder for the settings used for calls to updateJob. -
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. -
createResourceAllowanceSettings
public UnaryCallSettings.Builder<CreateResourceAllowanceRequest,ResourceAllowance> createResourceAllowanceSettings()Returns the builder for the settings used for calls to createResourceAllowance. -
getResourceAllowanceSettings
public UnaryCallSettings.Builder<GetResourceAllowanceRequest,ResourceAllowance> getResourceAllowanceSettings()Returns the builder for the settings used for calls to getResourceAllowance. -
deleteResourceAllowanceSettings
public UnaryCallSettings.Builder<DeleteResourceAllowanceRequest,Operation> deleteResourceAllowanceSettings()Returns the builder for the settings used for calls to deleteResourceAllowance. -
deleteResourceAllowanceOperationSettings
public OperationCallSettings.Builder<DeleteResourceAllowanceRequest,com.google.protobuf.Empty, deleteResourceAllowanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteResourceAllowance. -
listResourceAllowancesSettings
public PagedCallSettings.Builder<ListResourceAllowancesRequest,ListResourceAllowancesResponse, listResourceAllowancesSettings()BatchServiceClient.ListResourceAllowancesPagedResponse> Returns the builder for the settings used for calls to listResourceAllowances. -
updateResourceAllowanceSettings
public UnaryCallSettings.Builder<UpdateResourceAllowanceRequest,ResourceAllowance> updateResourceAllowanceSettings()Returns the builder for the settings used for calls to updateResourceAllowance. -
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
-