Class RevisionsStubSettings.Builder (0.55.0)

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

Builder for RevisionsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RevisionsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RevisionsStubSettings settings)

protected Builder(RevisionsStubSettings settings)
Parameter
Name Description
settings RevisionsStubSettings

Methods

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

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

build()

public RevisionsStubSettings build()
Returns
Type Description
RevisionsStubSettings
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>

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>

unaryMethodSettingsBuilders()

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