Class ProjectServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ProjectServiceStubSettings,ProjectServiceStubSettings.Builder>
com.google.cloud.retail.v2alpha.stub.ProjectServiceStubSettings.Builder
- Enclosing class:
- ProjectServiceStubSettings
public static class ProjectServiceStubSettings.Builder
extends StubSettings.Builder<ProjectServiceStubSettings,ProjectServiceStubSettings.Builder>
Builder for ProjectServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ProjectServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.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 ProjectServiceStubSettings.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() -
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 classStubSettings.Builder<ProjectServiceStubSettings,ProjectServiceStubSettings.Builder> - Throws:
IOException
-