Java Code Examples for com.google.api.gax.rpc.UnaryCallSettings#newUnaryCallSettingsBuilder()
The following examples show how to use
com.google.api.gax.rpc.UnaryCallSettings#newUnaryCallSettingsBuilder() .
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: CustomerServiceStubSettings.java From google-ads-java with Apache License 2.0 | 6 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getCustomerSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateCustomerSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listAccessibleCustomersSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createCustomerClientSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getCustomerSettings, mutateCustomerSettings, listAccessibleCustomersSettings, createCustomerClientSettings); initDefaults(this); }
Example 2
Source File: GoogleAdsFieldServiceStubSettings.java From google-ads-java with Apache License 2.0 | 5 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getGoogleAdsFieldSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); searchGoogleAdsFieldsSettings = PagedCallSettings.newBuilder(SEARCH_GOOGLE_ADS_FIELDS_PAGE_STR_FACT); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getGoogleAdsFieldSettings, searchGoogleAdsFieldsSettings); initDefaults(this); }
Example 3
Source File: CampaignExtensionSettingServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getCampaignExtensionSettingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateCampaignExtensionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getCampaignExtensionSettingSettings, mutateCampaignExtensionSettingsSettings); initDefaults(this); }
Example 4
Source File: DistanceViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getDistanceViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getDistanceViewSettings); initDefaults(this); }
Example 5
Source File: DisplayKeywordViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getDisplayKeywordViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getDisplayKeywordViewSettings); initDefaults(this); }
Example 6
Source File: AdGroupFeedServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getAdGroupFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateAdGroupFeedsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getAdGroupFeedSettings, mutateAdGroupFeedsSettings); initDefaults(this); }
Example 7
Source File: HotelPerformanceViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getHotelPerformanceViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getHotelPerformanceViewSettings); initDefaults(this); }
Example 8
Source File: GoogleAdsServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); searchSettings = PagedCallSettings.newBuilder(SEARCH_PAGE_STR_FACT); searchStreamSettings = ServerStreamingCallSettings.newBuilder(); mutateSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(searchSettings, mutateSettings); initDefaults(this); }
Example 9
Source File: BiddingStrategyServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getBiddingStrategySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateBiddingStrategiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getBiddingStrategySettings, mutateBiddingStrategiesSettings); initDefaults(this); }
Example 10
Source File: AdGroupExtensionSettingServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getAdGroupExtensionSettingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateAdGroupExtensionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getAdGroupExtensionSettingSettings, mutateAdGroupExtensionSettingsSettings); initDefaults(this); }
Example 11
Source File: KeywordPlanKeywordServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getKeywordPlanKeywordSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateKeywordPlanKeywordsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getKeywordPlanKeywordSettings, mutateKeywordPlanKeywordsSettings); initDefaults(this); }
Example 12
Source File: VideoServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getVideoSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getVideoSettings); initDefaults(this); }
Example 13
Source File: CampaignServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getCampaignSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateCampaignsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getCampaignSettings, mutateCampaignsSettings); initDefaults(this); }
Example 14
Source File: ExpandedLandingPageViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getExpandedLandingPageViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getExpandedLandingPageViewSettings); initDefaults(this); }
Example 15
Source File: TopicViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getTopicViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getTopicViewSettings); initDefaults(this); }
Example 16
Source File: UserListServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getUserListSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateUserListsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getUserListSettings, mutateUserListsSettings); initDefaults(this); }
Example 17
Source File: AccountBudgetServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getAccountBudgetSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getAccountBudgetSettings); initDefaults(this); }
Example 18
Source File: CampaignCriterionServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getCampaignCriterionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); mutateCampaignCriteriaSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of( getCampaignCriterionSettings, mutateCampaignCriteriaSettings); initDefaults(this); }
Example 19
Source File: AdScheduleViewServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getAdScheduleViewSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getAdScheduleViewSettings); initDefaults(this); }
Example 20
Source File: VideoServiceStubSettings.java From google-ads-java with Apache License 2.0 | 3 votes |
protected Builder(ClientContext clientContext) { super(clientContext); getVideoSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.<UnaryCallSettings.Builder<?, ?>>of(getVideoSettings); initDefaults(this); }