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 StubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder>
Builder for RecommenderStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(RecommenderStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to getInsight.Returns the builder for the settings used for calls to getInsightTypeConfig.Returns the builder for the settings used for calls to getRecommendation.Returns the builder for the settings used for calls to getRecommenderConfig.PagedCallSettings.Builder<ListInsightsRequest,ListInsightsResponse, RecommenderClient.ListInsightsPagedResponse> Returns the builder for the settings used for calls to listInsights.PagedCallSettings.Builder<ListRecommendationsRequest,ListRecommendationsResponse, RecommenderClient.ListRecommendationsPagedResponse> Returns the builder for the settings used for calls to listRecommendations.Returns the builder for the settings used for calls to markInsightAccepted.Returns the builder for the settings used for calls to markRecommendationClaimed.Returns the builder for the settings used for calls to markRecommendationDismissed.Returns the builder for the settings used for calls to markRecommendationFailed.Returns the builder for the settings used for calls to markRecommendationSucceeded.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateInsightTypeConfig.Returns the builder for the settings used for calls to updateRecommenderConfig.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
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listInsightsSettings
public PagedCallSettings.Builder<ListInsightsRequest,ListInsightsResponse, listInsightsSettings()RecommenderClient.ListInsightsPagedResponse> Returns the builder for the settings used for calls to listInsights. -
getInsightSettings
Returns the builder for the settings used for calls to getInsight. -
markInsightAcceptedSettings
Returns the builder for the settings used for calls to markInsightAccepted. -
listRecommendationsSettings
public PagedCallSettings.Builder<ListRecommendationsRequest,ListRecommendationsResponse, listRecommendationsSettings()RecommenderClient.ListRecommendationsPagedResponse> Returns the builder for the settings used for calls to listRecommendations. -
getRecommendationSettings
public UnaryCallSettings.Builder<GetRecommendationRequest,Recommendation> getRecommendationSettings()Returns the builder for the settings used for calls to getRecommendation. -
markRecommendationDismissedSettings
public UnaryCallSettings.Builder<MarkRecommendationDismissedRequest,Recommendation> markRecommendationDismissedSettings()Returns the builder for the settings used for calls to markRecommendationDismissed. -
markRecommendationClaimedSettings
public UnaryCallSettings.Builder<MarkRecommendationClaimedRequest,Recommendation> markRecommendationClaimedSettings()Returns the builder for the settings used for calls to markRecommendationClaimed. -
markRecommendationSucceededSettings
public UnaryCallSettings.Builder<MarkRecommendationSucceededRequest,Recommendation> markRecommendationSucceededSettings()Returns the builder for the settings used for calls to markRecommendationSucceeded. -
markRecommendationFailedSettings
public UnaryCallSettings.Builder<MarkRecommendationFailedRequest,Recommendation> markRecommendationFailedSettings()Returns the builder for the settings used for calls to markRecommendationFailed. -
getRecommenderConfigSettings
public UnaryCallSettings.Builder<GetRecommenderConfigRequest,RecommenderConfig> getRecommenderConfigSettings()Returns the builder for the settings used for calls to getRecommenderConfig. -
updateRecommenderConfigSettings
public UnaryCallSettings.Builder<UpdateRecommenderConfigRequest,RecommenderConfig> updateRecommenderConfigSettings()Returns the builder for the settings used for calls to updateRecommenderConfig. -
getInsightTypeConfigSettings
public UnaryCallSettings.Builder<GetInsightTypeConfigRequest,InsightTypeConfig> getInsightTypeConfigSettings()Returns the builder for the settings used for calls to getInsightTypeConfig. -
updateInsightTypeConfigSettings
public UnaryCallSettings.Builder<UpdateInsightTypeConfigRequest,InsightTypeConfig> updateInsightTypeConfigSettings()Returns the builder for the settings used for calls to updateInsightTypeConfig. -
build
- Specified by:
buildin classStubSettings.Builder<RecommenderStubSettings,RecommenderStubSettings.Builder> - Throws:
IOException
-