Class GlobalOperationsStubSettings.Builder (1.52.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
Name Description
clientContext ClientContext

Builder(GlobalOperationsStubSettings settings)

protected Builder(GlobalOperationsStubSettings settings)
Parameter
Name Description
settings GlobalOperationsStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<WaitGlobalOperationRequest,Operation>