Class ReferenceEventData.Builder (0.15.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReferenceEventData build()
Returns
Type Description
ReferenceEventData

buildPartial()

public ReferenceEventData buildPartial()
Returns
Type Description
ReferenceEventData

clear()

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

clearData()

public ReferenceEventData.Builder clearData()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
Type Description
ReferenceEventData.Builder

clearDelta()

public ReferenceEventData.Builder clearDelta()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
Type Description
ReferenceEventData.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getData()

public Value 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;

Returns
Type Description
Builder

getDataOrBuilder()

public ValueOrBuilder getDataOrBuilder()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
Type Description
ValueOrBuilder

getDefaultInstanceForType()

public ReferenceEventData getDefaultInstanceForType()
Returns
Type Description
ReferenceEventData

getDelta()

public Value 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;

Returns
Type Description
Builder

getDeltaOrBuilder()

public ValueOrBuilder getDeltaOrBuilder()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
Type Description
ValueOrBuilder

getDescriptorForType()

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

hasData()

public boolean 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Returns
Type Description
ReferenceEventData.Builder

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
Returns
Type Description
ReferenceEventData.Builder

mergeFrom(ReferenceEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReferenceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReferenceEventData.Builder
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
Returns
Type Description
ReferenceEventData.Builder

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
Returns
Type Description
ReferenceEventData.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
Returns
Type Description
ReferenceEventData.Builder

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
Returns
Type Description
ReferenceEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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