Class RegionSecurityPoliciesStubSettings.Builder (1.12.0)

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

Builder for RegionSecurityPoliciesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionSecurityPoliciesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionSecurityPoliciesStubSettings settings)

protected Builder(RegionSecurityPoliciesStubSettings settings)
Parameter
NameDescription
settingsRegionSecurityPoliciesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionSecurityPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionSecurityPolicyRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRegionSecurityPolicyRequest,SecurityPolicy> getSettings()

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

Returns
TypeDescription
Builder<GetRegionSecurityPolicyRequest,SecurityPolicy>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionSecurityPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionSecurityPolicyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionSecurityPoliciesRequest,SecurityPolicyList,RegionSecurityPoliciesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionSecurityPoliciesRequest,SecurityPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionSecurityPolicyRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionSecurityPolicyRequest,Operation>

unaryMethodSettingsBuilders()

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