Class GlobalOperationsSettings.Builder (1.53.0)

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
Name Description
clientContext ClientContext

Builder(GlobalOperationsSettings settings)

protected Builder(GlobalOperationsSettings settings)
Parameter
Name Description
settings GlobalOperationsSettings

Builder(GlobalOperationsStubSettings.Builder stubSettings)

protected Builder(GlobalOperationsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GlobalOperationsStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GlobalOperationsSettings.Builder

build()

public GlobalOperationsSettings build()
Returns
Type Description
GlobalOperationsSettings
Overrides
Exceptions
Type Description
IOException

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteGlobalOperationRequest,DeleteGlobalOperationResponse>

getSettings()

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

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

Returns
Type Description
Builder<GetGlobalOperationRequest,Operation>

getStubSettingsBuilder()

public GlobalOperationsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GlobalOperationsStubSettings.Builder

listSettings()

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

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

Returns
Type Description
Builder<ListGlobalOperationsRequest,OperationList,ListPagedResponse>

waitSettings()

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

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

Returns
Type Description
Builder<WaitGlobalOperationRequest,Operation>