AI-generated Key Takeaways
- 
          SnapshotsClient.DataOrConflict represents the result of attempting to open a snapshot or resolve a conflict. 
- 
          If there is no conflict, use getData()to access the opened snapshot.
- 
          If there is a conflict, use getConflict()to access conflict details andSnapshotsClient.resolveConflict()to resolve it.
Represents the result of attempting to open a snapshot or resolve a conflict from a previous attempt.
If the snapshot was successfully opened or the conflict successfully resolved,
      
      isConflict() will return false and 
      getData() can be used to access the now-opened snapshot.
If the operation resulted in a conflict, 
      isConflict() will return true, and the result of 
      getConflict() must be used with 
      SnapshotsClient.resolveConflict(String, Snapshot) to resolve the conflict.
Public Method Summary
| SnapshotsClient.SnapshotConflict | |
| T | 
                  
                  getData()
                   
                    Returns data if the result was successful.
                   | 
| boolean | 
                  
                  isConflict()
                   
                    Returns  trueif there is conflict, in which case
                    getConflict()can be used to access the details. | 
Inherited Method Summary
Public Methods
public SnapshotsClient.SnapshotConflict getConflict ()
public T getData ()
Returns data if the result was successful. Should only be called if 
            isConflict() returns false.
Throws
| IllegalStateException | if this method is called when #isConflict is true(getConflict()should be used instead). | 
|---|
public boolean isConflict ()
Returns true if there is conflict, in which case 
            getConflict() can be used to access the details. If this method returns
            false, 
            getData() can be used to access the requested data.