Class EntityEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EntityEventData.Builder
Overrides

build()

public EntityEventData build()
Returns
TypeDescription
EntityEventData

buildPartial()

public EntityEventData buildPartial()
Returns
TypeDescription
EntityEventData

clear()

public EntityEventData.Builder clear()
Returns
TypeDescription
EntityEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EntityEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EntityEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EntityEventData.Builder

clone()

public EntityEventData.Builder clone()
Returns
TypeDescription
EntityEventData.Builder
Overrides

getDefaultInstanceForType()

public EntityEventData getDefaultInstanceForType()
Returns
TypeDescription
EntityEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityEventData other)

public EntityEventData.Builder mergeFrom(EntityEventData other)
Parameter
NameDescription
otherEntityEventData
Returns
TypeDescription
EntityEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EntityEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEntityResult
Returns
TypeDescription
EntityEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuePropertyMask
Returns
TypeDescription
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
NameDescription
valueEntityResult
Returns
TypeDescription
EntityEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EntityEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueEntityResult
Returns
TypeDescription
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
NameDescription
builderForValueEntityResult.Builder
Returns
TypeDescription
EntityEventData.Builder

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

public EntityEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuePropertyMask
Returns
TypeDescription
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
NameDescription
builderForValuePropertyMask.Builder
Returns
TypeDescription
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
NameDescription
valueEntityResult
Returns
TypeDescription
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
NameDescription
builderForValueEntityResult.Builder
Returns
TypeDescription
EntityEventData.Builder