Class ReferenceEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReferenceEventData build()
Returns
TypeDescription
ReferenceEventData

buildPartial()

public ReferenceEventData buildPartial()
Returns
TypeDescription
ReferenceEventData

clear()

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

clearData()

public ReferenceEventData.Builder clearData()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
TypeDescription
ReferenceEventData.Builder

clearDelta()

public ReferenceEventData.Builder clearDelta()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
TypeDescription
ReferenceEventData.Builder

clearField(Descriptors.FieldDescriptor field)

public ReferenceEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReferenceEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReferenceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReferenceEventData.Builder
Overrides

clone()

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

getData()

public Value getData()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
TypeDescription
Value

The data.

getDataBuilder()

public Value.Builder getDataBuilder()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
TypeDescription
Builder

getDataOrBuilder()

public ValueOrBuilder getDataOrBuilder()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
TypeDescription
ValueOrBuilder

getDefaultInstanceForType()

public ReferenceEventData getDefaultInstanceForType()
Returns
TypeDescription
ReferenceEventData

getDelta()

public Value getDelta()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
TypeDescription
Value

The delta.

getDeltaBuilder()

public Value.Builder getDeltaBuilder()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
TypeDescription
Builder

getDeltaOrBuilder()

public ValueOrBuilder getDeltaOrBuilder()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
TypeDescription
ValueOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasData()

public boolean hasData()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
TypeDescription
boolean

Whether the data field is set.

hasDelta()

public boolean hasDelta()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
TypeDescription
boolean

Whether the delta field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeData(Value value)

public ReferenceEventData.Builder mergeData(Value value)

The original data for the reference.

.google.protobuf.Value data = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
ReferenceEventData.Builder

mergeDelta(Value value)

public ReferenceEventData.Builder mergeDelta(Value value)

The change in the reference data.

.google.protobuf.Value delta = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
ReferenceEventData.Builder

mergeFrom(ReferenceEventData other)

public ReferenceEventData.Builder mergeFrom(ReferenceEventData other)
Parameter
NameDescription
otherReferenceEventData
Returns
TypeDescription
ReferenceEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReferenceEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReferenceEventData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReferenceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReferenceEventData.Builder
Overrides

setData(Value value)

public ReferenceEventData.Builder setData(Value value)

The original data for the reference.

.google.protobuf.Value data = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReferenceEventData.Builder

setDelta(Value value)

public ReferenceEventData.Builder setDelta(Value value)

The change in the reference data.

.google.protobuf.Value delta = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReferenceEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReferenceEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReferenceEventData.Builder
Overrides