Class RecommenderStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder>
-
- com.google.cloud.recommender.v1.stub.RecommenderStubSettings.Builder
-
- Enclosing class:
- RecommenderStubSettings
public static class RecommenderStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder>
Builder for RecommenderStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(RecommenderStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommenderStubSettings.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.RecommenderStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInsightRequest,Insight>
getInsightSettings()
Returns the builder for the settings used for calls to getInsight.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInsightTypeConfigRequest,InsightTypeConfig>
getInsightTypeConfigSettings()
Returns the builder for the settings used for calls to getInsightTypeConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecommendationRequest,Recommendation>
getRecommendationSettings()
Returns the builder for the settings used for calls to getRecommendation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecommenderConfigRequest,RecommenderConfig>
getRecommenderConfigSettings()
Returns the builder for the settings used for calls to getRecommenderConfig.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInsightsRequest,ListInsightsResponse,RecommenderClient.ListInsightsPagedResponse>
listInsightsSettings()
Returns the builder for the settings used for calls to listInsights.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRecommendationsRequest,ListRecommendationsResponse,RecommenderClient.ListRecommendationsPagedResponse>
listRecommendationsSettings()
Returns the builder for the settings used for calls to listRecommendations.com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkInsightAcceptedRequest,Insight>
markInsightAcceptedSettings()
Returns the builder for the settings used for calls to markInsightAccepted.com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationClaimedRequest,Recommendation>
markRecommendationClaimedSettings()
Returns the builder for the settings used for calls to markRecommendationClaimed.com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationDismissedRequest,Recommendation>
markRecommendationDismissedSettings()
Returns the builder for the settings used for calls to markRecommendationDismissed.com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationFailedRequest,Recommendation>
markRecommendationFailedSettings()
Returns the builder for the settings used for calls to markRecommendationFailed.com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationSucceededRequest,Recommendation>
markRecommendationSucceededSettings()
Returns the builder for the settings used for calls to markRecommendationSucceeded.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInsightTypeConfigRequest,InsightTypeConfig>
updateInsightTypeConfigSettings()
Returns the builder for the settings used for calls to updateInsightTypeConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRecommenderConfigRequest,RecommenderConfig>
updateRecommenderConfigSettings()
Returns the builder for the settings used for calls to updateRecommenderConfig.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, 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(RecommenderStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public RecommenderStubSettings.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()
-
listInsightsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInsightsRequest,ListInsightsResponse,RecommenderClient.ListInsightsPagedResponse> listInsightsSettings()
Returns the builder for the settings used for calls to listInsights.
-
getInsightSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInsightRequest,Insight> getInsightSettings()
Returns the builder for the settings used for calls to getInsight.
-
markInsightAcceptedSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkInsightAcceptedRequest,Insight> markInsightAcceptedSettings()
Returns the builder for the settings used for calls to markInsightAccepted.
-
listRecommendationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRecommendationsRequest,ListRecommendationsResponse,RecommenderClient.ListRecommendationsPagedResponse> listRecommendationsSettings()
Returns the builder for the settings used for calls to listRecommendations.
-
getRecommendationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecommendationRequest,Recommendation> getRecommendationSettings()
Returns the builder for the settings used for calls to getRecommendation.
-
markRecommendationDismissedSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationDismissedRequest,Recommendation> markRecommendationDismissedSettings()
Returns the builder for the settings used for calls to markRecommendationDismissed.
-
markRecommendationClaimedSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationClaimedRequest,Recommendation> markRecommendationClaimedSettings()
Returns the builder for the settings used for calls to markRecommendationClaimed.
-
markRecommendationSucceededSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationSucceededRequest,Recommendation> markRecommendationSucceededSettings()
Returns the builder for the settings used for calls to markRecommendationSucceeded.
-
markRecommendationFailedSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MarkRecommendationFailedRequest,Recommendation> markRecommendationFailedSettings()
Returns the builder for the settings used for calls to markRecommendationFailed.
-
getRecommenderConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecommenderConfigRequest,RecommenderConfig> getRecommenderConfigSettings()
Returns the builder for the settings used for calls to getRecommenderConfig.
-
updateRecommenderConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRecommenderConfigRequest,RecommenderConfig> updateRecommenderConfigSettings()
Returns the builder for the settings used for calls to updateRecommenderConfig.
-
getInsightTypeConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInsightTypeConfigRequest,InsightTypeConfig> getInsightTypeConfigSettings()
Returns the builder for the settings used for calls to getInsightTypeConfig.
-
updateInsightTypeConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInsightTypeConfigRequest,InsightTypeConfig> updateInsightTypeConfigSettings()
Returns the builder for the settings used for calls to updateInsightTypeConfig.
-
build
public RecommenderStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder>
- Throws:
IOException
-
-