Class LintingServiceStubSettings.Builder (0.2.0)

public static class LintingServiceStubSettings.Builder extends StubSettings.Builder<LintingServiceStubSettings,LintingServiceStubSettings.Builder>

Builder for LintingServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LintingServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LintingServiceStubSettings settings)

protected Builder(LintingServiceStubSettings settings)
Parameter
Name Description
settings LintingServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
LintingServiceStubSettings.Builder

build()

public LintingServiceStubSettings build()
Returns
Type Description
LintingServiceStubSettings
Overrides
Exceptions
Type Description
IOException

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStyleGuideContentsSettings()

public UnaryCallSettings.Builder<GetStyleGuideContentsRequest,StyleGuideContents> getStyleGuideContentsSettings()

Returns the builder for the settings used for calls to getStyleGuideContents.

Returns
Type Description
Builder<GetStyleGuideContentsRequest,StyleGuideContents>

getStyleGuideSettings()

public UnaryCallSettings.Builder<GetStyleGuideRequest,StyleGuide> getStyleGuideSettings()

Returns the builder for the settings used for calls to getStyleGuide.

Returns
Type Description
Builder<GetStyleGuideRequest,StyleGuide>

lintSpecSettings()

public UnaryCallSettings.Builder<LintSpecRequest,Empty> lintSpecSettings()

Returns the builder for the settings used for calls to lintSpec.

Returns
Type Description
Builder<LintSpecRequest,Empty>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,LintingServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateStyleGuideSettings()

public UnaryCallSettings.Builder<UpdateStyleGuideRequest,StyleGuide> updateStyleGuideSettings()

Returns the builder for the settings used for calls to updateStyleGuide.

Returns
Type Description
Builder<UpdateStyleGuideRequest,StyleGuide>