public static class SnapshotsSettings.Builder extends ClientSettings.Builder<SnapshotsSettings,SnapshotsSettings.Builder>
Builder for SnapshotsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(SnapshotsSettings settings)
protected Builder(SnapshotsSettings settings)
Parameter
Builder(SnapshotsStubSettings.Builder stubSettings)
protected Builder(SnapshotsStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SnapshotsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
build()
public SnapshotsSettings build()
Returns
Overrides
Exceptions
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteSnapshotRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteSnapshotRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicySnapshotRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings.Builder<GetSnapshotRequest,Snapshot> getSettings()
Returns the builder for the settings used for calls to get.
Returns
getStubSettingsBuilder()
public SnapshotsStubSettings.Builder getStubSettingsBuilder()
Returns
listSettings()
public PagedCallSettings.Builder<ListSnapshotsRequest,SnapshotList,SnapshotsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicySnapshotRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsSnapshotRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsSnapshotRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsSnapshotRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns