Class RegionBackendServicesStubSettings.Builder (1.50.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>

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.

deleteSettings()

public UnaryCallSettings.Builder<DeleteRegionBackendServiceRequest,Operation> 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

getHealthSettings()

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

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

getIamPolicySettings()

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

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

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

listUsableSettings()

public PagedCallSettings.Builder<ListUsableRegionBackendServicesRequest,BackendServiceListUsable,RegionBackendServicesClient.ListUsablePagedResponse> listUsableSettings()

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

patchOperationSettings()

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

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

patchSettings()

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

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

setIamPolicySettings()

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

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

setSecurityPolicyOperationSettings()

public OperationCallSettings.Builder<SetSecurityPolicyRegionBackendServiceRequest,Operation,Operation> setSecurityPolicyOperationSettings()

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

setSecurityPolicySettings()

public UnaryCallSettings.Builder<SetSecurityPolicyRegionBackendServiceRequest,Operation> setSecurityPolicySettings()

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

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRegionBackendServiceRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

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.

updateSettings()

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

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