proto

package
v0.0.0-...-e7dcbf3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Empty file containing instructions for “go generate” on how to rebuild the capnproto generated code.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSnapshot        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSnapshot          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSnapshot = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Bool_name = map[int32]string{
	0: "UNSET",
	1: "TRUE",
	2: "FALSE",
}
View Source
var Bool_value = map[string]int32{
	"UNSET": 0,
	"TRUE":  1,
	"FALSE": 2,
}
View Source
var RaftLog_LogType_name = map[int32]string{
	0: "COMMAND",
	1: "NOOP",
	2: "ADDPEER",
	3: "REMOVEPEER",
	4: "BARRIER",
}
View Source
var RaftLog_LogType_value = map[string]int32{
	"COMMAND":    0,
	"NOOP":       1,
	"ADDPEER":    2,
	"REMOVEPEER": 3,
	"BARRIER":    4,
}
View Source
var RobustMessage_RobustType_name = map[int32]string{
	0: "CREATE_SESSION",
	1: "DELETE_SESSION",
	2: "IRC_FROM_CLIENT",
	3: "IRC_TO_CLIENT",
	4: "PING",
	5: "MESSAGE_OF_DEATH",
	6: "CONFIG",
	7: "STATE",
	8: "ANY",
}
View Source
var RobustMessage_RobustType_value = map[string]int32{
	"CREATE_SESSION":   0,
	"DELETE_SESSION":   1,
	"IRC_FROM_CLIENT":  2,
	"IRC_TO_CLIENT":    3,
	"PING":             4,
	"MESSAGE_OF_DEATH": 5,
	"CONFIG":           6,
	"STATE":            7,
	"ANY":              8,
}

Functions

This section is empty.

Types

type Bool

type Bool int32

Bool represents a boolean which can either be unset, true or false. This quirk is necessary because proto3 does not distinguish the default value (false) from a field not being set, which would not allow us to do upgrades from older versions of RobustIRC to newer versions of RobustIRC which introduce a new boolean field.

const (
	Bool_UNSET Bool = 0
	Bool_TRUE  Bool = 1
	Bool_FALSE Bool = 2
)

func (Bool) EnumDescriptor

func (Bool) EnumDescriptor() ([]byte, []int)

func (Bool) String

func (x Bool) String() string

type RaftLog

type RaftLog struct {
	Index                uint64          `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Term                 uint64          `protobuf:"varint,2,opt,name=term,proto3" json:"term,omitempty"`
	Type                 RaftLog_LogType `protobuf:"varint,3,opt,name=type,proto3,enum=proto.RaftLog_LogType" json:"type,omitempty"`
	Data                 []byte          `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Extensions           []byte          `protobuf:"bytes,5,opt,name=extensions,proto3" json:"extensions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RaftLog) Descriptor

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

func (*RaftLog) GetData

func (m *RaftLog) GetData() []byte

func (*RaftLog) GetExtensions

func (m *RaftLog) GetExtensions() []byte

func (*RaftLog) GetIndex

func (m *RaftLog) GetIndex() uint64

func (*RaftLog) GetTerm

func (m *RaftLog) GetTerm() uint64

func (*RaftLog) GetType

func (m *RaftLog) GetType() RaftLog_LogType

func (*RaftLog) Marshal

func (m *RaftLog) Marshal() (dAtA []byte, err error)

func (*RaftLog) MarshalTo

func (m *RaftLog) MarshalTo(dAtA []byte) (int, error)

func (*RaftLog) MarshalToSizedBuffer

func (m *RaftLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RaftLog) ProtoMessage

func (*RaftLog) ProtoMessage()

func (*RaftLog) Reset

func (m *RaftLog) Reset()

func (*RaftLog) Size

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

func (*RaftLog) String

func (m *RaftLog) String() string

func (*RaftLog) Unmarshal

func (m *RaftLog) Unmarshal(dAtA []byte) error

func (*RaftLog) XXX_DiscardUnknown

func (m *RaftLog) XXX_DiscardUnknown()

func (*RaftLog) XXX_Marshal

func (m *RaftLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RaftLog) XXX_Merge

func (m *RaftLog) XXX_Merge(src proto.Message)

func (*RaftLog) XXX_Size

func (m *RaftLog) XXX_Size() int

func (*RaftLog) XXX_Unmarshal

func (m *RaftLog) XXX_Unmarshal(b []byte) error

type RaftLog_LogType

type RaftLog_LogType int32
const (
	RaftLog_COMMAND    RaftLog_LogType = 0
	RaftLog_NOOP       RaftLog_LogType = 1
	RaftLog_ADDPEER    RaftLog_LogType = 2
	RaftLog_REMOVEPEER RaftLog_LogType = 3
	RaftLog_BARRIER    RaftLog_LogType = 4
)

func (RaftLog_LogType) EnumDescriptor

func (RaftLog_LogType) EnumDescriptor() ([]byte, []int)

func (RaftLog_LogType) String

func (x RaftLog_LogType) String() string

type RobustId

type RobustId struct {
	Id                   uint64   `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"`
	Reply                uint64   `protobuf:"fixed64,2,opt,name=reply,proto3" json:"reply,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobustId) Descriptor

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

func (*RobustId) GetId

func (m *RobustId) GetId() uint64

func (*RobustId) GetReply

func (m *RobustId) GetReply() uint64

func (*RobustId) Marshal

func (m *RobustId) Marshal() (dAtA []byte, err error)

func (*RobustId) MarshalTo

func (m *RobustId) MarshalTo(dAtA []byte) (int, error)

func (*RobustId) MarshalToSizedBuffer

func (m *RobustId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobustId) ProtoMessage

func (*RobustId) ProtoMessage()

func (*RobustId) Reset

func (m *RobustId) Reset()

func (*RobustId) Size

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

func (*RobustId) String

func (m *RobustId) String() string

func (*RobustId) Unmarshal

func (m *RobustId) Unmarshal(dAtA []byte) error

func (*RobustId) XXX_DiscardUnknown

func (m *RobustId) XXX_DiscardUnknown()

func (*RobustId) XXX_Marshal

func (m *RobustId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobustId) XXX_Merge

func (m *RobustId) XXX_Merge(src proto.Message)

func (*RobustId) XXX_Size

func (m *RobustId) XXX_Size() int

func (*RobustId) XXX_Unmarshal

func (m *RobustId) XXX_Unmarshal(b []byte) error

type RobustMessage

type RobustMessage struct {
	Id      *RobustId                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Session *RobustId                `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	Type    RobustMessage_RobustType `protobuf:"varint,3,opt,name=type,proto3,enum=proto.RobustMessage_RobustType" json:"type,omitempty"`
	Data    string                   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// TODO: use oneof for the following to save space?
	UnixNano             int64    `protobuf:"varint,5,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"`
	Servers              []string `protobuf:"bytes,6,rep,name=servers,proto3" json:"servers,omitempty"`
	CurrentMaster        string   `protobuf:"bytes,7,opt,name=current_master,json=currentMaster,proto3" json:"current_master,omitempty"`
	ClientMessageId      uint64   `protobuf:"varint,8,opt,name=client_message_id,json=clientMessageId,proto3" json:"client_message_id,omitempty"`
	Revision             uint64   `protobuf:"varint,9,opt,name=revision,proto3" json:"revision,omitempty"`
	RemoteAddr           string   `protobuf:"bytes,10,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobustMessage) Descriptor

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

func (*RobustMessage) GetClientMessageId

func (m *RobustMessage) GetClientMessageId() uint64

func (*RobustMessage) GetCurrentMaster

func (m *RobustMessage) GetCurrentMaster() string

func (*RobustMessage) GetData

func (m *RobustMessage) GetData() string

func (*RobustMessage) GetId

func (m *RobustMessage) GetId() *RobustId

func (*RobustMessage) GetRemoteAddr

func (m *RobustMessage) GetRemoteAddr() string

func (*RobustMessage) GetRevision

func (m *RobustMessage) GetRevision() uint64

func (*RobustMessage) GetServers

func (m *RobustMessage) GetServers() []string

func (*RobustMessage) GetSession

func (m *RobustMessage) GetSession() *RobustId

func (*RobustMessage) GetType

func (*RobustMessage) GetUnixNano

func (m *RobustMessage) GetUnixNano() int64

func (*RobustMessage) Marshal

func (m *RobustMessage) Marshal() (dAtA []byte, err error)

func (*RobustMessage) MarshalTo

func (m *RobustMessage) MarshalTo(dAtA []byte) (int, error)

func (*RobustMessage) MarshalToSizedBuffer

func (m *RobustMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobustMessage) ProtoMessage

func (*RobustMessage) ProtoMessage()

func (*RobustMessage) Reset

func (m *RobustMessage) Reset()

func (*RobustMessage) Size

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

func (*RobustMessage) String

func (m *RobustMessage) String() string

func (*RobustMessage) Unmarshal

func (m *RobustMessage) Unmarshal(dAtA []byte) error

func (*RobustMessage) XXX_DiscardUnknown

func (m *RobustMessage) XXX_DiscardUnknown()

func (*RobustMessage) XXX_Marshal

func (m *RobustMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobustMessage) XXX_Merge

func (m *RobustMessage) XXX_Merge(src proto.Message)

func (*RobustMessage) XXX_Size

func (m *RobustMessage) XXX_Size() int

func (*RobustMessage) XXX_Unmarshal

func (m *RobustMessage) XXX_Unmarshal(b []byte) error

type RobustMessage_RobustType

type RobustMessage_RobustType int32
const (
	RobustMessage_CREATE_SESSION   RobustMessage_RobustType = 0
	RobustMessage_DELETE_SESSION   RobustMessage_RobustType = 1
	RobustMessage_IRC_FROM_CLIENT  RobustMessage_RobustType = 2
	RobustMessage_IRC_TO_CLIENT    RobustMessage_RobustType = 3
	RobustMessage_PING             RobustMessage_RobustType = 4
	RobustMessage_MESSAGE_OF_DEATH RobustMessage_RobustType = 5
	RobustMessage_CONFIG           RobustMessage_RobustType = 6
	RobustMessage_STATE            RobustMessage_RobustType = 7
	RobustMessage_ANY              RobustMessage_RobustType = 8
)

func (RobustMessage_RobustType) EnumDescriptor

func (RobustMessage_RobustType) EnumDescriptor() ([]byte, []int)

func (RobustMessage_RobustType) String

func (x RobustMessage_RobustType) String() string

type Snapshot

type Snapshot struct {
	Sessions      []*Snapshot_Session          `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	Channels      []*Snapshot_Channel          `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	Svsholds      map[string]*Snapshot_SVSHold `` /* 157-byte string literal not displayed */
	LastProcessed *RobustId                    `protobuf:"bytes,4,opt,name=last_processed,json=lastProcessed,proto3" json:"last_processed,omitempty"`
	Config        *Snapshot_Config             `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// last_included_index is the last ircstore message index which was
	// included when taking the snapshot. This is relevant to store this
	// snapshot in fsm.lastSnapshotState when restoring after ircstore
	// was deleted.
	LastIncludedIndex    uint64   `protobuf:"varint,6,opt,name=last_included_index,json=lastIncludedIndex,proto3" json:"last_included_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Snapshot contains the entire state of an IRCServer object, so that a new IRCServer object can be created with exactly the same state.

func (*Snapshot) Descriptor

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

func (*Snapshot) GetChannels

func (m *Snapshot) GetChannels() []*Snapshot_Channel

func (*Snapshot) GetConfig

func (m *Snapshot) GetConfig() *Snapshot_Config

func (*Snapshot) GetLastIncludedIndex

func (m *Snapshot) GetLastIncludedIndex() uint64

func (*Snapshot) GetLastProcessed

func (m *Snapshot) GetLastProcessed() *RobustId

func (*Snapshot) GetSessions

func (m *Snapshot) GetSessions() []*Snapshot_Session

func (*Snapshot) GetSvsholds

func (m *Snapshot) GetSvsholds() map[string]*Snapshot_SVSHold

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) MarshalToSizedBuffer

func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

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

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

func (m *Snapshot) XXX_Unmarshal(b []byte) error

type Snapshot_Channel

type Snapshot_Channel struct {
	Name                 string                             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TopicNick            string                             `protobuf:"bytes,2,opt,name=topic_nick,json=topicNick,proto3" json:"topic_nick,omitempty"`
	TopicTime            *Timestamp                         `protobuf:"bytes,3,opt,name=topic_time,json=topicTime,proto3" json:"topic_time,omitempty"`
	Topic                string                             `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
	Nicks                map[string]*Snapshot_Channel_Modes `` /* 151-byte string literal not displayed */
	Modes                []string                           `protobuf:"bytes,6,rep,name=modes,proto3" json:"modes,omitempty"`
	Bans                 []*Snapshot_Channel_BanPattern     `protobuf:"bytes,7,rep,name=bans,proto3" json:"bans,omitempty"`
	Key                  string                             `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*Snapshot_Channel) Descriptor

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

func (*Snapshot_Channel) GetBans

func (*Snapshot_Channel) GetKey

func (m *Snapshot_Channel) GetKey() string

func (*Snapshot_Channel) GetModes

func (m *Snapshot_Channel) GetModes() []string

func (*Snapshot_Channel) GetName

func (m *Snapshot_Channel) GetName() string

func (*Snapshot_Channel) GetNicks

func (m *Snapshot_Channel) GetNicks() map[string]*Snapshot_Channel_Modes

func (*Snapshot_Channel) GetTopic

func (m *Snapshot_Channel) GetTopic() string

func (*Snapshot_Channel) GetTopicNick

func (m *Snapshot_Channel) GetTopicNick() string

func (*Snapshot_Channel) GetTopicTime

func (m *Snapshot_Channel) GetTopicTime() *Timestamp

func (*Snapshot_Channel) Marshal

func (m *Snapshot_Channel) Marshal() (dAtA []byte, err error)

func (*Snapshot_Channel) MarshalTo

func (m *Snapshot_Channel) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Channel) MarshalToSizedBuffer

func (m *Snapshot_Channel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Channel) ProtoMessage

func (*Snapshot_Channel) ProtoMessage()

func (*Snapshot_Channel) Reset

func (m *Snapshot_Channel) Reset()

func (*Snapshot_Channel) Size

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

func (*Snapshot_Channel) String

func (m *Snapshot_Channel) String() string

func (*Snapshot_Channel) Unmarshal

func (m *Snapshot_Channel) Unmarshal(dAtA []byte) error

func (*Snapshot_Channel) XXX_DiscardUnknown

func (m *Snapshot_Channel) XXX_DiscardUnknown()

func (*Snapshot_Channel) XXX_Marshal

func (m *Snapshot_Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Channel) XXX_Merge

func (m *Snapshot_Channel) XXX_Merge(src proto.Message)

func (*Snapshot_Channel) XXX_Size

func (m *Snapshot_Channel) XXX_Size() int

func (*Snapshot_Channel) XXX_Unmarshal

func (m *Snapshot_Channel) XXX_Unmarshal(b []byte) error

type Snapshot_Channel_BanPattern

type Snapshot_Channel_BanPattern struct {
	Pattern              string   `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Regexp               string   `protobuf:"bytes,2,opt,name=regexp,proto3" json:"regexp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Snapshot_Channel_BanPattern) Descriptor

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

func (*Snapshot_Channel_BanPattern) GetPattern

func (m *Snapshot_Channel_BanPattern) GetPattern() string

func (*Snapshot_Channel_BanPattern) GetRegexp

func (m *Snapshot_Channel_BanPattern) GetRegexp() string

func (*Snapshot_Channel_BanPattern) Marshal

func (m *Snapshot_Channel_BanPattern) Marshal() (dAtA []byte, err error)

func (*Snapshot_Channel_BanPattern) MarshalTo

func (m *Snapshot_Channel_BanPattern) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Channel_BanPattern) MarshalToSizedBuffer

func (m *Snapshot_Channel_BanPattern) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Channel_BanPattern) ProtoMessage

func (*Snapshot_Channel_BanPattern) ProtoMessage()

func (*Snapshot_Channel_BanPattern) Reset

func (m *Snapshot_Channel_BanPattern) Reset()

func (*Snapshot_Channel_BanPattern) Size

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

func (*Snapshot_Channel_BanPattern) String

func (m *Snapshot_Channel_BanPattern) String() string

func (*Snapshot_Channel_BanPattern) Unmarshal

func (m *Snapshot_Channel_BanPattern) Unmarshal(dAtA []byte) error

func (*Snapshot_Channel_BanPattern) XXX_DiscardUnknown

func (m *Snapshot_Channel_BanPattern) XXX_DiscardUnknown()

func (*Snapshot_Channel_BanPattern) XXX_Marshal

func (m *Snapshot_Channel_BanPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Channel_BanPattern) XXX_Merge

func (m *Snapshot_Channel_BanPattern) XXX_Merge(src proto.Message)

func (*Snapshot_Channel_BanPattern) XXX_Size

func (m *Snapshot_Channel_BanPattern) XXX_Size() int

func (*Snapshot_Channel_BanPattern) XXX_Unmarshal

func (m *Snapshot_Channel_BanPattern) XXX_Unmarshal(b []byte) error

type Snapshot_Channel_Modes

type Snapshot_Channel_Modes struct {
	Mode                 []string `protobuf:"bytes,1,rep,name=mode,proto3" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Modes is a workaround because proto3 does not support map<string, repeated string>.

func (*Snapshot_Channel_Modes) Descriptor

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

func (*Snapshot_Channel_Modes) GetMode

func (m *Snapshot_Channel_Modes) GetMode() []string

func (*Snapshot_Channel_Modes) Marshal

func (m *Snapshot_Channel_Modes) Marshal() (dAtA []byte, err error)

func (*Snapshot_Channel_Modes) MarshalTo

func (m *Snapshot_Channel_Modes) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Channel_Modes) MarshalToSizedBuffer

func (m *Snapshot_Channel_Modes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Channel_Modes) ProtoMessage

func (*Snapshot_Channel_Modes) ProtoMessage()

func (*Snapshot_Channel_Modes) Reset

func (m *Snapshot_Channel_Modes) Reset()

func (*Snapshot_Channel_Modes) Size

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

func (*Snapshot_Channel_Modes) String

func (m *Snapshot_Channel_Modes) String() string

func (*Snapshot_Channel_Modes) Unmarshal

func (m *Snapshot_Channel_Modes) Unmarshal(dAtA []byte) error

func (*Snapshot_Channel_Modes) XXX_DiscardUnknown

func (m *Snapshot_Channel_Modes) XXX_DiscardUnknown()

func (*Snapshot_Channel_Modes) XXX_Marshal

func (m *Snapshot_Channel_Modes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Channel_Modes) XXX_Merge

func (m *Snapshot_Channel_Modes) XXX_Merge(src proto.Message)

func (*Snapshot_Channel_Modes) XXX_Size

func (m *Snapshot_Channel_Modes) XXX_Size() int

func (*Snapshot_Channel_Modes) XXX_Unmarshal

func (m *Snapshot_Channel_Modes) XXX_Unmarshal(b []byte) error

type Snapshot_Config

type Snapshot_Config struct {
	Revision                uint64               `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Irc                     *Snapshot_Config_IRC `protobuf:"bytes,2,opt,name=irc,proto3" json:"irc,omitempty"`
	SessionExpiration       string               `protobuf:"bytes,3,opt,name=session_expiration,json=sessionExpiration,proto3" json:"session_expiration,omitempty"`
	PostMessageCooloff      string               `protobuf:"bytes,4,opt,name=post_message_cooloff,json=postMessageCooloff,proto3" json:"post_message_cooloff,omitempty"`
	TrustedBridges          map[string]string    `` /* 191-byte string literal not displayed */
	CaptchaUrl              string               `protobuf:"bytes,6,opt,name=captcha_url,json=captchaUrl,proto3" json:"captcha_url,omitempty"`
	CaptchaHmacSecret       string               `protobuf:"bytes,7,opt,name=captcha_hmac_secret,json=captchaHmacSecret,proto3" json:"captcha_hmac_secret,omitempty"`
	CaptchaRequiredForLogin bool                 `` /* 135-byte string literal not displayed */
	MaxSessions             uint64               `protobuf:"varint,9,opt,name=max_sessions,json=maxSessions,proto3" json:"max_sessions,omitempty"`
	MaxChannels             uint64               `protobuf:"varint,10,opt,name=max_channels,json=maxChannels,proto3" json:"max_channels,omitempty"`
	Banned                  map[string]string    `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}             `json:"-"`
	XXX_unrecognized        []byte               `json:"-"`
	XXX_sizecache           int32                `json:"-"`
}

func (*Snapshot_Config) Descriptor

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

func (*Snapshot_Config) GetBanned

func (m *Snapshot_Config) GetBanned() map[string]string

func (*Snapshot_Config) GetCaptchaHmacSecret

func (m *Snapshot_Config) GetCaptchaHmacSecret() string

func (*Snapshot_Config) GetCaptchaRequiredForLogin

func (m *Snapshot_Config) GetCaptchaRequiredForLogin() bool

func (*Snapshot_Config) GetCaptchaUrl

func (m *Snapshot_Config) GetCaptchaUrl() string

func (*Snapshot_Config) GetIrc

func (m *Snapshot_Config) GetIrc() *Snapshot_Config_IRC

func (*Snapshot_Config) GetMaxChannels

func (m *Snapshot_Config) GetMaxChannels() uint64

func (*Snapshot_Config) GetMaxSessions

func (m *Snapshot_Config) GetMaxSessions() uint64

func (*Snapshot_Config) GetPostMessageCooloff

func (m *Snapshot_Config) GetPostMessageCooloff() string

func (*Snapshot_Config) GetRevision

func (m *Snapshot_Config) GetRevision() uint64

func (*Snapshot_Config) GetSessionExpiration

func (m *Snapshot_Config) GetSessionExpiration() string

func (*Snapshot_Config) GetTrustedBridges

func (m *Snapshot_Config) GetTrustedBridges() map[string]string

func (*Snapshot_Config) Marshal

func (m *Snapshot_Config) Marshal() (dAtA []byte, err error)

func (*Snapshot_Config) MarshalTo

func (m *Snapshot_Config) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Config) MarshalToSizedBuffer

func (m *Snapshot_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Config) ProtoMessage

func (*Snapshot_Config) ProtoMessage()

func (*Snapshot_Config) Reset

func (m *Snapshot_Config) Reset()

func (*Snapshot_Config) Size

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

func (*Snapshot_Config) String

func (m *Snapshot_Config) String() string

func (*Snapshot_Config) Unmarshal

func (m *Snapshot_Config) Unmarshal(dAtA []byte) error

func (*Snapshot_Config) XXX_DiscardUnknown

func (m *Snapshot_Config) XXX_DiscardUnknown()

func (*Snapshot_Config) XXX_Marshal

func (m *Snapshot_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Config) XXX_Merge

func (m *Snapshot_Config) XXX_Merge(src proto.Message)

func (*Snapshot_Config) XXX_Size

func (m *Snapshot_Config) XXX_Size() int

func (*Snapshot_Config) XXX_Unmarshal

func (m *Snapshot_Config) XXX_Unmarshal(b []byte) error

type Snapshot_Config_IRC

type Snapshot_Config_IRC struct {
	Operators            []*Snapshot_Config_IRC_Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"`
	Services             []*Snapshot_Config_IRC_Service  `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*Snapshot_Config_IRC) Descriptor

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

func (*Snapshot_Config_IRC) GetOperators

func (*Snapshot_Config_IRC) GetServices

func (*Snapshot_Config_IRC) Marshal

func (m *Snapshot_Config_IRC) Marshal() (dAtA []byte, err error)

func (*Snapshot_Config_IRC) MarshalTo

func (m *Snapshot_Config_IRC) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC) MarshalToSizedBuffer

func (m *Snapshot_Config_IRC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC) ProtoMessage

func (*Snapshot_Config_IRC) ProtoMessage()

func (*Snapshot_Config_IRC) Reset

func (m *Snapshot_Config_IRC) Reset()

func (*Snapshot_Config_IRC) Size

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

func (*Snapshot_Config_IRC) String

func (m *Snapshot_Config_IRC) String() string

func (*Snapshot_Config_IRC) Unmarshal

func (m *Snapshot_Config_IRC) Unmarshal(dAtA []byte) error

func (*Snapshot_Config_IRC) XXX_DiscardUnknown

func (m *Snapshot_Config_IRC) XXX_DiscardUnknown()

func (*Snapshot_Config_IRC) XXX_Marshal

func (m *Snapshot_Config_IRC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Config_IRC) XXX_Merge

func (m *Snapshot_Config_IRC) XXX_Merge(src proto.Message)

func (*Snapshot_Config_IRC) XXX_Size

func (m *Snapshot_Config_IRC) XXX_Size() int

func (*Snapshot_Config_IRC) XXX_Unmarshal

func (m *Snapshot_Config_IRC) XXX_Unmarshal(b []byte) error

type Snapshot_Config_IRC_Operator

type Snapshot_Config_IRC_Operator struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Snapshot_Config_IRC_Operator) Descriptor

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

func (*Snapshot_Config_IRC_Operator) GetName

func (m *Snapshot_Config_IRC_Operator) GetName() string

func (*Snapshot_Config_IRC_Operator) GetPassword

func (m *Snapshot_Config_IRC_Operator) GetPassword() string

func (*Snapshot_Config_IRC_Operator) Marshal

func (m *Snapshot_Config_IRC_Operator) Marshal() (dAtA []byte, err error)

func (*Snapshot_Config_IRC_Operator) MarshalTo

func (m *Snapshot_Config_IRC_Operator) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC_Operator) MarshalToSizedBuffer

func (m *Snapshot_Config_IRC_Operator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC_Operator) ProtoMessage

func (*Snapshot_Config_IRC_Operator) ProtoMessage()

func (*Snapshot_Config_IRC_Operator) Reset

func (m *Snapshot_Config_IRC_Operator) Reset()

func (*Snapshot_Config_IRC_Operator) Size

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

func (*Snapshot_Config_IRC_Operator) String

func (*Snapshot_Config_IRC_Operator) Unmarshal

func (m *Snapshot_Config_IRC_Operator) Unmarshal(dAtA []byte) error

func (*Snapshot_Config_IRC_Operator) XXX_DiscardUnknown

func (m *Snapshot_Config_IRC_Operator) XXX_DiscardUnknown()

func (*Snapshot_Config_IRC_Operator) XXX_Marshal

func (m *Snapshot_Config_IRC_Operator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Config_IRC_Operator) XXX_Merge

func (m *Snapshot_Config_IRC_Operator) XXX_Merge(src proto.Message)

func (*Snapshot_Config_IRC_Operator) XXX_Size

func (m *Snapshot_Config_IRC_Operator) XXX_Size() int

func (*Snapshot_Config_IRC_Operator) XXX_Unmarshal

func (m *Snapshot_Config_IRC_Operator) XXX_Unmarshal(b []byte) error

type Snapshot_Config_IRC_Service

type Snapshot_Config_IRC_Service struct {
	Password             string   `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Snapshot_Config_IRC_Service) Descriptor

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

func (*Snapshot_Config_IRC_Service) GetPassword

func (m *Snapshot_Config_IRC_Service) GetPassword() string

func (*Snapshot_Config_IRC_Service) Marshal

func (m *Snapshot_Config_IRC_Service) Marshal() (dAtA []byte, err error)

func (*Snapshot_Config_IRC_Service) MarshalTo

func (m *Snapshot_Config_IRC_Service) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC_Service) MarshalToSizedBuffer

func (m *Snapshot_Config_IRC_Service) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Config_IRC_Service) ProtoMessage

func (*Snapshot_Config_IRC_Service) ProtoMessage()

func (*Snapshot_Config_IRC_Service) Reset

func (m *Snapshot_Config_IRC_Service) Reset()

func (*Snapshot_Config_IRC_Service) Size

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

func (*Snapshot_Config_IRC_Service) String

func (m *Snapshot_Config_IRC_Service) String() string

func (*Snapshot_Config_IRC_Service) Unmarshal

func (m *Snapshot_Config_IRC_Service) Unmarshal(dAtA []byte) error

func (*Snapshot_Config_IRC_Service) XXX_DiscardUnknown

func (m *Snapshot_Config_IRC_Service) XXX_DiscardUnknown()

func (*Snapshot_Config_IRC_Service) XXX_Marshal

func (m *Snapshot_Config_IRC_Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Config_IRC_Service) XXX_Merge

func (m *Snapshot_Config_IRC_Service) XXX_Merge(src proto.Message)

func (*Snapshot_Config_IRC_Service) XXX_Size

func (m *Snapshot_Config_IRC_Service) XXX_Size() int

func (*Snapshot_Config_IRC_Service) XXX_Unmarshal

func (m *Snapshot_Config_IRC_Service) XXX_Unmarshal(b []byte) error

type Snapshot_IRCPrefix

type Snapshot_IRCPrefix struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	User                 string   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Host                 string   `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Snapshot_IRCPrefix) Descriptor

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

func (*Snapshot_IRCPrefix) GetHost

func (m *Snapshot_IRCPrefix) GetHost() string

func (*Snapshot_IRCPrefix) GetName

func (m *Snapshot_IRCPrefix) GetName() string

func (*Snapshot_IRCPrefix) GetUser

func (m *Snapshot_IRCPrefix) GetUser() string

func (*Snapshot_IRCPrefix) Marshal

func (m *Snapshot_IRCPrefix) Marshal() (dAtA []byte, err error)

func (*Snapshot_IRCPrefix) MarshalTo

func (m *Snapshot_IRCPrefix) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_IRCPrefix) MarshalToSizedBuffer

func (m *Snapshot_IRCPrefix) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_IRCPrefix) ProtoMessage

func (*Snapshot_IRCPrefix) ProtoMessage()

func (*Snapshot_IRCPrefix) Reset

func (m *Snapshot_IRCPrefix) Reset()

func (*Snapshot_IRCPrefix) Size

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

func (*Snapshot_IRCPrefix) String

func (m *Snapshot_IRCPrefix) String() string

func (*Snapshot_IRCPrefix) Unmarshal

func (m *Snapshot_IRCPrefix) Unmarshal(dAtA []byte) error

func (*Snapshot_IRCPrefix) XXX_DiscardUnknown

func (m *Snapshot_IRCPrefix) XXX_DiscardUnknown()

func (*Snapshot_IRCPrefix) XXX_Marshal

func (m *Snapshot_IRCPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_IRCPrefix) XXX_Merge

func (m *Snapshot_IRCPrefix) XXX_Merge(src proto.Message)

func (*Snapshot_IRCPrefix) XXX_Size

func (m *Snapshot_IRCPrefix) XXX_Size() int

func (*Snapshot_IRCPrefix) XXX_Unmarshal

func (m *Snapshot_IRCPrefix) XXX_Unmarshal(b []byte) error

type Snapshot_SVSHold

type Snapshot_SVSHold struct {
	Added                *Timestamp `protobuf:"bytes,1,opt,name=added,proto3" json:"added,omitempty"`
	Duration             string     `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Reason               string     `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Snapshot_SVSHold) Descriptor

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

func (*Snapshot_SVSHold) GetAdded

func (m *Snapshot_SVSHold) GetAdded() *Timestamp

func (*Snapshot_SVSHold) GetDuration

func (m *Snapshot_SVSHold) GetDuration() string

func (*Snapshot_SVSHold) GetReason

func (m *Snapshot_SVSHold) GetReason() string

func (*Snapshot_SVSHold) Marshal

func (m *Snapshot_SVSHold) Marshal() (dAtA []byte, err error)

func (*Snapshot_SVSHold) MarshalTo

func (m *Snapshot_SVSHold) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_SVSHold) MarshalToSizedBuffer

func (m *Snapshot_SVSHold) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_SVSHold) ProtoMessage

func (*Snapshot_SVSHold) ProtoMessage()

func (*Snapshot_SVSHold) Reset

func (m *Snapshot_SVSHold) Reset()

func (*Snapshot_SVSHold) Size

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

func (*Snapshot_SVSHold) String

func (m *Snapshot_SVSHold) String() string

func (*Snapshot_SVSHold) Unmarshal

func (m *Snapshot_SVSHold) Unmarshal(dAtA []byte) error

func (*Snapshot_SVSHold) XXX_DiscardUnknown

func (m *Snapshot_SVSHold) XXX_DiscardUnknown()

func (*Snapshot_SVSHold) XXX_Marshal

func (m *Snapshot_SVSHold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_SVSHold) XXX_Merge

func (m *Snapshot_SVSHold) XXX_Merge(src proto.Message)

func (*Snapshot_SVSHold) XXX_Size

func (m *Snapshot_SVSHold) XXX_Size() int

func (*Snapshot_SVSHold) XXX_Unmarshal

func (m *Snapshot_SVSHold) XXX_Unmarshal(b []byte) error

type Snapshot_Session

type Snapshot_Session struct {
	Id                   *RobustId           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Auth                 string              `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Nick                 string              `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"`
	Username             string              `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Realname             string              `protobuf:"bytes,5,opt,name=realname,proto3" json:"realname,omitempty"`
	Channels             []string            `protobuf:"bytes,6,rep,name=channels,proto3" json:"channels,omitempty"`
	LastActivity         *Timestamp          `protobuf:"bytes,7,opt,name=last_activity,json=lastActivity,proto3" json:"last_activity,omitempty"`
	Operator             bool                `protobuf:"varint,8,opt,name=operator,proto3" json:"operator,omitempty"`
	AwayMsg              string              `protobuf:"bytes,9,opt,name=away_msg,json=awayMsg,proto3" json:"away_msg,omitempty"`
	Created              int64               `protobuf:"varint,22,opt,name=created,proto3" json:"created,omitempty"`
	ThrottlingExponent   int64               `protobuf:"varint,10,opt,name=throttling_exponent,json=throttlingExponent,proto3" json:"throttling_exponent,omitempty"`
	InvitedTo            []string            `protobuf:"bytes,11,rep,name=invited_to,json=invitedTo,proto3" json:"invited_to,omitempty"`
	Modes                []string            `protobuf:"bytes,12,rep,name=modes,proto3" json:"modes,omitempty"`
	Svid                 string              `protobuf:"bytes,13,opt,name=svid,proto3" json:"svid,omitempty"`
	Pass                 string              `protobuf:"bytes,14,opt,name=pass,proto3" json:"pass,omitempty"`
	Server               bool                `protobuf:"varint,15,opt,name=server,proto3" json:"server,omitempty"`
	LastClientMessageId  uint64              `protobuf:"varint,17,opt,name=last_client_message_id,json=lastClientMessageId,proto3" json:"last_client_message_id,omitempty"`
	IrcPrefix            *Snapshot_IRCPrefix `protobuf:"bytes,18,opt,name=irc_prefix,json=ircPrefix,proto3" json:"irc_prefix,omitempty"`
	LastNonPing          *Timestamp          `protobuf:"bytes,19,opt,name=last_non_ping,json=lastNonPing,proto3" json:"last_non_ping,omitempty"`
	LastSolvedCaptcha    *Timestamp          `protobuf:"bytes,20,opt,name=last_solved_captcha,json=lastSolvedCaptcha,proto3" json:"last_solved_captcha,omitempty"`
	LoggedIn             Bool                `protobuf:"varint,21,opt,name=logged_in,json=loggedIn,proto3,enum=proto.Bool" json:"logged_in,omitempty"`
	RemoteAddr           string              `protobuf:"bytes,23,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Snapshot_Session) Descriptor

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

func (*Snapshot_Session) GetAuth

func (m *Snapshot_Session) GetAuth() string

func (*Snapshot_Session) GetAwayMsg

func (m *Snapshot_Session) GetAwayMsg() string

func (*Snapshot_Session) GetChannels

func (m *Snapshot_Session) GetChannels() []string

func (*Snapshot_Session) GetCreated

func (m *Snapshot_Session) GetCreated() int64

func (*Snapshot_Session) GetId

func (m *Snapshot_Session) GetId() *RobustId

func (*Snapshot_Session) GetInvitedTo

func (m *Snapshot_Session) GetInvitedTo() []string

func (*Snapshot_Session) GetIrcPrefix

func (m *Snapshot_Session) GetIrcPrefix() *Snapshot_IRCPrefix

func (*Snapshot_Session) GetLastActivity

func (m *Snapshot_Session) GetLastActivity() *Timestamp

func (*Snapshot_Session) GetLastClientMessageId

func (m *Snapshot_Session) GetLastClientMessageId() uint64

func (*Snapshot_Session) GetLastNonPing

func (m *Snapshot_Session) GetLastNonPing() *Timestamp

func (*Snapshot_Session) GetLastSolvedCaptcha

func (m *Snapshot_Session) GetLastSolvedCaptcha() *Timestamp

func (*Snapshot_Session) GetLoggedIn

func (m *Snapshot_Session) GetLoggedIn() Bool

func (*Snapshot_Session) GetModes

func (m *Snapshot_Session) GetModes() []string

func (*Snapshot_Session) GetNick

func (m *Snapshot_Session) GetNick() string

func (*Snapshot_Session) GetOperator

func (m *Snapshot_Session) GetOperator() bool

func (*Snapshot_Session) GetPass

func (m *Snapshot_Session) GetPass() string

func (*Snapshot_Session) GetRealname

func (m *Snapshot_Session) GetRealname() string

func (*Snapshot_Session) GetRemoteAddr

func (m *Snapshot_Session) GetRemoteAddr() string

func (*Snapshot_Session) GetServer

func (m *Snapshot_Session) GetServer() bool

func (*Snapshot_Session) GetSvid

func (m *Snapshot_Session) GetSvid() string

func (*Snapshot_Session) GetThrottlingExponent

func (m *Snapshot_Session) GetThrottlingExponent() int64

func (*Snapshot_Session) GetUsername

func (m *Snapshot_Session) GetUsername() string

func (*Snapshot_Session) Marshal

func (m *Snapshot_Session) Marshal() (dAtA []byte, err error)

func (*Snapshot_Session) MarshalTo

func (m *Snapshot_Session) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot_Session) MarshalToSizedBuffer

func (m *Snapshot_Session) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot_Session) ProtoMessage

func (*Snapshot_Session) ProtoMessage()

func (*Snapshot_Session) Reset

func (m *Snapshot_Session) Reset()

func (*Snapshot_Session) Size

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

func (*Snapshot_Session) String

func (m *Snapshot_Session) String() string

func (*Snapshot_Session) Unmarshal

func (m *Snapshot_Session) Unmarshal(dAtA []byte) error

func (*Snapshot_Session) XXX_DiscardUnknown

func (m *Snapshot_Session) XXX_DiscardUnknown()

func (*Snapshot_Session) XXX_Marshal

func (m *Snapshot_Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot_Session) XXX_Merge

func (m *Snapshot_Session) XXX_Merge(src proto.Message)

func (*Snapshot_Session) XXX_Size

func (m *Snapshot_Session) XXX_Size() int

func (*Snapshot_Session) XXX_Unmarshal

func (m *Snapshot_Session) XXX_Unmarshal(b []byte) error

type Timestamp

type Timestamp struct {
	UnixNano             int64    `protobuf:"varint,1,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"`
	IsZero               bool     `protobuf:"varint,2,opt,name=is_zero,json=isZero,proto3" json:"is_zero,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Timestamp serializes a Go time.Time value with correct IsZero() semantics. Merely serializing the UnixNano() value is not sufficient, see https://play.golang.org/p/n3ZWGwZCKR

func (*Timestamp) Descriptor

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

func (*Timestamp) GetIsZero

func (m *Timestamp) GetIsZero() bool

func (*Timestamp) GetUnixNano

func (m *Timestamp) GetUnixNano() int64

func (*Timestamp) Marshal

func (m *Timestamp) Marshal() (dAtA []byte, err error)

func (*Timestamp) MarshalTo

func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)

func (*Timestamp) MarshalToSizedBuffer

func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) Size

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

func (*Timestamp) String

func (m *Timestamp) String() string

func (*Timestamp) Unmarshal

func (m *Timestamp) Unmarshal(dAtA []byte) error

func (*Timestamp) XXX_DiscardUnknown

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal

func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Timestamp) XXX_Merge

func (m *Timestamp) XXX_Merge(src proto.Message)

func (*Timestamp) XXX_Size

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal

func (m *Timestamp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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