public static final class DocumentEventData.Builder extends GeneratedMessageV3.Builder<DocumentEventData.Builder> implements DocumentEventDataOrBuilder
The data within all Firestore document events.
Protobuf type google.events.cloud.firestore.v1.DocumentEventData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentEventData build()
buildPartial()
public DocumentEventData buildPartial()
clear()
public DocumentEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOldValue()
public DocumentEventData.Builder clearOldValue()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public DocumentEventData.Builder clearUpdateMask()
A DocumentMask object that lists changed fields.
This is only populated for update events.
.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;
clearValue()
public DocumentEventData.Builder clearValue()
A Document object containing a post-operation document snapshot.
This is not populated for delete events.
.google.events.cloud.firestore.v1.Document value = 1;
clone()
public DocumentEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOldValue()
public 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.
|
getOldValueBuilder()
public Document.Builder getOldValueBuilder()
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;
getOldValueOrBuilder()
public 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;
getUpdateMask()
public 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;
getUpdateMaskBuilder()
public DocumentMask.Builder getUpdateMaskBuilder()
A DocumentMask object that lists changed fields.
This is only populated for update events.
.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;
getUpdateMaskOrBuilder()
public 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;
getValue()
public 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.
|
getValueBuilder()
public Document.Builder getValueBuilder()
A Document object containing a post-operation document snapshot.
This is not populated for delete events.
.google.events.cloud.firestore.v1.Document value = 1;
getValueOrBuilder()
public 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;
hasOldValue()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentEventData other)
public DocumentEventData.Builder mergeFrom(DocumentEventData other)
public DocumentEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentEventData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeOldValue(Document value)
public DocumentEventData.Builder mergeOldValue(Document value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(DocumentMask value)
public DocumentEventData.Builder mergeUpdateMask(DocumentMask value)
A DocumentMask object that lists changed fields.
This is only populated for update events.
.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;
mergeValue(Document value)
public DocumentEventData.Builder mergeValue(Document value)
A Document object containing a post-operation document snapshot.
This is not populated for delete events.
.google.events.cloud.firestore.v1.Document value = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOldValue(Document value)
public DocumentEventData.Builder setOldValue(Document value)
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;
setOldValue(Document.Builder builderForValue)
public DocumentEventData.Builder setOldValue(Document.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(DocumentMask value)
public DocumentEventData.Builder setUpdateMask(DocumentMask value)
A DocumentMask object that lists changed fields.
This is only populated for update events.
.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;
setUpdateMask(DocumentMask.Builder builderForValue)
public DocumentEventData.Builder setUpdateMask(DocumentMask.Builder builderForValue)
A DocumentMask object that lists changed fields.
This is only populated for update events.
.google.events.cloud.firestore.v1.DocumentMask update_mask = 3;
setValue(Document value)
public DocumentEventData.Builder setValue(Document value)
A Document object containing a post-operation document snapshot.
This is not populated for delete events.
.google.events.cloud.firestore.v1.Document value = 1;
setValue(Document.Builder builderForValue)
public DocumentEventData.Builder setValue(Document.Builder builderForValue)
A Document object containing a post-operation document snapshot.
This is not populated for delete events.
.google.events.cloud.firestore.v1.Document value = 1;