proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

serializations.proto

It has these top-level messages:

LogDelta
HistoryEntry
NodeData
Quad

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryEntry

type HistoryEntry struct {
	History []uint64 `protobuf:"varint,1,rep" json:"History,omitempty"`
}

func (*HistoryEntry) Marshal

func (m *HistoryEntry) Marshal() (data []byte, err error)

func (*HistoryEntry) MarshalTo

func (m *HistoryEntry) MarshalTo(data []byte) (n int, err error)

func (*HistoryEntry) ProtoMessage

func (*HistoryEntry) ProtoMessage()

func (*HistoryEntry) Reset

func (m *HistoryEntry) Reset()

func (*HistoryEntry) Size

func (m *HistoryEntry) Size() (n int)

func (*HistoryEntry) String

func (m *HistoryEntry) String() string

func (*HistoryEntry) Unmarshal

func (m *HistoryEntry) Unmarshal(data []byte) error

type LogDelta

type LogDelta struct {
	ID        uint64 `protobuf:"varint,1,opt,proto3" json:"ID,omitempty"`
	Quad      *Quad  `protobuf:"bytes,2,opt" json:"Quad,omitempty"`
	Action    int32  `protobuf:"varint,3,opt,proto3" json:"Action,omitempty"`
	Timestamp int64  `protobuf:"varint,4,opt,proto3" json:"Timestamp,omitempty"`
}

func (*LogDelta) GetQuad

func (m *LogDelta) GetQuad() *Quad

func (*LogDelta) Marshal

func (m *LogDelta) Marshal() (data []byte, err error)

func (*LogDelta) MarshalTo

func (m *LogDelta) MarshalTo(data []byte) (n int, err error)

func (*LogDelta) ProtoMessage

func (*LogDelta) ProtoMessage()

func (*LogDelta) Reset

func (m *LogDelta) Reset()

func (*LogDelta) Size

func (m *LogDelta) Size() (n int)

func (*LogDelta) String

func (m *LogDelta) String() string

func (*LogDelta) Unmarshal

func (m *LogDelta) Unmarshal(data []byte) error

type NodeData

type NodeData struct {
	Name  string `protobuf:"bytes,1,opt,proto3" json:"Name,omitempty"`
	Size_ int64  `protobuf:"varint,2,opt,proto3" json:"Size,omitempty"`
}

func (*NodeData) Marshal

func (m *NodeData) Marshal() (data []byte, err error)

func (*NodeData) MarshalTo

func (m *NodeData) MarshalTo(data []byte) (n int, err error)

func (*NodeData) ProtoMessage

func (*NodeData) ProtoMessage()

func (*NodeData) Reset

func (m *NodeData) Reset()

func (*NodeData) Size

func (m *NodeData) Size() (n int)

func (*NodeData) String

func (m *NodeData) String() string

func (*NodeData) Unmarshal

func (m *NodeData) Unmarshal(data []byte) error

type Quad

type Quad struct {
	Subject   string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Predicate string `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	Object    string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Label     string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
}

func (*Quad) Marshal

func (m *Quad) Marshal() (data []byte, err error)

func (*Quad) MarshalTo

func (m *Quad) MarshalTo(data []byte) (n int, err error)

func (*Quad) ProtoMessage

func (*Quad) ProtoMessage()

func (*Quad) Reset

func (m *Quad) Reset()

func (*Quad) Size

func (m *Quad) Size() (n int)

func (*Quad) String

func (m *Quad) String() string

func (*Quad) Unmarshal

func (m *Quad) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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