Class WriteResult (3.0.21)

public final class WriteResult

A WriteResult exposes the update time set by the server.

Inheritance

Object > WriteResult

Methods

equals(Object obj)

public boolean equals(Object obj)

Returns true if this WriteResult is equal to the provided object.

Parameter
NameDescription
objObject

The object to compare against.

Returns
TypeDescription
boolean

Whether this WriteResult is equal to the provided object.

Overrides

getUpdateTime()

public Timestamp getUpdateTime()

The update time as exposed by the server. Can be used in Precondition#updatedAt.

Returns
TypeDescription
com.google.cloud.Timestamp

The update time of the corresponding write.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides