public final class DocumentEventData extends GeneratedMessageV3 implements DocumentEventDataOrBuilder
The data within all Firestore document events.
Protobuf type google.events.cloud.firestore.v1.DocumentEventData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DocumentEventDataImplements
DocumentEventDataOrBuilderStatic Fields
OLD_VALUE_FIELD_NUMBER
public static final int OLD_VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DocumentEventData getDefaultInstance()
Returns | |
---|---|
Type | Description |
DocumentEventData |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DocumentEventData.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DocumentEventData.Builder |
newBuilder(DocumentEventData prototype)
public static DocumentEventData.Builder newBuilder(DocumentEventData prototype)
Parameter | |
---|---|
Name | Description |
prototype |
DocumentEventData |
Returns | |
---|---|
Type | Description |
DocumentEventData.Builder |
parseDelimitedFrom(InputStream input)
public static DocumentEventData parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DocumentEventData parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DocumentEventData parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DocumentEventData parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DocumentEventData parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DocumentEventData parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DocumentEventData> parser()
Returns | |
---|---|
Type | Description |
Parser<DocumentEventData> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public DocumentEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DocumentEventData |
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. |
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;
Returns | |
---|---|
Type | Description |
DocumentOrBuilder |
getParserForType()
public Parser<DocumentEventData> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<DocumentEventData> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
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;
Returns | |
---|---|
Type | Description |
DocumentMask |
The updateMask. |
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;
Returns | |
---|---|
Type | Description |
DocumentMaskOrBuilder |
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. |
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;
Returns | |
---|---|
Type | Description |
DocumentOrBuilder |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DocumentEventData.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DocumentEventData.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
DocumentEventData.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DocumentEventData.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DocumentEventData.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |