Java Code Examples for com.google.api.gax.rpc.UnaryCallSettings#Builder
The following examples show how to use
com.google.api.gax.rpc.UnaryCallSettings#Builder .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TopicConstantServiceSettings.java From google-ads-java with Apache License 2.0 | 5 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; }
Example 2
Source File: AdGroupSimulationServiceSettings.java From google-ads-java with Apache License 2.0 | 5 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; }
Example 3
Source File: SharedSetServiceSettings.java From google-ads-java with Apache License 2.0 | 5 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; }
Example 4
Source File: CustomerFeedServiceSettings.java From google-ads-java with Apache License 2.0 | 5 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; }
Example 5
Source File: CampaignExtensionSettingServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getCampaignExtensionSetting. */ public UnaryCallSettings.Builder<GetCampaignExtensionSettingRequest, CampaignExtensionSetting> getCampaignExtensionSettingSettings() { return getCampaignExtensionSettingSettings; }
Example 6
Source File: CarrierConstantServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getCarrierConstant. */ public UnaryCallSettings.Builder<GetCarrierConstantRequest, CarrierConstant> getCarrierConstantSettings() { return getCarrierConstantSettings; }
Example 7
Source File: FeedItemServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
public ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders() { return unaryMethodSettingsBuilders; }
Example 8
Source File: AccountBudgetProposalServiceSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getAccountBudgetProposal. */ public UnaryCallSettings.Builder<GetAccountBudgetProposalRequest, AccountBudgetProposal> getAccountBudgetProposalSettings() { return getStubSettingsBuilder().getAccountBudgetProposalSettings(); }
Example 9
Source File: AdGroupCriterionServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getAdGroupCriterion. */ public UnaryCallSettings.Builder<GetAdGroupCriterionRequest, AdGroupCriterion> getAdGroupCriterionSettings() { return getAdGroupCriterionSettings; }
Example 10
Source File: AdGroupAudienceViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
public ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders() { return unaryMethodSettingsBuilders; }
Example 11
Source File: AdGroupFeedServiceSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getAdGroupFeed. */ public UnaryCallSettings.Builder<GetAdGroupFeedRequest, AdGroupFeed> getAdGroupFeedSettings() { return getStubSettingsBuilder().getAdGroupFeedSettings(); }
Example 12
Source File: CampaignDraftServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to promoteCampaignDraft. */ public UnaryCallSettings.Builder<PromoteCampaignDraftRequest, Operation> promoteCampaignDraftSettings() { return promoteCampaignDraftSettings; }
Example 13
Source File: AdGroupBidModifierServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to mutateAdGroupBidModifiers. */ public UnaryCallSettings.Builder< MutateAdGroupBidModifiersRequest, MutateAdGroupBidModifiersResponse> mutateAdGroupBidModifiersSettings() { return mutateAdGroupBidModifiersSettings; }
Example 14
Source File: KeywordPlanAdGroupServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
public ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders() { return unaryMethodSettingsBuilders; }
Example 15
Source File: VideoServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getVideo. */ public UnaryCallSettings.Builder<GetVideoRequest, Video> getVideoSettings() { return getVideoSettings; }
Example 16
Source File: LandingPageViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; }
Example 17
Source File: SharedSetServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getSharedSet. */ public UnaryCallSettings.Builder<GetSharedSetRequest, SharedSet> getSharedSetSettings() { return getSharedSetSettings; }
Example 18
Source File: TopicViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** * Applies the given settings updater function to all of the unary API methods in this service. * * <p>Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; }
Example 19
Source File: FeedServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to mutateFeeds. */ public UnaryCallSettings.Builder<MutateFeedsRequest, MutateFeedsResponse> mutateFeedsSettings() { return mutateFeedsSettings; }
Example 20
Source File: AdGroupLabelServiceStubSettings.java From google-ads-java with Apache License 2.0 | 4 votes |
/** Returns the builder for the settings used for calls to getAdGroupLabel. */ public UnaryCallSettings.Builder<GetAdGroupLabelRequest, AdGroupLabel> getAdGroupLabelSettings() { return getAdGroupLabelSettings; }