Class WriteResult (3.21.3)

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
Name Description
obj Object

The object to compare against.

Returns
Type Description
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
Type Description
com.google.cloud.Timestamp

The update time of the corresponding write.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides