Class GlobalOperationsSettings.Builder (1.12.1)

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

Builder for GlobalOperationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GlobalOperationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalOperationsSettings settings)

protected Builder(GlobalOperationsSettings settings)
Parameter
NameDescription
settingsGlobalOperationsSettings

Builder(GlobalOperationsStubSettings.Builder stubSettings)

protected Builder(GlobalOperationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGlobalOperationsStubSettings.Builder

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 GlobalOperationsSettings.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
GlobalOperationsSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>

waitSettings()

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

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

Returns
TypeDescription
Builder<WaitGlobalOperationRequest,Operation>