public final class EntityEventData extends GeneratedMessageV3 implements EntityEventDataOrBuilder
The data within all Firestore in Datastore Mode entity events.
Protobuf type google.events.cloud.datastore.v1.EntityEventData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EntityEventDataImplements
EntityEventDataOrBuilderStatic 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 EntityEventData getDefaultInstance()
Returns | |
---|---|
Type | Description |
EntityEventData |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static EntityEventData.Builder newBuilder()
Returns | |
---|---|
Type | Description |
EntityEventData.Builder |
newBuilder(EntityEventData prototype)
public static EntityEventData.Builder newBuilder(EntityEventData prototype)
Parameter | |
---|---|
Name | Description |
prototype | EntityEventData |
Returns | |
---|---|
Type | Description |
EntityEventData.Builder |
parseDelimitedFrom(InputStream input)
public static EntityEventData parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static EntityEventData parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static EntityEventData parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static EntityEventData parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static EntityEventData parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static EntityEventData parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EntityEventData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<EntityEventData> parser()
Returns | |
---|---|
Type | Description |
Parser<EntityEventData> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public EntityEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EntityEventData |
getOldValue()
public EntityResult getOldValue()
An EntityResult object containing a pre-operation entity snapshot. This is only populated for update and delete events.
.google.events.cloud.datastore.v1.EntityResult old_value = 2;
Returns | |
---|---|
Type | Description |
EntityResult | The oldValue. |
getOldValueOrBuilder()
public EntityResultOrBuilder getOldValueOrBuilder()
An EntityResult object containing a pre-operation entity snapshot. This is only populated for update and delete events.
.google.events.cloud.datastore.v1.EntityResult old_value = 2;
Returns | |
---|---|
Type | Description |
EntityResultOrBuilder |
getParserForType()
public Parser<EntityEventData> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<EntityEventData> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
getUpdateMask()
public PropertyMask getUpdateMask()
A PropertyMask object that lists changed properties. This is only populated for update events..
.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;
Returns | |
---|---|
Type | Description |
PropertyMask | The updateMask. |
getUpdateMaskOrBuilder()
public PropertyMaskOrBuilder getUpdateMaskOrBuilder()
A PropertyMask object that lists changed properties. This is only populated for update events..
.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;
Returns | |
---|---|
Type | Description |
PropertyMaskOrBuilder |
getValue()
public EntityResult getValue()
An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.
.google.events.cloud.datastore.v1.EntityResult value = 1;
Returns | |
---|---|
Type | Description |
EntityResult | The value. |
getValueOrBuilder()
public EntityResultOrBuilder getValueOrBuilder()
An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.
.google.events.cloud.datastore.v1.EntityResult value = 1;
Returns | |
---|---|
Type | Description |
EntityResultOrBuilder |
hasOldValue()
public boolean hasOldValue()
An EntityResult object containing a pre-operation entity snapshot. This is only populated for update and delete events.
.google.events.cloud.datastore.v1.EntityResult old_value = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the oldValue field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
A PropertyMask object that lists changed properties. This is only populated for update events..
.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateMask field is set. |
hasValue()
public boolean hasValue()
An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.
.google.events.cloud.datastore.v1.EntityResult 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 EntityEventData.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
EntityEventData.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntityEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
EntityEventData.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public EntityEventData.Builder toBuilder()
Returns | |
---|---|
Type | Description |
EntityEventData.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |