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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EntityEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EntityEventData build()
buildPartial()
public EntityEventData buildPartial()
clear()
public EntityEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EntityEventData.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public EntityEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public EntityEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public EntityEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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;
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;
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EntityEventData other)
public EntityEventData.Builder mergeFrom(EntityEventData other)
public EntityEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EntityEventData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EntityEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public EntityEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EntityEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EntityEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;