Class EntityEventData.Builder (0.16.0)

public static final class EntityEventData.Builder extends GeneratedMessageV3.Builder<EntityEventData.Builder> implements EntityEventDataOrBuilder

The data within all Firestore in Datastore Mode entity events.

Protobuf type google.events.cloud.datastore.v1.EntityEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntityEventData.Builder
Overrides

build()

public EntityEventData build()
Returns
Type Description
EntityEventData

buildPartial()

public EntityEventData buildPartial()
Returns
Type Description
EntityEventData

clear()

public EntityEventData.Builder clear()
Returns
Type Description
EntityEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EntityEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntityEventData.Builder
Overrides

clearOldValue()

public EntityEventData.Builder clearOldValue()

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
EntityEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntityEventData.Builder
Overrides

clearUpdateMask()

public EntityEventData.Builder clearUpdateMask()

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
EntityEventData.Builder

clearValue()

public EntityEventData.Builder clearValue()

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
EntityEventData.Builder

clone()

public EntityEventData.Builder clone()
Returns
Type Description
EntityEventData.Builder
Overrides

getDefaultInstanceForType()

public EntityEventData getDefaultInstanceForType()
Returns
Type Description
EntityEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getOldValueBuilder()

public EntityResult.Builder getOldValueBuilder()

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.Builder

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

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.

getUpdateMaskBuilder()

public PropertyMask.Builder getUpdateMaskBuilder()

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.Builder

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.

getValueBuilder()

public EntityResult.Builder getValueBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityEventData other)

public EntityEventData.Builder mergeFrom(EntityEventData other)
Parameter
Name Description
other EntityEventData
Returns
Type Description
EntityEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EntityEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntityEventData.Builder
Overrides

mergeOldValue(EntityResult value)

public EntityEventData.Builder mergeOldValue(EntityResult value)

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;

Parameter
Name Description
value EntityResult
Returns
Type Description
EntityEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityEventData.Builder
Overrides

mergeUpdateMask(PropertyMask value)

public EntityEventData.Builder mergeUpdateMask(PropertyMask value)

A PropertyMask object that lists changed properties. This is only populated for update events..

.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;

Parameter
Name Description
value PropertyMask
Returns
Type Description
EntityEventData.Builder

mergeValue(EntityResult value)

public EntityEventData.Builder mergeValue(EntityResult value)

An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.

.google.events.cloud.datastore.v1.EntityResult value = 1;

Parameter
Name Description
value EntityResult
Returns
Type Description
EntityEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EntityEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntityEventData.Builder
Overrides

setOldValue(EntityResult value)

public EntityEventData.Builder setOldValue(EntityResult value)

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;

Parameter
Name Description
value EntityResult
Returns
Type Description
EntityEventData.Builder

setOldValue(EntityResult.Builder builderForValue)

public EntityEventData.Builder setOldValue(EntityResult.Builder builderForValue)

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;

Parameter
Name Description
builderForValue EntityResult.Builder
Returns
Type Description
EntityEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EntityEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EntityEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityEventData.Builder
Overrides

setUpdateMask(PropertyMask value)

public EntityEventData.Builder setUpdateMask(PropertyMask value)

A PropertyMask object that lists changed properties. This is only populated for update events..

.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;

Parameter
Name Description
value PropertyMask
Returns
Type Description
EntityEventData.Builder

setUpdateMask(PropertyMask.Builder builderForValue)

public EntityEventData.Builder setUpdateMask(PropertyMask.Builder builderForValue)

A PropertyMask object that lists changed properties. This is only populated for update events..

.google.events.cloud.datastore.v1.PropertyMask update_mask = 3;

Parameter
Name Description
builderForValue PropertyMask.Builder
Returns
Type Description
EntityEventData.Builder

setValue(EntityResult value)

public EntityEventData.Builder setValue(EntityResult value)

An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.

.google.events.cloud.datastore.v1.EntityResult value = 1;

Parameter
Name Description
value EntityResult
Returns
Type Description
EntityEventData.Builder

setValue(EntityResult.Builder builderForValue)

public EntityEventData.Builder setValue(EntityResult.Builder builderForValue)

An EntityResult object containing a post-operation entity snapshot. This is not populated for delete events.

.google.events.cloud.datastore.v1.EntityResult value = 1;

Parameter
Name Description
builderForValue EntityResult.Builder
Returns
Type Description
EntityEventData.Builder