Package com.google.cloud.retail.v2alpha
Class ProjectServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ProjectServiceSettings,ProjectServiceSettings.Builder>
com.google.cloud.retail.v2alpha.ProjectServiceSettings.Builder
- Enclosing class:
- ProjectServiceSettings
public static class ProjectServiceSettings.Builder
extends ClientSettings.Builder<ProjectServiceSettings,ProjectServiceSettings.Builder>
Builder for ProjectServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ProjectServiceSettings settings) protectedBuilder(ProjectServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to acceptTerms.applyToAllUnaryMethods(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 enrollSolution.Returns the builder for the settings used for calls to enrollSolution.Returns the builder for the settings used for calls to getAlertConfig.Returns the builder for the settings used for calls to getLoggingConfig.Returns the builder for the settings used for calls to getProject.Returns the builder for the settings used for calls to listEnrolledSolutions.Returns the builder for the settings used for calls to updateAlertConfig.Returns the builder for the settings used for calls to updateLoggingConfig.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ProjectServiceSettings.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.
-
getProjectSettings
Returns the builder for the settings used for calls to getProject. -
acceptTermsSettings
Returns the builder for the settings used for calls to acceptTerms. -
enrollSolutionSettings
Returns the builder for the settings used for calls to enrollSolution. -
enrollSolutionOperationSettings
public OperationCallSettings.Builder<EnrollSolutionRequest,EnrollSolutionResponse, enrollSolutionOperationSettings()EnrollSolutionMetadata> Returns the builder for the settings used for calls to enrollSolution. -
listEnrolledSolutionsSettings
public UnaryCallSettings.Builder<ListEnrolledSolutionsRequest,ListEnrolledSolutionsResponse> listEnrolledSolutionsSettings()Returns the builder for the settings used for calls to listEnrolledSolutions. -
getLoggingConfigSettings
Returns the builder for the settings used for calls to getLoggingConfig. -
updateLoggingConfigSettings
public UnaryCallSettings.Builder<UpdateLoggingConfigRequest,LoggingConfig> updateLoggingConfigSettings()Returns the builder for the settings used for calls to updateLoggingConfig. -
getAlertConfigSettings
Returns the builder for the settings used for calls to getAlertConfig. -
updateAlertConfigSettings
Returns the builder for the settings used for calls to updateAlertConfig. -
build
- Specified by:
buildin classClientSettings.Builder<ProjectServiceSettings,ProjectServiceSettings.Builder> - Throws:
IOException
-