Class RevisionsStubSettings.Builder (0.20.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
NameDescription
clientContextClientContext

Builder(RevisionsStubSettings settings)

protected Builder(RevisionsStubSettings settings)
Parameter
NameDescription
settingsRevisionsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RevisionsStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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