Class GlobalOrganizationOperationsStubSettings.Builder (1.34.0)

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

Builder for GlobalOrganizationOperationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GlobalOrganizationOperationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalOrganizationOperationsStubSettings settings)

protected Builder(GlobalOrganizationOperationsStubSettings settings)
Parameter
NameDescription
settingsGlobalOrganizationOperationsStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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