public static class BatchServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(BatchServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and 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() |
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, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(BatchServiceStubSettings settings)
public BatchServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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()
@BetaApi(value="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()
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 BatchServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.