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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EntityEventData.Builder newBuilder()
newBuilder(EntityEventData prototype)
public static EntityEventData.Builder newBuilder(EntityEventData prototype)
public static EntityEventData parseDelimitedFrom(InputStream input)
public static EntityEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EntityEventData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EntityEventData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(CodedInputStream input)
public static EntityEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(InputStream input)
public static EntityEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EntityEventData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntityEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EntityEventData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public EntityEventData getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<EntityEventData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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;
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;
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;
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;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EntityEventData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntityEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EntityEventData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides