Class GlobalOrganizationOperationsSettings.Builder (1.51.0)

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

Builder for GlobalOrganizationOperationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GlobalOrganizationOperationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalOrganizationOperationsSettings settings)

protected Builder(GlobalOrganizationOperationsSettings settings)
Parameter
NameDescription
settingsGlobalOrganizationOperationsSettings

Builder(GlobalOrganizationOperationsStubSettings.Builder stubSettings)

protected Builder(GlobalOrganizationOperationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGlobalOrganizationOperationsStubSettings.Builder

Methods

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

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

build()

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

deleteSettings()

public UnaryCallSettings.Builder<DeleteGlobalOrganizationOperationRequest,DeleteGlobalOrganizationOperationResponse> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalOrganizationOperationRequest,DeleteGlobalOrganizationOperationResponse>

getSettings()

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

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

Returns
TypeDescription
Builder<GetGlobalOrganizationOperationRequest,Operation>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListGlobalOrganizationOperationsRequest,OperationList,GlobalOrganizationOperationsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListGlobalOrganizationOperationsRequest,OperationList,ListPagedResponse>