public static class SnapshotSettings.Builder extends ClientSettings.Builder<SnapshotSettings,SnapshotSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SnapshotSettings settings) |
protected |
Builder(SnapshotStubSettings.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(SnapshotSettings settings)
protected Builder(SnapshotStubSettings.Builder stubSettings)
public SnapshotStubSettings.Builder getStubSettingsBuilder()
public SnapshotSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<DeleteSnapshotHttpRequest,Operation> deleteSnapshotSettings()
public UnaryCallSettings.Builder<GetSnapshotHttpRequest,Snapshot> getSnapshotSettings()
public UnaryCallSettings.Builder<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotSettings()
public PagedCallSettings.Builder<ListSnapshotsHttpRequest,SnapshotList,SnapshotClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
public UnaryCallSettings.Builder<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotSettings()
public UnaryCallSettings.Builder<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotSettings()
public UnaryCallSettings.Builder<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> testIamPermissionsSnapshotSettings()
public SnapshotSettings build() throws IOException
build
in class ClientSettings.Builder<SnapshotSettings,SnapshotSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.