public final class Precondition extends Object
| Modifier and Type | Field and Description |
|---|---|
static Precondition |
NONE
An empty Precondition that adds no enforcements
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Precondition |
updatedAt(org.threeten.bp.Instant updateTime)
Creates a Precondition that enforces that the existing document was written at the specified
time.
|
public static final Precondition NONE
@Nonnull public static Precondition updatedAt(org.threeten.bp.Instant updateTime)
updateTime - The write time to enforce on the existing document.Copyright © 2017 Google. All rights reserved.