public static class LintingServiceSettings.Builder extends ClientSettings.Builder<LintingServiceSettings,LintingServiceSettings.Builder>
Builder for LintingServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(LintingServiceSettings settings)
protected Builder(LintingServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
LintingServiceSettings |
Builder(LintingServiceStubSettings.Builder stubSettings)
protected Builder(LintingServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings |
LintingServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LintingServiceSettings.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 |
LintingServiceSettings.Builder |
build()
public LintingServiceSettings build()
Returns | |
---|---|
Type | Description |
LintingServiceSettings |
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> |
getStubSettingsBuilder()
public LintingServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
LintingServiceStubSettings.Builder |
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> |
updateStyleGuideSettings()
public UnaryCallSettings.Builder<UpdateStyleGuideRequest,StyleGuide> updateStyleGuideSettings()
Returns the builder for the settings used for calls to updateStyleGuide.
Returns | |
---|---|
Type | Description |
Builder<UpdateStyleGuideRequest,StyleGuide> |