Class BatchServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
-
- com.google.cloud.batch.v1alpha.stub.BatchServiceStubSettings.Builder
-
- Enclosing class:
- BatchServiceStubSettings
public static class BatchServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
Builder for BatchServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BatchServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchServiceStubSettings.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.BatchServiceStubSettings
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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BatchServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public BatchServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 BatchServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
- Throws:
IOException
-
-