public static class SnapshotStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SnapshotStubSettings,SnapshotStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SnapshotStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
SnapshotStubSettings.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.
|
SnapshotStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSnapshotHttpRequest,Operation> |
deleteSnapshotSettings()
Returns the builder for the settings used for calls to deleteSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicySnapshotHttpRequest,Policy> |
getIamPolicySnapshotSettings()
Returns the builder for the settings used for calls to getIamPolicySnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSnapshotHttpRequest,Snapshot> |
getSnapshotSettings()
Returns the builder for the settings used for calls to getSnapshot.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSnapshotsHttpRequest,SnapshotList,SnapshotClient.ListSnapshotsPagedResponse> |
listSnapshotsSettings()
Returns the builder for the settings used for calls to listSnapshots.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicySnapshotHttpRequest,Policy> |
setIamPolicySnapshotSettings()
Returns the builder for the settings used for calls to setIamPolicySnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsSnapshotHttpRequest,Operation> |
setLabelsSnapshotSettings()
Returns the builder for the settings used for calls to setLabelsSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> |
testIamPermissionsSnapshotSettings()
Returns the builder for the settings used for calls to testIamPermissionsSnapshot.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SnapshotStubSettings settings)
public SnapshotStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSnapshotHttpRequest,Operation> deleteSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSnapshotHttpRequest,Snapshot> getSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicySnapshotHttpRequest,Policy> getIamPolicySnapshotSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSnapshotsHttpRequest,SnapshotList,SnapshotClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicySnapshotHttpRequest,Policy> setIamPolicySnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsSnapshotHttpRequest,Operation> setLabelsSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsSnapshotHttpRequest,TestPermissionsResponse> testIamPermissionsSnapshotSettings()
public SnapshotStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<SnapshotStubSettings,SnapshotStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.