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 com.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
Builder for BatchServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BatchServiceSettings settings)
protected
Builder(BatchServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
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, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BatchServiceSettings settings)
-
Builder
protected Builder(BatchServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public BatchServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public 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.Note: This method does not support applying settings to streaming methods.
-
createJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
Returns the builder for the settings used for calls to createJob.
-
getJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
-
deleteJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.longrunning.Operation> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
-
deleteJobOperationSettings
public 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.
-
listJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,BatchServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
-
getTaskSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,Task> getTaskSettings()
Returns the builder for the settings used for calls to getTask.
-
listTasksSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTasksRequest,ListTasksResponse,BatchServiceClient.ListTasksPagedResponse> listTasksSettings()
Returns the builder for the settings used for calls to listTasks.
-
listLocationsSettings
public 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.
-
getLocationSettings
public 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.
-
build
public BatchServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BatchServiceSettings,BatchServiceSettings.Builder>
- Throws:
IOException
-
-