Package com.google.cloud.apihub.v1.stub
Class LintingServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<LintingServiceStubSettings,LintingServiceStubSettings.Builder>
com.google.cloud.apihub.v1.stub.LintingServiceStubSettings.Builder
- Enclosing class:
- LintingServiceStubSettings
public static class LintingServiceStubSettings.Builder
extends StubSettings.Builder<LintingServiceStubSettings,LintingServiceStubSettings.Builder>
Builder for LintingServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(LintingServiceStubSettings 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 getLocation.Returns the builder for the settings used for calls to getStyleGuideContents.Returns the builder for the settings used for calls to getStyleGuide.UnaryCallSettings.Builder<LintSpecRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to lintSpec.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, LintingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateStyleGuide.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 LintingServiceStubSettings.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() -
getStyleGuideSettings
Returns the builder for the settings used for calls to getStyleGuide. -
updateStyleGuideSettings
Returns the builder for the settings used for calls to updateStyleGuide. -
getStyleGuideContentsSettings
public UnaryCallSettings.Builder<GetStyleGuideContentsRequest,StyleGuideContents> getStyleGuideContentsSettings()Returns the builder for the settings used for calls to getStyleGuideContents. -
lintSpecSettings
Returns the builder for the settings used for calls to lintSpec. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()LintingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<LintingServiceStubSettings,LintingServiceStubSettings.Builder> - Throws:
IOException
-