internal

package
v0.0.0-...-4471eec Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package internal is a generated protocol buffer package.

It is generated from these files:

internal/data.proto

It has these top-level messages:

WriteShardRequest
From
Content
Mention
Message
WriteShardResponse
MapShardRequest
MapShardResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	PlainText        *string `protobuf:"bytes,1,req" json:"PlainText,omitempty"`
	HTML             *string `protobuf:"bytes,2,opt" json:"HTML,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Content) GetHTML

func (m *Content) GetHTML() string

func (*Content) GetPlainText

func (m *Content) GetPlainText() string

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) String

func (m *Content) String() string

type From

type From struct {
	UserID           *string `protobuf:"bytes,1,req" json:"UserID,omitempty"`
	Name             *string `protobuf:"bytes,2,req" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*From) GetName

func (m *From) GetName() string

func (*From) GetUserID

func (m *From) GetUserID() string

func (*From) ProtoMessage

func (*From) ProtoMessage()

func (*From) Reset

func (m *From) Reset()

func (*From) String

func (m *From) String() string

type MapShardRequest

type MapShardRequest struct {
	ShardID          *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"`
	Query            *string `protobuf:"bytes,2,req" json:"Query,omitempty"`
	ChunkSize        *int32  `protobuf:"varint,3,req" json:"ChunkSize,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MapShardRequest) GetChunkSize

func (m *MapShardRequest) GetChunkSize() int32

func (*MapShardRequest) GetQuery

func (m *MapShardRequest) GetQuery() string

func (*MapShardRequest) GetShardID

func (m *MapShardRequest) GetShardID() uint64

func (*MapShardRequest) ProtoMessage

func (*MapShardRequest) ProtoMessage()

func (*MapShardRequest) Reset

func (m *MapShardRequest) Reset()

func (*MapShardRequest) String

func (m *MapShardRequest) String() string

type MapShardResponse

type MapShardResponse struct {
	Code             *int32  `protobuf:"varint,1,req" json:"Code,omitempty"`
	Message          *string `protobuf:"bytes,2,opt" json:"Message,omitempty"`
	Data             []byte  `protobuf:"bytes,3,opt" json:"Data,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MapShardResponse) GetCode

func (m *MapShardResponse) GetCode() int32

func (*MapShardResponse) GetData

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

func (*MapShardResponse) GetMessage

func (m *MapShardResponse) GetMessage() string

func (*MapShardResponse) ProtoMessage

func (*MapShardResponse) ProtoMessage()

func (*MapShardResponse) Reset

func (m *MapShardResponse) Reset()

func (*MapShardResponse) String

func (m *MapShardResponse) String() string

type Mention

type Mention struct {
	RecipientID       *string `protobuf:"bytes,1,req" json:"RecipientID,omitempty"`
	RecipientUsername *string `protobuf:"bytes,2,req" json:"RecipientUsername,omitempty"`
	XXX_unrecognized  []byte  `json:"-"`
}

func (*Mention) GetRecipientID

func (m *Mention) GetRecipientID() string

func (*Mention) GetRecipientUsername

func (m *Mention) GetRecipientUsername() string

func (*Mention) ProtoMessage

func (*Mention) ProtoMessage()

func (*Mention) Reset

func (m *Mention) Reset()

func (*Mention) String

func (m *Mention) String() string

type Message

type Message struct {
	Id               *string  `protobuf:"bytes,1,opt" json:"Id,omitempty"`
	Time             *int64   `protobuf:"varint,2,req" json:"Time,omitempty"`
	From             *From    `protobuf:"bytes,3,opt" json:"From,omitempty"`
	Content          *Content `protobuf:"bytes,4,opt" json:"Content,omitempty"`
	Mentions         *Mention `protobuf:"bytes,5,opt" json:"Mentions,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Message) GetContent

func (m *Message) GetContent() *Content

func (*Message) GetFrom

func (m *Message) GetFrom() *From

func (*Message) GetId

func (m *Message) GetId() string

func (*Message) GetMentions

func (m *Message) GetMentions() *Mention

func (*Message) GetTime

func (m *Message) GetTime() int64

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

type WriteShardRequest

type WriteShardRequest struct {
	ShardID          *uint64    `protobuf:"varint,1,req" json:"ShardID,omitempty"`
	Messages         []*Message `protobuf:"bytes,2,rep" json:"Messages,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

func (*WriteShardRequest) GetMessages

func (m *WriteShardRequest) GetMessages() []*Message

func (*WriteShardRequest) GetShardID

func (m *WriteShardRequest) GetShardID() uint64

func (*WriteShardRequest) ProtoMessage

func (*WriteShardRequest) ProtoMessage()

func (*WriteShardRequest) Reset

func (m *WriteShardRequest) Reset()

func (*WriteShardRequest) String

func (m *WriteShardRequest) String() string

type WriteShardResponse

type WriteShardResponse struct {
	Code             *int32  `protobuf:"varint,1,req" json:"Code,omitempty"`
	Message          *string `protobuf:"bytes,2,opt" json:"Message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*WriteShardResponse) GetCode

func (m *WriteShardResponse) GetCode() int32

func (*WriteShardResponse) GetMessage

func (m *WriteShardResponse) GetMessage() string

func (*WriteShardResponse) ProtoMessage

func (*WriteShardResponse) ProtoMessage()

func (*WriteShardResponse) Reset

func (m *WriteShardResponse) Reset()

func (*WriteShardResponse) String

func (m *WriteShardResponse) String() string

Jump to

Keyboard shortcuts

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