public static class DiskSettings.Builder extends ClientSettings.Builder<DiskSettings,DiskSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DiskSettings settings) |
protected |
Builder(DiskStubSettings.Builder stubSettings) |
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(ClientContext clientContext)
protected Builder(DiskSettings settings)
protected Builder(DiskStubSettings.Builder stubSettings)
public DiskStubSettings.Builder getStubSettingsBuilder()
public DiskSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListDisksHttpRequest,DiskAggregatedList,DiskClient.AggregatedListDisksPagedResponse> aggregatedListDisksSettings()
public UnaryCallSettings.Builder<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskSettings()
public UnaryCallSettings.Builder<DeleteDiskHttpRequest,Operation> deleteDiskSettings()
public UnaryCallSettings.Builder<GetDiskHttpRequest,Disk> getDiskSettings()
public UnaryCallSettings.Builder<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskSettings()
public UnaryCallSettings.Builder<InsertDiskHttpRequest,Operation> insertDiskSettings()
public PagedCallSettings.Builder<ListDisksHttpRequest,DiskList,DiskClient.ListDisksPagedResponse> listDisksSettings()
public UnaryCallSettings.Builder<ResizeDiskHttpRequest,Operation> resizeDiskSettings()
public UnaryCallSettings.Builder<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskSettings()
public UnaryCallSettings.Builder<SetLabelsDiskHttpRequest,Operation> setLabelsDiskSettings()
public UnaryCallSettings.Builder<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskSettings()
public DiskSettings build() throws IOException
build
in class ClientSettings.Builder<DiskSettings,DiskSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.