public static class DisksStubSettings.Builder extends StubSettings.Builder<DisksStubSettings,DisksStubSettings.Builder>
Builder for DisksStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DisksStubSettings settings)
protected Builder(DisksStubSettings settings)
Methods
addResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to addResourcePolicies.
addResourcePoliciesSettings()
public UnaryCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListDisksRequest,DiskAggregatedList,DisksClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DisksStubSettings.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.
build()
public DisksStubSettings build()
Overrides
bulkInsertOperationSettings()
public OperationCallSettings.Builder<BulkInsertDiskRequest,Operation,Operation> bulkInsertOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to bulkInsert.
bulkInsertSettings()
public UnaryCallSettings.Builder<BulkInsertDiskRequest,Operation> bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.
createSnapshotOperationSettings()
public OperationCallSettings.Builder<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createSnapshot.
createSnapshotSettings()
public UnaryCallSettings.Builder<CreateSnapshotDiskRequest,Operation> createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteDiskRequest,Operation,Operation> deleteOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to delete.
deleteSettings()
public UnaryCallSettings.Builder<DeleteDiskRequest,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.
Overrides
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyDiskRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
getSettings()
public UnaryCallSettings.Builder<GetDiskRequest,Disk> getSettings()
Returns the builder for the settings used for calls to get.
insertOperationSettings()
public OperationCallSettings.Builder<InsertDiskRequest,Operation,Operation> insertOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to insert.
insertSettings()
public UnaryCallSettings.Builder<InsertDiskRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listSettings()
public PagedCallSettings.Builder<ListDisksRequest,DiskList,DisksClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
removeResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to removeResourcePolicies.
removeResourcePoliciesSettings()
public UnaryCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
resizeOperationSettings()
public OperationCallSettings.Builder<ResizeDiskRequest,Operation,Operation> resizeOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to resize.
resizeSettings()
public UnaryCallSettings.Builder<ResizeDiskRequest,Operation> resizeSettings()
Returns the builder for the settings used for calls to resize.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyDiskRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setLabels.
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsDiskRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
startAsyncReplicationOperationSettings()
public OperationCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation,Operation> startAsyncReplicationOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to startAsyncReplication.
startAsyncReplicationSettings()
public UnaryCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation> startAsyncReplicationSettings()
Returns the builder for the settings used for calls to startAsyncReplication.
stopAsyncReplicationOperationSettings()
public OperationCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation,Operation> stopAsyncReplicationOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to stopAsyncReplication.
stopAsyncReplicationSettings()
public UnaryCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation> stopAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopAsyncReplication.
stopGroupAsyncReplicationOperationSettings()
public OperationCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to stopGroupAsyncReplication.
stopGroupAsyncReplicationSettings()
public UnaryCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation> stopGroupAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopGroupAsyncReplication.
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateOperationSettings()
public OperationCallSettings.Builder<UpdateDiskRequest,Operation,Operation> updateOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to update.
updateSettings()
public UnaryCallSettings.Builder<UpdateDiskRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.