Class AdGroupAdServiceStubSettings.Builder

java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<AdGroupAdServiceStubSettings,AdGroupAdServiceStubSettings.Builder>
com.google.ads.googleads.v18.services.stub.AdGroupAdServiceStubSettings.Builder
Enclosing class:
AdGroupAdServiceStubSettings

public static class AdGroupAdServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AdGroupAdServiceStubSettings,AdGroupAdServiceStubSettings.Builder>
Builder for AdGroupAdServiceStubSettings.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
     
    protected
    Builder(com.google.api.gax.rpc.ClientContext clientContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     
    com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAdGroupAdsRequest,MutateAdGroupAdsResponse>
    Returns the builder for the settings used for calls to mutateAdGroupAds.
    com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveAutomaticallyCreatedAssetsRequest,com.google.protobuf.Empty>
    Returns the builder for the settings used for calls to removeAutomaticallyCreatedAssets.
    com.google.common.collect.ImmutableList<com.google.api.gax.rpc.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Builder

      protected Builder()
    • Builder

      protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
    • Builder

      protected Builder(AdGroupAdServiceStubSettings settings)
  • Method Details

    • applyToAllUnaryMethods

      public AdGroupAdServiceStubSettings.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.

    • unaryMethodSettingsBuilders

      public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
    • mutateAdGroupAdsSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAdGroupAdsRequest,MutateAdGroupAdsResponse> mutateAdGroupAdsSettings()
      Returns the builder for the settings used for calls to mutateAdGroupAds.
    • removeAutomaticallyCreatedAssetsSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveAutomaticallyCreatedAssetsRequest,com.google.protobuf.Empty> removeAutomaticallyCreatedAssetsSettings()
      Returns the builder for the settings used for calls to removeAutomaticallyCreatedAssets.
    • build

      Specified by:
      build in class com.google.api.gax.rpc.StubSettings.Builder<AdGroupAdServiceStubSettings,AdGroupAdServiceStubSettings.Builder>
      Throws:
      IOException