public static final class ReferenceEventData.Builder extends GeneratedMessageV3.Builder<ReferenceEventData.Builder> implements ReferenceEventDataOrBuilder
The data within all Firebase Real Time Database reference events.
Protobuf type google.events.firebase.database.v1.ReferenceEventData
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 ReferenceEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReferenceEventData build()
buildPartial()
public ReferenceEventData buildPartial()
clear()
public ReferenceEventData.Builder clear()
Overrides
clearData()
public ReferenceEventData.Builder clearData()
The original data for the reference.
.google.protobuf.Value data = 1;
clearDelta()
public ReferenceEventData.Builder clearDelta()
The change in the reference data.
.google.protobuf.Value delta = 2;
clearField(Descriptors.FieldDescriptor field)
public ReferenceEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReferenceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReferenceEventData.Builder clone()
Overrides
getData()
The original data for the reference.
.google.protobuf.Value data = 1;
Returns |
Type |
Description |
Value |
The data.
|
getDataBuilder()
public Value.Builder getDataBuilder()
The original data for the reference.
.google.protobuf.Value data = 1;
getDataOrBuilder()
public ValueOrBuilder getDataOrBuilder()
The original data for the reference.
.google.protobuf.Value data = 1;
getDefaultInstanceForType()
public ReferenceEventData getDefaultInstanceForType()
getDelta()
The change in the reference data.
.google.protobuf.Value delta = 2;
Returns |
Type |
Description |
Value |
The delta.
|
getDeltaBuilder()
public Value.Builder getDeltaBuilder()
The change in the reference data.
.google.protobuf.Value delta = 2;
getDeltaOrBuilder()
public ValueOrBuilder getDeltaOrBuilder()
The change in the reference data.
.google.protobuf.Value delta = 2;
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasData()
The original data for the reference.
.google.protobuf.Value data = 1;
Returns |
Type |
Description |
boolean |
Whether the data field is set.
|
hasDelta()
public boolean hasDelta()
The change in the reference data.
.google.protobuf.Value delta = 2;
Returns |
Type |
Description |
boolean |
Whether the delta field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeData(Value value)
public ReferenceEventData.Builder mergeData(Value value)
The original data for the reference.
.google.protobuf.Value data = 1;
Parameter |
Name |
Description |
value |
Value
|
mergeDelta(Value value)
public ReferenceEventData.Builder mergeDelta(Value value)
The change in the reference data.
.google.protobuf.Value delta = 2;
Parameter |
Name |
Description |
value |
Value
|
mergeFrom(ReferenceEventData other)
public ReferenceEventData.Builder mergeFrom(ReferenceEventData other)
public ReferenceEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReferenceEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReferenceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setData(Value value)
public ReferenceEventData.Builder setData(Value value)
The original data for the reference.
.google.protobuf.Value data = 1;
Parameter |
Name |
Description |
value |
Value
|
setData(Value.Builder builderForValue)
public ReferenceEventData.Builder setData(Value.Builder builderForValue)
The original data for the reference.
.google.protobuf.Value data = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setDelta(Value value)
public ReferenceEventData.Builder setDelta(Value value)
The change in the reference data.
.google.protobuf.Value delta = 2;
Parameter |
Name |
Description |
value |
Value
|
setDelta(Value.Builder builderForValue)
public ReferenceEventData.Builder setDelta(Value.Builder builderForValue)
The change in the reference data.
.google.protobuf.Value delta = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReferenceEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReferenceEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReferenceEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides