Package com.google.cloud.compute.v1
Class DisksSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DisksSettings,DisksSettings.Builder>
-
- com.google.cloud.compute.v1.DisksSettings.Builder
-
- Enclosing class:
- DisksSettings
public static class DisksSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DisksSettings,DisksSettings.Builder>
Builder for DisksSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DisksSettings settings)
protected
Builder(DisksStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation,Operation>
addResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to addResourcePolicies.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation>
addResourcePoliciesSettings()
Returns the builder for the settings used for calls to addResourcePolicies.com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksRequest,DiskAggregatedList,DisksClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.DisksSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DisksSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<BulkInsertDiskRequest,Operation,Operation>
bulkInsertOperationSettings()
Returns the builder for the settings used for calls to bulkInsert.com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertDiskRequest,Operation>
bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSnapshotDiskRequest,Operation,Operation>
createSnapshotOperationSettings()
Returns the builder for the settings used for calls to createSnapshot.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskRequest,Operation>
createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDiskRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskRequest,Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskRequest,Disk>
getSettings()
Returns the builder for the settings used for calls to get.DisksStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertDiskRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksRequest,DiskList,DisksClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation>
removeResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation>
removeResourcePoliciesSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.com.google.api.gax.rpc.OperationCallSettings.Builder<ResizeDiskRequest,Operation,Operation>
resizeOperationSettings()
Returns the builder for the settings used for calls to resize.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskRequest,Operation>
resizeSettings()
Returns the builder for the settings used for calls to resize.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskRequest,Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<SetLabelsDiskRequest,Operation,Operation>
setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskRequest,Operation>
setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.com.google.api.gax.rpc.OperationCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation,Operation>
startAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to startAsyncReplication.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation>
startAsyncReplicationSettings()
Returns the builder for the settings used for calls to startAsyncReplication.com.google.api.gax.rpc.OperationCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation,Operation>
stopAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to stopAsyncReplication.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation>
stopAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopAsyncReplication.com.google.api.gax.rpc.OperationCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation,Operation>
stopGroupAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to stopGroupAsyncReplication.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation>
stopGroupAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopGroupAsyncReplication.com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDiskRequest,Operation,Operation>
updateOperationSettings()
Returns the builder for the settings used for calls to update.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDiskRequest,Operation>
updateSettings()
Returns the builder for the settings used for calls to update.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DisksSettings settings)
-
Builder
protected Builder(DisksStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DisksStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DisksSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
addResourcePoliciesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
-
addResourcePoliciesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksRequest,DiskAggregatedList,DisksClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
bulkInsertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertDiskRequest,Operation> bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.
-
bulkInsertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<BulkInsertDiskRequest,Operation,Operation> bulkInsertOperationSettings()
Returns the builder for the settings used for calls to bulkInsert.
-
createSnapshotSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskRequest,Operation> createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
-
createSnapshotOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationSettings()
Returns the builder for the settings used for calls to createSnapshot.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDiskRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskRequest,Disk> getSettings()
Returns the builder for the settings used for calls to get.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertDiskRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksRequest,DiskList,DisksClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
removeResourcePoliciesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
-
removeResourcePoliciesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
-
resizeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskRequest,Operation> resizeSettings()
Returns the builder for the settings used for calls to resize.
-
resizeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ResizeDiskRequest,Operation,Operation> resizeOperationSettings()
Returns the builder for the settings used for calls to resize.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
setLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
-
setLabelsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
-
startAsyncReplicationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation> startAsyncReplicationSettings()
Returns the builder for the settings used for calls to startAsyncReplication.
-
startAsyncReplicationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StartAsyncReplicationDiskRequest,Operation,Operation> startAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to startAsyncReplication.
-
stopAsyncReplicationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation> stopAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopAsyncReplication.
-
stopAsyncReplicationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StopAsyncReplicationDiskRequest,Operation,Operation> stopAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to stopAsyncReplication.
-
stopGroupAsyncReplicationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation> stopGroupAsyncReplicationSettings()
Returns the builder for the settings used for calls to stopGroupAsyncReplication.
-
stopGroupAsyncReplicationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationSettings()
Returns the builder for the settings used for calls to stopGroupAsyncReplication.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
updateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDiskRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.
-
updateOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDiskRequest,Operation,Operation> updateOperationSettings()
Returns the builder for the settings used for calls to update.
-
build
public DisksSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DisksSettings,DisksSettings.Builder>
- Throws:
IOException
-
-