Class BatchJobServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<BatchJobServiceSettings,BatchJobServiceSettings.Builder>
-
- com.google.ads.googleads.v10.services.BatchJobServiceSettings.Builder
-
- Enclosing class:
- BatchJobServiceSettings
public static class BatchJobServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BatchJobServiceSettings,BatchJobServiceSettings.Builder>
Builder for BatchJobServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(BatchJobServiceSettings settings)protectedBuilder(BatchJobServiceStubSettings.Builder stubSettings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddBatchJobOperationsRequest,AddBatchJobOperationsResponse>addBatchJobOperationsSettings()Returns the builder for the settings used for calls to addBatchJobOperations.BatchJobServiceSettings.BuilderapplyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.Void> settingsUpdater)Applies the given settings updater function to all of the unary API methods in this service.BatchJobServiceSettingsbuild()BatchJobServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.PagedCallSettings.Builder<ListBatchJobResultsRequest,ListBatchJobResultsResponse,BatchJobServiceClient.ListBatchJobResultsPagedResponse>listBatchJobResultsSettings()Returns the builder for the settings used for calls to listBatchJobResults.com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateBatchJobRequest,MutateBatchJobResponse>mutateBatchJobSettings()Returns the builder for the settings used for calls to mutateBatchJob.com.google.api.gax.rpc.OperationCallSettings.Builder<RunBatchJobRequest,com.google.protobuf.Empty,BatchJob.BatchJobMetadata>runBatchJobOperationSettings()Returns the builder for the settings used for calls to runBatchJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunBatchJobRequest,com.google.longrunning.Operation>runBatchJobSettings()Returns the builder for the settings used for calls to runBatchJob.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws java.io.IOException- Throws:
java.io.IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BatchJobServiceSettings settings)
-
Builder
protected Builder(BatchJobServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public BatchJobServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BatchJobServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.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.
-
mutateBatchJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateBatchJobRequest,MutateBatchJobResponse> mutateBatchJobSettings()
Returns the builder for the settings used for calls to mutateBatchJob.
-
listBatchJobResultsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBatchJobResultsRequest,ListBatchJobResultsResponse,BatchJobServiceClient.ListBatchJobResultsPagedResponse> listBatchJobResultsSettings()
Returns the builder for the settings used for calls to listBatchJobResults.
-
runBatchJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunBatchJobRequest,com.google.longrunning.Operation> runBatchJobSettings()
Returns the builder for the settings used for calls to runBatchJob.
-
runBatchJobOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RunBatchJobRequest,com.google.protobuf.Empty,BatchJob.BatchJobMetadata> runBatchJobOperationSettings()
Returns the builder for the settings used for calls to runBatchJob.
-
addBatchJobOperationsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddBatchJobOperationsRequest,AddBatchJobOperationsResponse> addBatchJobOperationsSettings()
Returns the builder for the settings used for calls to addBatchJobOperations.
-
build
public BatchJobServiceSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<BatchJobServiceSettings,BatchJobServiceSettings.Builder>- Throws:
java.io.IOException
-
-