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

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.

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>

listUsableSettings()

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

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

Returns
TypeDescription
Builder<ListUsableRegionBackendServicesRequest,BackendServiceListUsable,ListUsablePagedResponse>

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>

setSecurityPolicyOperationSettings()

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

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

Returns
TypeDescription
Builder<SetSecurityPolicyRegionBackendServiceRequest,Operation,Operation>

setSecurityPolicySettings()

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

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

Returns
TypeDescription
Builder<SetSecurityPolicyRegionBackendServiceRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsRegionBackendServiceRequest,TestPermissionsResponse>

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>