databasedata

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package databasedata provides Firebase Realtime Database type definitions for CloudEvent data payloads.

Supported CloudEvent Types

  • google.firebase.database.ref.v1.created
  • google.firebase.database.ref.v1.updated
  • google.firebase.database.ref.v1.deleted
  • google.firebase.database.ref.v1.written

Index

Constants

This section is empty.

Variables

View Source
var File_firebase_database_v1_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ReferenceEventData

type ReferenceEventData struct {

	// The original data for the reference.
	Data *structpb.Value `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The change in the reference data.
	Delta *structpb.Value `protobuf:"bytes,2,opt,name=delta,proto3" json:"delta,omitempty"`
	// contains filtered or unexported fields
}

The data within all Firebase Real Time Database reference events.

func (*ReferenceEventData) Descriptor deprecated

func (*ReferenceEventData) Descriptor() ([]byte, []int)

Deprecated: Use ReferenceEventData.ProtoReflect.Descriptor instead.

func (*ReferenceEventData) GetData

func (x *ReferenceEventData) GetData() *structpb.Value

func (*ReferenceEventData) GetDelta

func (x *ReferenceEventData) GetDelta() *structpb.Value

func (*ReferenceEventData) ProtoMessage

func (*ReferenceEventData) ProtoMessage()

func (*ReferenceEventData) ProtoReflect

func (x *ReferenceEventData) ProtoReflect() protoreflect.Message

func (*ReferenceEventData) Reset

func (x *ReferenceEventData) Reset()

func (*ReferenceEventData) String

func (x *ReferenceEventData) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL