Class BackendServicesStubSettings.Builder (1.47.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.

addSignedUrlKeySettings()

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

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

aggregatedListSettings()

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

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

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>

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.

deleteSettings()

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

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

deleteSignedUrlKeyOperationSettings()

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

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

deleteSignedUrlKeySettings()

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

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

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<GetHealthBackendServiceRequest,BackendServiceGroupHealth> getHealthSettings()

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

getIamPolicySettings()

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

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

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

listUsableSettings()

public PagedCallSettings.Builder<ListUsableBackendServicesRequest,BackendServiceListUsable,BackendServicesClient.ListUsablePagedResponse> listUsableSettings()

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

patchOperationSettings()

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

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

patchSettings()

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

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

setEdgeSecurityPolicyOperationSettings()

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

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

setEdgeSecurityPolicySettings()

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

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

setIamPolicySettings()

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

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

setSecurityPolicyOperationSettings()

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

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

setSecurityPolicySettings()

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

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

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsBackendServiceRequest,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<UpdateBackendServiceRequest,Operation,Operation> updateOperationSettings()

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

updateSettings()

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

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