snapshot_record

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_types_snapshot_record_snapshot_record_proto protoreflect.FileDescriptor

Functions

func Marshal added in v0.0.38

func Marshal(record *SnapshotRecord) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, record *SnapshotRecord) error

Types

type SnapshotRecord

type SnapshotRecord struct {
	Meta    *structpb.Struct `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Payload *record.Value    `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotRecord) Descriptor deprecated added in v0.0.38

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

Deprecated: Use SnapshotRecord.ProtoReflect.Descriptor instead.

func (*SnapshotRecord) GetMeta added in v0.0.38

func (x *SnapshotRecord) GetMeta() *structpb.Struct

func (*SnapshotRecord) GetPayload added in v0.0.38

func (x *SnapshotRecord) GetPayload() *record.Value

func (*SnapshotRecord) ProtoMessage added in v0.0.38

func (*SnapshotRecord) ProtoMessage()

func (*SnapshotRecord) ProtoReflect added in v0.0.38

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

func (*SnapshotRecord) Reset added in v0.0.38

func (x *SnapshotRecord) Reset()

func (*SnapshotRecord) String added in v0.0.38

func (x *SnapshotRecord) String() string

func (*SnapshotRecord) ToBytes

func (sr *SnapshotRecord) ToBytes() ([]byte, error)

Jump to

Keyboard shortcuts

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