Class EntityEventData (0.14.1)

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

Static Fields

OLD_VALUE_FIELD_NUMBER

public static final int OLD_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityEventData getDefaultInstance()
Returns
TypeDescription
EntityEventData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EntityEventData.Builder newBuilder()
Returns
TypeDescription
EntityEventData.Builder

newBuilder(EntityEventData prototype)

public static EntityEventData.Builder newBuilder(EntityEventData prototype)
Parameter
NameDescription
prototypeEntityEventData
Returns
TypeDescription
EntityEventData.Builder

parseDelimitedFrom(InputStream input)

public static EntityEventData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntityEventData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityEventData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityEventData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntityEventData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntityEventData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntityEventData> parser()
Returns
TypeDescription
Parser<EntityEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EntityEventData getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EntityResultOrBuilder

getParserForType()

public Parser<EntityEventData> getParserForType()
Returns
TypeDescription
Parser<EntityEventData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EntityEventData.Builder newBuilderForType()
Returns
TypeDescription
EntityEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntityEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EntityEventData.Builder toBuilder()
Returns
TypeDescription
EntityEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException