Class BackendServicesStubSettings.Builder (1.24.0)

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

Builder for BackendServicesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BackendServicesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BackendServicesStubSettings settings)

protected Builder(BackendServicesStubSettings settings)
Parameter
NameDescription
settingsBackendServicesStubSettings

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 BackendServicesStubSettings.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
BackendServicesStubSettings.Builder

build()

public BackendServicesStubSettings build()
Returns
TypeDescription
BackendServicesStubSettings
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>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyBackendServiceRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetBackendServiceRequest,BackendService>

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>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyBackendServiceRequest,Policy>

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>

unaryMethodSettingsBuilders()

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

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>