public static class SnapshotStubSettings.Builder extends StubSettings.Builder<SnapshotStubSettings,SnapshotStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SnapshotStubSettings 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(SnapshotStubSettings settings)
public SnapshotStubSettings.Builder applyToAllUnaryMethods(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 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 SnapshotStubSettings build() throws IOException
build
in class StubSettings.Builder<SnapshotStubSettings,SnapshotStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.