public static class DiskStubSettings.Builder extends StubSettings.Builder<DiskStubSettings,DiskStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DiskStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DiskStubSettings settings)
public DiskStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 DiskStubSettings build() throws IOException
build
in class StubSettings.Builder<DiskStubSettings,DiskStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.