Class BackendServicesSettings.Builder (1.12.0)

public static class BackendServicesSettings.Builder extends ClientSettings.Builder<BackendServicesSettings,BackendServicesSettings.Builder>

Builder for BackendServicesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BackendServicesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BackendServicesSettings settings)

protected Builder(BackendServicesSettings settings)
Parameter
NameDescription
settingsBackendServicesSettings

Builder(BackendServicesStubSettings.Builder stubSettings)

protected Builder(BackendServicesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBackendServicesStubSettings.Builder

Methods

addSignedUrlKeyOperationSettings()

public OperationCallSettings.Builder<AddSignedUrlKeyBackendServiceRequest,Operation,Operation> addSignedUrlKeyOperationSettings()

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

Returns
TypeDescription
Builder<AddSignedUrlKeyBackendServiceRequest,Operation,Operation>

addSignedUrlKeySettings()

public UnaryCallSettings.Builder<AddSignedUrlKeyBackendServiceRequest,Operation> addSignedUrlKeySettings()

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

Returns
TypeDescription
Builder<AddSignedUrlKeyBackendServiceRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListBackendServicesRequest,BackendServiceAggregatedList,BackendServicesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListBackendServicesRequest,BackendServiceAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackendServiceRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackendServiceRequest,Operation>

deleteSignedUrlKeyOperationSettings()

public OperationCallSettings.Builder<DeleteSignedUrlKeyBackendServiceRequest,Operation,Operation> deleteSignedUrlKeyOperationSettings()

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

Returns
TypeDescription
Builder<DeleteSignedUrlKeyBackendServiceRequest,Operation,Operation>

deleteSignedUrlKeySettings()

public UnaryCallSettings.Builder<DeleteSignedUrlKeyBackendServiceRequest,Operation> deleteSignedUrlKeySettings()

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

Returns
TypeDescription
Builder<DeleteSignedUrlKeyBackendServiceRequest,Operation>

getHealthSettings()

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

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

Returns
TypeDescription
Builder<GetHealthBackendServiceRequest,BackendServiceGroupHealth>

getSettings()

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

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

Returns
TypeDescription
Builder<GetBackendServiceRequest,BackendService>

getStubSettingsBuilder()

public BackendServicesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
BackendServicesStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertBackendServiceRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertBackendServiceRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListBackendServicesRequest,BackendServiceList,BackendServicesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListBackendServicesRequest,BackendServiceList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchBackendServiceRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchBackendServiceRequest,Operation>

setEdgeSecurityPolicyOperationSettings()

public OperationCallSettings.Builder<SetEdgeSecurityPolicyBackendServiceRequest,Operation,Operation> setEdgeSecurityPolicyOperationSettings()

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

Returns
TypeDescription
Builder<SetEdgeSecurityPolicyBackendServiceRequest,Operation,Operation>

setEdgeSecurityPolicySettings()

public UnaryCallSettings.Builder<SetEdgeSecurityPolicyBackendServiceRequest,Operation> setEdgeSecurityPolicySettings()

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

Returns
TypeDescription
Builder<SetEdgeSecurityPolicyBackendServiceRequest,Operation>

setSecurityPolicyOperationSettings()

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

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

Returns
TypeDescription
Builder<SetSecurityPolicyBackendServiceRequest,Operation,Operation>

setSecurityPolicySettings()

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

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

Returns
TypeDescription
Builder<SetSecurityPolicyBackendServiceRequest,Operation>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackendServiceRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackendServiceRequest,Operation>