Class GlobalOperationsStubSettings.Builder (1.46.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
NameDescription
clientContextClientContext

Builder(GlobalOperationsStubSettings settings)

protected Builder(GlobalOperationsStubSettings settings)
Parameter
NameDescription
settingsGlobalOperationsStubSettings

Methods

aggregatedListSettings()

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

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

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>

build()

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

listSettings()

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

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

unaryMethodSettingsBuilders()

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

waitSettings()

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

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