Class ReferenceEventData (0.16.0)

public final class ReferenceEventData extends GeneratedMessageV3 implements ReferenceEventDataOrBuilder

The data within all Firebase Real Time Database reference events.

Protobuf type google.events.firebase.database.v1.ReferenceEventData

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

DELTA_FIELD_NUMBER

public static final int DELTA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReferenceEventData getDefaultInstance()
Returns
Type Description
ReferenceEventData

getDescriptor()

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

newBuilder()

public static ReferenceEventData.Builder newBuilder()
Returns
Type Description
ReferenceEventData.Builder

newBuilder(ReferenceEventData prototype)

public static ReferenceEventData.Builder newBuilder(ReferenceEventData prototype)
Parameter
Name Description
prototype ReferenceEventData
Returns
Type Description
ReferenceEventData.Builder

parseDelimitedFrom(InputStream input)

public static ReferenceEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReferenceEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReferenceEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReferenceEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReferenceEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReferenceEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReferenceEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReferenceEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReferenceEventData> parser()
Returns
Type Description
Parser<ReferenceEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getData()

public Value getData()

The original data for the reference.

.google.protobuf.Value data = 1;

Returns
Type Description
Value

The data.

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.

getDeltaOrBuilder()

public ValueOrBuilder getDeltaOrBuilder()

The change in the reference data.

.google.protobuf.Value delta = 2;

Returns
Type Description
ValueOrBuilder

getParserForType()

public Parser<ReferenceEventData> getParserForType()
Returns
Type Description
Parser<ReferenceEventData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReferenceEventData.Builder newBuilderForType()
Returns
Type Description
ReferenceEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReferenceEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReferenceEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReferenceEventData.Builder toBuilder()
Returns
Type Description
ReferenceEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException