Class RevisionsSettings.Builder (0.42.0)

public static class RevisionsSettings.Builder extends ClientSettings.Builder<RevisionsSettings,RevisionsSettings.Builder>

Builder for RevisionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RevisionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RevisionsSettings settings)

protected Builder(RevisionsSettings settings)
Parameter
Name Description
settings RevisionsSettings

Builder(RevisionsStubSettings.Builder stubSettings)

protected Builder(RevisionsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RevisionsStubSettings.Builder

Methods

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

public RevisionsSettings.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
RevisionsSettings.Builder

build()

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

deleteRevisionOperationSettings()

public OperationCallSettings.Builder<DeleteRevisionRequest,Revision,Revision> deleteRevisionOperationSettings()

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

Returns
Type Description
Builder<DeleteRevisionRequest,Revision,Revision>

deleteRevisionSettings()

public UnaryCallSettings.Builder<DeleteRevisionRequest,Operation> deleteRevisionSettings()

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

Returns
Type Description
Builder<DeleteRevisionRequest,Operation>

getRevisionSettings()

public UnaryCallSettings.Builder<GetRevisionRequest,Revision> getRevisionSettings()

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

Returns
Type Description
Builder<GetRevisionRequest,Revision>

getStubSettingsBuilder()

public RevisionsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RevisionsStubSettings.Builder

listRevisionsSettings()

public PagedCallSettings.Builder<ListRevisionsRequest,ListRevisionsResponse,RevisionsClient.ListRevisionsPagedResponse> listRevisionsSettings()

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

Returns
Type Description
Builder<ListRevisionsRequest,ListRevisionsResponse,ListRevisionsPagedResponse>