Interface DocumentEventDataOrBuilder (0.16.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the value field is set.