Class CampaignDraftServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<CampaignDraftServiceStubSettings,CampaignDraftServiceStubSettings.Builder>
-
- com.google.ads.googleads.v10.services.stub.CampaignDraftServiceStubSettings.Builder
-
- Enclosing class:
- CampaignDraftServiceStubSettings
public static class CampaignDraftServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CampaignDraftServiceStubSettings,CampaignDraftServiceStubSettings.Builder>
Builder for CampaignDraftServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(CampaignDraftServiceStubSettings settings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CampaignDraftServiceStubSettings.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.CampaignDraftServiceStubSettingsbuild()com.google.api.gax.rpc.PagedCallSettings.Builder<ListCampaignDraftAsyncErrorsRequest,ListCampaignDraftAsyncErrorsResponse,CampaignDraftServiceClient.ListCampaignDraftAsyncErrorsPagedResponse>listCampaignDraftAsyncErrorsSettings()Returns the builder for the settings used for calls to listCampaignDraftAsyncErrors.com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateCampaignDraftsRequest,MutateCampaignDraftsResponse>mutateCampaignDraftsSettings()Returns the builder for the settings used for calls to mutateCampaignDrafts.com.google.api.gax.rpc.OperationCallSettings.Builder<PromoteCampaignDraftRequest,com.google.protobuf.Empty,com.google.protobuf.Empty>promoteCampaignDraftOperationSettings()Returns the builder for the settings used for calls to promoteCampaignDraft.com.google.api.gax.rpc.UnaryCallSettings.Builder<PromoteCampaignDraftRequest,com.google.longrunning.Operation>promoteCampaignDraftSettings()Returns the builder for the settings used for calls to promoteCampaignDraft.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(CampaignDraftServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CampaignDraftServiceStubSettings.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()
-
mutateCampaignDraftsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateCampaignDraftsRequest,MutateCampaignDraftsResponse> mutateCampaignDraftsSettings()
Returns the builder for the settings used for calls to mutateCampaignDrafts.
-
promoteCampaignDraftSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PromoteCampaignDraftRequest,com.google.longrunning.Operation> promoteCampaignDraftSettings()
Returns the builder for the settings used for calls to promoteCampaignDraft.
-
promoteCampaignDraftOperationSettings
@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<PromoteCampaignDraftRequest,com.google.protobuf.Empty,com.google.protobuf.Empty> promoteCampaignDraftOperationSettings()Returns the builder for the settings used for calls to promoteCampaignDraft.
-
listCampaignDraftAsyncErrorsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCampaignDraftAsyncErrorsRequest,ListCampaignDraftAsyncErrorsResponse,CampaignDraftServiceClient.ListCampaignDraftAsyncErrorsPagedResponse> listCampaignDraftAsyncErrorsSettings()
Returns the builder for the settings used for calls to listCampaignDraftAsyncErrors.
-
build
public CampaignDraftServiceStubSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<CampaignDraftServiceStubSettings,CampaignDraftServiceStubSettings.Builder>- Throws:
java.io.IOException
-
-