Interface DocumentEventDataOrBuilder (0.14.1)

public interface DocumentEventDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOldValue()

public abstract Document getOldValue()

A Document object containing a pre-operation document snapshot. This is only populated for update and delete events.

.google.events.cloud.firestore.v1.Document old_value = 2;

Returns
TypeDescription
Document

The oldValue.

getOldValueOrBuilder()

public abstract DocumentOrBuilder getOldValueOrBuilder()

A Document object containing a pre-operation document snapshot. This is only populated for update and delete events.

.google.events.cloud.firestore.v1.Document old_value = 2;

Returns
TypeDescription
DocumentOrBuilder

getUpdateMask()

public abstract DocumentMask getUpdateMask()

A DocumentMask object that lists changed fields. This is only populated for update events.

.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;

Returns
TypeDescription
DocumentMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract DocumentMaskOrBuilder getUpdateMaskOrBuilder()

A DocumentMask object that lists changed fields. This is only populated for update events.

.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;

Returns
TypeDescription
DocumentMaskOrBuilder

getValue()

public abstract Document getValue()

A Document object containing a post-operation document snapshot. This is not populated for delete events.

.google.events.cloud.firestore.v1.Document value = 1;

Returns
TypeDescription
Document

The value.

getValueOrBuilder()

public abstract DocumentOrBuilder getValueOrBuilder()

A Document object containing a post-operation document snapshot. This is not populated for delete events.

.google.events.cloud.firestore.v1.Document value = 1;

Returns
TypeDescription
DocumentOrBuilder

hasOldValue()

public abstract boolean hasOldValue()

A Document object containing a pre-operation document snapshot. This is only populated for update and delete events.

.google.events.cloud.firestore.v1.Document old_value = 2;

Returns
TypeDescription
boolean

Whether the oldValue field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

A DocumentMask object that lists changed fields. This is only populated for update events.

.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hasValue()

public abstract boolean hasValue()

A Document object containing a post-operation document snapshot. This is not populated for delete events.

.google.events.cloud.firestore.v1.Document value = 1;

Returns
TypeDescription
boolean

Whether the value field is set.