Class RevisionsSettings.Builder (0.15.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
NameDescription
clientContextClientContext

Builder(RevisionsSettings settings)

protected Builder(RevisionsSettings settings)
Parameter
NameDescription
settingsRevisionsSettings

Builder(RevisionsStubSettings.Builder stubSettings)

protected Builder(RevisionsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRevisionsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RevisionsSettings.Builder

build()

public RevisionsSettings build()
Returns
TypeDescription
RevisionsSettings
Overrides
Exceptions
TypeDescription
IOException

deleteRevisionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRevisionRequest,Revision,Revision>

deleteRevisionSettings()

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

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

Returns
TypeDescription
Builder<DeleteRevisionRequest,Operation>

getRevisionSettings()

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

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

Returns
TypeDescription
Builder<GetRevisionRequest,Revision>

getStubSettingsBuilder()

public RevisionsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RevisionsStubSettings.Builder

listRevisionsSettings()

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

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

Returns
TypeDescription
Builder<ListRevisionsRequest,ListRevisionsResponse,ListRevisionsPagedResponse>