public static class DiskSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DiskSettings,DiskSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DiskSettings settings) |
protected |
Builder(DiskStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskHttpRequest,Operation> |
addResourcePoliciesDiskSettings()
Returns the builder for the settings used for calls to addResourcePoliciesDisk.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksHttpRequest,DiskAggregatedList,DiskClient.AggregatedListDisksPagedResponse> |
aggregatedListDisksSettings()
Returns the builder for the settings used for calls to aggregatedListDisks.
|
DiskSettings.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.
|
DiskSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskHttpRequest,Operation> |
createSnapshotDiskSettings()
Returns the builder for the settings used for calls to createSnapshotDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskHttpRequest,Operation> |
deleteDiskSettings()
Returns the builder for the settings used for calls to deleteDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskHttpRequest,Disk> |
getDiskSettings()
Returns the builder for the settings used for calls to getDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskHttpRequest,Policy> |
getIamPolicyDiskSettings()
Returns the builder for the settings used for calls to getIamPolicyDisk.
|
DiskStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskHttpRequest,Operation> |
insertDiskSettings()
Returns the builder for the settings used for calls to insertDisk.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksHttpRequest,DiskList,DiskClient.ListDisksPagedResponse> |
listDisksSettings()
Returns the builder for the settings used for calls to listDisks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskHttpRequest,Operation> |
removeResourcePoliciesDiskSettings()
Returns the builder for the settings used for calls to removeResourcePoliciesDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskHttpRequest,Operation> |
resizeDiskSettings()
Returns the builder for the settings used for calls to resizeDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskHttpRequest,Policy> |
setIamPolicyDiskSettings()
Returns the builder for the settings used for calls to setIamPolicyDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskHttpRequest,Operation> |
setLabelsDiskSettings()
Returns the builder for the settings used for calls to setLabelsDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> |
testIamPermissionsDiskSettings()
Returns the builder for the settings used for calls to testIamPermissionsDisk.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DiskSettings settings)
protected Builder(DiskStubSettings.Builder stubSettings)
public DiskStubSettings.Builder getStubSettingsBuilder()
public DiskSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskHttpRequest,Operation> addResourcePoliciesDiskSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksHttpRequest,DiskAggregatedList,DiskClient.AggregatedListDisksPagedResponse> aggregatedListDisksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskHttpRequest,Operation> deleteDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskHttpRequest,Disk> getDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskHttpRequest,Operation> insertDiskSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksHttpRequest,DiskList,DiskClient.ListDisksPagedResponse> listDisksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskHttpRequest,Operation> removeResourcePoliciesDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskHttpRequest,Operation> resizeDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskHttpRequest,Operation> setLabelsDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskSettings()
public DiskSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<DiskSettings,DiskSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.