- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public static class RecommenderStubSettings.Builder extends StubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder>
Builder for RecommenderStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(RecommenderStubSettings settings)
protected Builder(RecommenderStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
RecommenderStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public RecommenderStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter | |
---|---|
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
RecommenderStubSettings.Builder |
build()
public RecommenderStubSettings build()
Returns | |
---|---|
Type | Description |
RecommenderStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getInsightSettings()
public UnaryCallSettings.Builder<GetInsightRequest,Insight> getInsightSettings()
Returns the builder for the settings used for calls to getInsight.
Returns | |
---|---|
Type | Description |
Builder<GetInsightRequest,Insight> |
getInsightTypeConfigSettings()
public UnaryCallSettings.Builder<GetInsightTypeConfigRequest,InsightTypeConfig> getInsightTypeConfigSettings()
Returns the builder for the settings used for calls to getInsightTypeConfig.
Returns | |
---|---|
Type | Description |
Builder<GetInsightTypeConfigRequest,InsightTypeConfig> |
getRecommendationSettings()
public UnaryCallSettings.Builder<GetRecommendationRequest,Recommendation> getRecommendationSettings()
Returns the builder for the settings used for calls to getRecommendation.
Returns | |
---|---|
Type | Description |
Builder<GetRecommendationRequest,Recommendation> |
getRecommenderConfigSettings()
public UnaryCallSettings.Builder<GetRecommenderConfigRequest,RecommenderConfig> getRecommenderConfigSettings()
Returns the builder for the settings used for calls to getRecommenderConfig.
Returns | |
---|---|
Type | Description |
Builder<GetRecommenderConfigRequest,RecommenderConfig> |
listInsightTypesSettings()
public PagedCallSettings.Builder<ListInsightTypesRequest,ListInsightTypesResponse,RecommenderClient.ListInsightTypesPagedResponse> listInsightTypesSettings()
Returns the builder for the settings used for calls to listInsightTypes.
Returns | |
---|---|
Type | Description |
Builder<ListInsightTypesRequest,ListInsightTypesResponse,ListInsightTypesPagedResponse> |
listInsightsSettings()
public PagedCallSettings.Builder<ListInsightsRequest,ListInsightsResponse,RecommenderClient.ListInsightsPagedResponse> listInsightsSettings()
Returns the builder for the settings used for calls to listInsights.
Returns | |
---|---|
Type | Description |
Builder<ListInsightsRequest,ListInsightsResponse,ListInsightsPagedResponse> |
listRecommendationsSettings()
public PagedCallSettings.Builder<ListRecommendationsRequest,ListRecommendationsResponse,RecommenderClient.ListRecommendationsPagedResponse> listRecommendationsSettings()
Returns the builder for the settings used for calls to listRecommendations.
Returns | |
---|---|
Type | Description |
Builder<ListRecommendationsRequest,ListRecommendationsResponse,ListRecommendationsPagedResponse> |
listRecommendersSettings()
public PagedCallSettings.Builder<ListRecommendersRequest,ListRecommendersResponse,RecommenderClient.ListRecommendersPagedResponse> listRecommendersSettings()
Returns the builder for the settings used for calls to listRecommenders.
Returns | |
---|---|
Type | Description |
Builder<ListRecommendersRequest,ListRecommendersResponse,ListRecommendersPagedResponse> |
markInsightAcceptedSettings()
public UnaryCallSettings.Builder<MarkInsightAcceptedRequest,Insight> markInsightAcceptedSettings()
Returns the builder for the settings used for calls to markInsightAccepted.
Returns | |
---|---|
Type | Description |
Builder<MarkInsightAcceptedRequest,Insight> |
markRecommendationClaimedSettings()
public UnaryCallSettings.Builder<MarkRecommendationClaimedRequest,Recommendation> markRecommendationClaimedSettings()
Returns the builder for the settings used for calls to markRecommendationClaimed.
Returns | |
---|---|
Type | Description |
Builder<MarkRecommendationClaimedRequest,Recommendation> |
markRecommendationFailedSettings()
public UnaryCallSettings.Builder<MarkRecommendationFailedRequest,Recommendation> markRecommendationFailedSettings()
Returns the builder for the settings used for calls to markRecommendationFailed.
Returns | |
---|---|
Type | Description |
Builder<MarkRecommendationFailedRequest,Recommendation> |
markRecommendationSucceededSettings()
public UnaryCallSettings.Builder<MarkRecommendationSucceededRequest,Recommendation> markRecommendationSucceededSettings()
Returns the builder for the settings used for calls to markRecommendationSucceeded.
Returns | |
---|---|
Type | Description |
Builder<MarkRecommendationSucceededRequest,Recommendation> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateInsightTypeConfigSettings()
public UnaryCallSettings.Builder<UpdateInsightTypeConfigRequest,InsightTypeConfig> updateInsightTypeConfigSettings()
Returns the builder for the settings used for calls to updateInsightTypeConfig.
Returns | |
---|---|
Type | Description |
Builder<UpdateInsightTypeConfigRequest,InsightTypeConfig> |
updateRecommenderConfigSettings()
public UnaryCallSettings.Builder<UpdateRecommenderConfigRequest,RecommenderConfig> updateRecommenderConfigSettings()
Returns the builder for the settings used for calls to updateRecommenderConfig.
Returns | |
---|---|
Type | Description |
Builder<UpdateRecommenderConfigRequest,RecommenderConfig> |