Class BackendBucketsStubSettings.Builder (1.46.0)

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

Builder for BackendBucketsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BackendBucketsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BackendBucketsStubSettings settings)

protected Builder(BackendBucketsStubSettings settings)
Parameter
NameDescription
settingsBackendBucketsStubSettings

Methods

addSignedUrlKeyOperationSettings()

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

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

Returns
TypeDescription
Builder<AddSignedUrlKeyBackendBucketRequest,Operation,Operation>

addSignedUrlKeySettings()

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

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

Returns
TypeDescription
Builder<AddSignedUrlKeyBackendBucketRequest,Operation>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackendBucketRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackendBucketRequest,Operation>

deleteSignedUrlKeyOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteSignedUrlKeyBackendBucketRequest,Operation,Operation>

deleteSignedUrlKeySettings()

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

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

Returns
TypeDescription
Builder<DeleteSignedUrlKeyBackendBucketRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyBackendBucketRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetBackendBucketRequest,BackendBucket> getSettings()

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

Returns
TypeDescription
Builder<GetBackendBucketRequest,BackendBucket>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertBackendBucketRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertBackendBucketRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListBackendBucketsRequest,BackendBucketList,BackendBucketsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListBackendBucketsRequest,BackendBucketList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchBackendBucketRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchBackendBucketRequest,Operation>

setEdgeSecurityPolicyOperationSettings()

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

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

Returns
TypeDescription
Builder<SetEdgeSecurityPolicyBackendBucketRequest,Operation,Operation>

setEdgeSecurityPolicySettings()

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

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

Returns
TypeDescription
Builder<SetEdgeSecurityPolicyBackendBucketRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyBackendBucketRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsBackendBucketRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackendBucketRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackendBucketRequest,Operation>