Class BatchJobServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BatchJobServiceSettings,BatchJobServiceSettings.Builder>
com.google.ads.googleads.v18.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
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(BatchJobServiceSettings settings) protectedBuilder(BatchJobServiceStubSettings.Builder stubSettings) protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.rpc.UnaryCallSettings.Builder<AddBatchJobOperationsRequest,AddBatchJobOperationsResponse> Returns the builder for the settings used for calls to addBatchJobOperations.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.build()com.google.api.gax.rpc.PagedCallSettings.Builder<ListBatchJobResultsRequest,ListBatchJobResultsResponse, BatchJobServiceClient.ListBatchJobResultsPagedResponse> Returns the builder for the settings used for calls to listBatchJobResults.com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateBatchJobRequest,MutateBatchJobResponse> 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> Returns the builder for the settings used for calls to runBatchJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunBatchJobRequest,com.google.longrunning.Operation> Returns the builder for the settings used for calls to runBatchJob.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public BatchJobServiceSettings.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.
-
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, listBatchJobResultsSettings()BatchJobServiceClient.ListBatchJobResultsPagedResponse> 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, runBatchJobOperationSettings()BatchJob.BatchJobMetadata> 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
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<BatchJobServiceSettings,BatchJobServiceSettings.Builder> - Throws:
IOException
-