Class RegionBackendServicesStubSettings.Builder (1.24.0)

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

Builder for RegionBackendServicesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionBackendServicesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionBackendServicesStubSettings settings)

protected Builder(RegionBackendServicesStubSettings settings)
Parameter
NameDescription
settingsRegionBackendServicesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteRegionBackendServiceRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRegionBackendServiceRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteRegionBackendServiceRequest,Operation>

getHealthSettings()

public UnaryCallSettings.Builder<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthSettings()

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

Returns
TypeDescription
Builder<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRegionBackendServiceRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<GetIamPolicyRegionBackendServiceRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetRegionBackendServiceRequest,BackendService> getSettings()

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

Returns
TypeDescription
Builder<GetRegionBackendServiceRequest,BackendService>

insertOperationSettings()

public OperationCallSettings.Builder<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertRegionBackendServiceRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRegionBackendServiceRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertRegionBackendServiceRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionBackendServicesRequest,BackendServiceList,RegionBackendServicesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionBackendServicesRequest,BackendServiceList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationSettings()

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

Returns
TypeDescription
Builder<PatchRegionBackendServiceRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRegionBackendServiceRequest,Operation> patchSettings()

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

Returns
TypeDescription
Builder<PatchRegionBackendServiceRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRegionBackendServiceRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<SetIamPolicyRegionBackendServiceRequest,Policy>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationSettings()

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

Returns
TypeDescription
Builder<UpdateRegionBackendServiceRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRegionBackendServiceRequest,Operation> updateSettings()

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

Returns
TypeDescription
Builder<UpdateRegionBackendServiceRequest,Operation>