Class RegionDisksStubSettings.Builder (1.45.0)

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

Builder for RegionDisksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionDisksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionDisksStubSettings settings)

protected Builder(RegionDisksStubSettings settings)
Parameter
NameDescription
settingsRegionDisksStubSettings

Methods

addResourcePoliciesOperationSettings()

public OperationCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()

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

addResourcePoliciesSettings()

public UnaryCallSettings.Builder<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesSettings()

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

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

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

build()

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

bulkInsertOperationSettings()

public OperationCallSettings.Builder<BulkInsertRegionDiskRequest,Operation,Operation> bulkInsertOperationSettings()

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

bulkInsertSettings()

public UnaryCallSettings.Builder<BulkInsertRegionDiskRequest,Operation> bulkInsertSettings()

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

createSnapshotOperationSettings()

public OperationCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationSettings()

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

createSnapshotSettings()

public UnaryCallSettings.Builder<CreateSnapshotRegionDiskRequest,Operation> createSnapshotSettings()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

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<GetIamPolicyRegionDiskRequest,Policy> getIamPolicySettings()

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

getSettings()

public UnaryCallSettings.Builder<GetRegionDiskRequest,Disk> getSettings()

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

Returns
TypeDescription
Builder<GetRegionDiskRequest,Disk>

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

public PagedCallSettings.Builder<ListRegionDisksRequest,DiskList,RegionDisksClient.ListPagedResponse> listSettings()

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

removeResourcePoliciesOperationSettings()

public OperationCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()

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

removeResourcePoliciesSettings()

public UnaryCallSettings.Builder<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesSettings()

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

resizeOperationSettings()

public OperationCallSettings.Builder<ResizeRegionDiskRequest,Operation,Operation> resizeOperationSettings()

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

resizeSettings()

public UnaryCallSettings.Builder<ResizeRegionDiskRequest,Operation> resizeSettings()

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

setIamPolicySettings()

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

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

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsRegionDiskRequest,Operation,Operation> setLabelsOperationSettings()

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

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsRegionDiskRequest,Operation> setLabelsSettings()

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

startAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StartAsyncReplicationRegionDiskRequest,Operation,Operation> startAsyncReplicationOperationSettings()

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

startAsyncReplicationSettings()

public UnaryCallSettings.Builder<StartAsyncReplicationRegionDiskRequest,Operation> startAsyncReplicationSettings()

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

stopAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StopAsyncReplicationRegionDiskRequest,Operation,Operation> stopAsyncReplicationOperationSettings()

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

stopAsyncReplicationSettings()

public UnaryCallSettings.Builder<StopAsyncReplicationRegionDiskRequest,Operation> stopAsyncReplicationSettings()

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

stopGroupAsyncReplicationOperationSettings()

public OperationCallSettings.Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationSettings()

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

stopGroupAsyncReplicationSettings()

public UnaryCallSettings.Builder<StopGroupAsyncReplicationRegionDiskRequest,Operation> stopGroupAsyncReplicationSettings()

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

testIamPermissionsSettings()

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

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

updateSettings()

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

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