Class BatchJobServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<BatchJobServiceStubSettings,BatchJobServiceStubSettings.Builder>
-
- com.google.ads.googleads.v10.services.stub.BatchJobServiceStubSettings.Builder
-
- Enclosing class:
- BatchJobServiceStubSettings
public static class BatchJobServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<BatchJobServiceStubSettings,BatchJobServiceStubSettings.Builder>
Builder for BatchJobServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(BatchJobServiceStubSettings settings)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.BatchJobServiceStubSettings.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.BatchJobServiceStubSettingsbuild()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.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, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, 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(BatchJobServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public BatchJobServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@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<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 BatchJobServiceStubSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<BatchJobServiceStubSettings,BatchJobServiceStubSettings.Builder>- Throws:
java.io.IOException
-
-