Package com.google.cloud.batch.v1.stub
Class BatchServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
com.google.cloud.batch.v1.stub.BatchServiceStubSettings.Builder
- Enclosing class:
- BatchServiceStubSettings
public static class BatchServiceStubSettings.Builder
extends StubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder>
Builder for BatchServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(BatchServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public BatchServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<BatchServiceStubSettings,BatchServiceStubSettings.Builder> - Throws:
IOException
-