public static enum DocumentChange.Type extends Enum<DocumentChange.Type>
Enum Constant and Description |
---|
ADDED
Indicates a new document was added to the set of documents matching the query.
|
MODIFIED
Indicates a document within the query was modified.
|
REMOVED
Indicates a document within the query was removed (either deleted or no longer matches the
query.
|
Modifier and Type | Method and Description |
---|---|
static DocumentChange.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentChange.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentChange.Type ADDED
public static final DocumentChange.Type MODIFIED
public static final DocumentChange.Type REMOVED
public static DocumentChange.Type[] values()
for (DocumentChange.Type c : DocumentChange.Type.values()) System.out.println(c);
public static DocumentChange.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Google LLC. All rights reserved.