public static class DisksStubSettings.Builder extends StubSettings.Builder<DisksStubSettings,DisksStubSettings.Builder>Builder for DisksStubSettings.
Constructors
Builder()
protected Builder()Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)| Name | Description |
| clientContext | ClientContext |
Builder(DisksStubSettings settings)
protected Builder(DisksStubSettings settings)| Name | Description |
| settings | DisksStubSettings |
Methods
addResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()Returns the builder for the settings used for calls to addResourcePolicies.
| Type | Description |
| Builder<AddResourcePoliciesDiskRequest,Operation,Operation> |
addResourcePoliciesSettings()
public UnaryCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesSettings()Returns the builder for the settings used for calls to addResourcePolicies.
| Type | Description |
| Builder<AddResourcePoliciesDiskRequest,Operation> |
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListDisksRequest,DiskAggregatedList,DisksClient.AggregatedListPagedResponse> aggregatedListSettings()Returns the builder for the settings used for calls to aggregatedList.
| Type | Description |
| Builder<AggregatedListDisksRequest,DiskAggregatedList,AggregatedListPagedResponse> |
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.
| Name | Description |
| settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
| Type | Description |
| DisksStubSettings.Builder |
build()
public DisksStubSettings build()| Type | Description |
| DisksStubSettings |
| Type | Description |
| IOException |
createSnapshotOperationSettings()
public OperationCallSettings.Builder<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationSettings()Returns the builder for the settings used for calls to createSnapshot.
| Type | Description |
| Builder<CreateSnapshotDiskRequest,Operation,Operation> |
createSnapshotSettings()
public UnaryCallSettings.Builder<CreateSnapshotDiskRequest,Operation> createSnapshotSettings()Returns the builder for the settings used for calls to createSnapshot.
| Type | Description |
| Builder<CreateSnapshotDiskRequest,Operation> |
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteDiskRequest,Operation,Operation> deleteOperationSettings()Returns the builder for the settings used for calls to delete.
| Type | Description |
| Builder<DeleteDiskRequest,Operation,Operation> |
deleteSettings()
public UnaryCallSettings.Builder<DeleteDiskRequest,Operation> deleteSettings()Returns the builder for the settings used for calls to delete.
| Type | Description |
| Builder<DeleteDiskRequest,Operation> |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyDiskRequest,Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy.
| Type | Description |
| Builder<GetIamPolicyDiskRequest,Policy> |
getSettings()
public UnaryCallSettings.Builder<GetDiskRequest,Disk> getSettings()Returns the builder for the settings used for calls to get.
| Type | Description |
| Builder<GetDiskRequest,Disk> |
insertOperationSettings()
public OperationCallSettings.Builder<InsertDiskRequest,Operation,Operation> insertOperationSettings()Returns the builder for the settings used for calls to insert.
| Type | Description |
| Builder<InsertDiskRequest,Operation,Operation> |
insertSettings()
public UnaryCallSettings.Builder<InsertDiskRequest,Operation> insertSettings()Returns the builder for the settings used for calls to insert.
| Type | Description |
| Builder<InsertDiskRequest,Operation> |
listSettings()
public PagedCallSettings.Builder<ListDisksRequest,DiskList,DisksClient.ListPagedResponse> listSettings()Returns the builder for the settings used for calls to list.
| Type | Description |
| Builder<ListDisksRequest,DiskList,ListPagedResponse> |
removeResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()Returns the builder for the settings used for calls to removeResourcePolicies.
| Type | Description |
| Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation> |
removeResourcePoliciesSettings()
public UnaryCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesSettings()Returns the builder for the settings used for calls to removeResourcePolicies.
| Type | Description |
| Builder<RemoveResourcePoliciesDiskRequest,Operation> |
resizeOperationSettings()
public OperationCallSettings.Builder<ResizeDiskRequest,Operation,Operation> resizeOperationSettings()Returns the builder for the settings used for calls to resize.
| Type | Description |
| Builder<ResizeDiskRequest,Operation,Operation> |
resizeSettings()
public UnaryCallSettings.Builder<ResizeDiskRequest,Operation> resizeSettings()Returns the builder for the settings used for calls to resize.
| Type | Description |
| Builder<ResizeDiskRequest,Operation> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyDiskRequest,Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy.
| Type | Description |
| Builder<SetIamPolicyDiskRequest,Policy> |
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationSettings()Returns the builder for the settings used for calls to setLabels.
| Type | Description |
| Builder<SetLabelsDiskRequest,Operation,Operation> |
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsDiskRequest,Operation> setLabelsSettings()Returns the builder for the settings used for calls to setLabels.
| Type | Description |
| Builder<SetLabelsDiskRequest,Operation> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions.
| Type | Description |
| Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()| Type | Description |
| com.google.common.collect.ImmutableList<Builder<?,?>> |