Class GlobalOperationsStubSettings.Builder (1.15.0)

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

Builder for GlobalOperationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GlobalOperationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalOperationsStubSettings settings)

protected Builder(GlobalOperationsStubSettings settings)
Parameter
NameDescription
settingsGlobalOperationsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListGlobalOperationsRequest,OperationAggregatedList,GlobalOperationsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListGlobalOperationsRequest,OperationAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteGlobalOperationRequest,DeleteGlobalOperationResponse> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalOperationRequest,DeleteGlobalOperationResponse>

getSettings()

public UnaryCallSettings.Builder<GetGlobalOperationRequest,Operation> getSettings()

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

Returns
TypeDescription
Builder<GetGlobalOperationRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListGlobalOperationsRequest,OperationList,GlobalOperationsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListGlobalOperationsRequest,OperationList,ListPagedResponse>

unaryMethodSettingsBuilders()

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

waitSettings()

public UnaryCallSettings.Builder<WaitGlobalOperationRequest,Operation> waitSettings()

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

Returns
TypeDescription
Builder<WaitGlobalOperationRequest,Operation>