123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.32.0
- // protoc v4.25.1
- // source: proto/message.proto
- package model
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type RosterChange_Op int32
- const (
- RosterChange_OP_UNSPECIFIED RosterChange_Op = 0
- RosterChange_OP_JOINED RosterChange_Op = 1
- RosterChange_OP_LEFT RosterChange_Op = 2
- )
- // Enum value maps for RosterChange_Op.
- var (
- RosterChange_Op_name = map[int32]string{
- 0: "OP_UNSPECIFIED",
- 1: "OP_JOINED",
- 2: "OP_LEFT",
- }
- RosterChange_Op_value = map[string]int32{
- "OP_UNSPECIFIED": 0,
- "OP_JOINED": 1,
- "OP_LEFT": 2,
- }
- )
- func (x RosterChange_Op) Enum() *RosterChange_Op {
- p := new(RosterChange_Op)
- *p = x
- return p
- }
- func (x RosterChange_Op) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (RosterChange_Op) Descriptor() protoreflect.EnumDescriptor {
- return file_proto_message_proto_enumTypes[0].Descriptor()
- }
- func (RosterChange_Op) Type() protoreflect.EnumType {
- return &file_proto_message_proto_enumTypes[0]
- }
- func (x RosterChange_Op) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use RosterChange_Op.Descriptor instead.
- func (RosterChange_Op) EnumDescriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{3, 0}
- }
- type Message struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
- Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
- Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
- Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
- User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
- Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
- Sticker bool `protobuf:"varint,12,opt,name=sticker,proto3" json:"sticker,omitempty"`
- }
- func (x *Message) Reset() {
- *x = Message{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_message_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Message) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Message) ProtoMessage() {}
- func (x *Message) ProtoReflect() protoreflect.Message {
- mi := &file_proto_message_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Message.ProtoReflect.Descriptor instead.
- func (*Message) Descriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{0}
- }
- func (x *Message) GetAt() *timestamppb.Timestamp {
- if x != nil {
- return x.At
- }
- return nil
- }
- func (x *Message) GetPlatform() string {
- if x != nil {
- return x.Platform
- }
- return ""
- }
- func (x *Message) GetBroadcaster() string {
- if x != nil {
- return x.Broadcaster
- }
- return ""
- }
- func (x *Message) GetRaw() []byte {
- if x != nil {
- return x.Raw
- }
- return nil
- }
- func (x *Message) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *Message) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- func (x *Message) GetSticker() bool {
- if x != nil {
- return x.Sticker
- }
- return false
- }
- type Donation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
- Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
- Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
- Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
- User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
- Amount uint64 `protobuf:"varint,11,opt,name=amount,proto3" json:"amount,omitempty"`
- }
- func (x *Donation) Reset() {
- *x = Donation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_message_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Donation) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Donation) ProtoMessage() {}
- func (x *Donation) ProtoReflect() protoreflect.Message {
- mi := &file_proto_message_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Donation.ProtoReflect.Descriptor instead.
- func (*Donation) Descriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{1}
- }
- func (x *Donation) GetAt() *timestamppb.Timestamp {
- if x != nil {
- return x.At
- }
- return nil
- }
- func (x *Donation) GetPlatform() string {
- if x != nil {
- return x.Platform
- }
- return ""
- }
- func (x *Donation) GetBroadcaster() string {
- if x != nil {
- return x.Broadcaster
- }
- return ""
- }
- func (x *Donation) GetRaw() []byte {
- if x != nil {
- return x.Raw
- }
- return nil
- }
- func (x *Donation) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *Donation) GetAmount() uint64 {
- if x != nil {
- return x.Amount
- }
- return 0
- }
- type Online struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
- Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
- Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
- Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
- Total uint64 `protobuf:"varint,12,opt,name=total,proto3" json:"total,omitempty"`
- DevicePc uint64 `protobuf:"varint,13,opt,name=device_pc,proto3" json:"device_pc,omitempty"`
- DeviceMobile uint64 `protobuf:"varint,14,opt,name=device_mobile,proto3" json:"device_mobile,omitempty"`
- DeviceUnknown uint64 `protobuf:"varint,15,opt,name=device_unknown,proto3" json:"device_unknown,omitempty"`
- }
- func (x *Online) Reset() {
- *x = Online{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_message_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Online) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Online) ProtoMessage() {}
- func (x *Online) ProtoReflect() protoreflect.Message {
- mi := &file_proto_message_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Online.ProtoReflect.Descriptor instead.
- func (*Online) Descriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{2}
- }
- func (x *Online) GetAt() *timestamppb.Timestamp {
- if x != nil {
- return x.At
- }
- return nil
- }
- func (x *Online) GetPlatform() string {
- if x != nil {
- return x.Platform
- }
- return ""
- }
- func (x *Online) GetBroadcaster() string {
- if x != nil {
- return x.Broadcaster
- }
- return ""
- }
- func (x *Online) GetRaw() []byte {
- if x != nil {
- return x.Raw
- }
- return nil
- }
- func (x *Online) GetTotal() uint64 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *Online) GetDevicePc() uint64 {
- if x != nil {
- return x.DevicePc
- }
- return 0
- }
- func (x *Online) GetDeviceMobile() uint64 {
- if x != nil {
- return x.DeviceMobile
- }
- return 0
- }
- func (x *Online) GetDeviceUnknown() uint64 {
- if x != nil {
- return x.DeviceUnknown
- }
- return 0
- }
- type RosterChange struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
- Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
- Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
- Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
- User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
- Operation RosterChange_Op `protobuf:"varint,11,opt,name=operation,json=op,proto3,enum=model.RosterChange_Op" json:"operation,omitempty"`
- }
- func (x *RosterChange) Reset() {
- *x = RosterChange{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_message_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RosterChange) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RosterChange) ProtoMessage() {}
- func (x *RosterChange) ProtoReflect() protoreflect.Message {
- mi := &file_proto_message_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RosterChange.ProtoReflect.Descriptor instead.
- func (*RosterChange) Descriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{3}
- }
- func (x *RosterChange) GetAt() *timestamppb.Timestamp {
- if x != nil {
- return x.At
- }
- return nil
- }
- func (x *RosterChange) GetPlatform() string {
- if x != nil {
- return x.Platform
- }
- return ""
- }
- func (x *RosterChange) GetBroadcaster() string {
- if x != nil {
- return x.Broadcaster
- }
- return ""
- }
- func (x *RosterChange) GetRaw() []byte {
- if x != nil {
- return x.Raw
- }
- return nil
- }
- func (x *RosterChange) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *RosterChange) GetOperation() RosterChange_Op {
- if x != nil {
- return x.Operation
- }
- return RosterChange_OP_UNSPECIFIED
- }
- type User struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- }
- func (x *User) Reset() {
- *x = User{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_message_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *User) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*User) ProtoMessage() {}
- func (x *User) ProtoReflect() protoreflect.Message {
- mi := &file_proto_message_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use User.ProtoReflect.Descriptor instead.
- func (*User) Descriptor() ([]byte, []int) {
- return file_proto_message_proto_rawDescGZIP(), []int{4}
- }
- func (x *User) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *User) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- var File_proto_message_proto protoreflect.FileDescriptor
- var file_proto_message_proto_rawDesc = []byte{
- 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x1f, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01,
- 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
- 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
- 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73,
- 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
- 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74,
- 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x69,
- 0x63, 0x6b, 0x65, 0x72, 0x22, 0xbf, 0x01, 0x0a, 0x08, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a,
- 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f,
- 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72,
- 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a,
- 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f,
- 0x64, 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16,
- 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x86, 0x02, 0x0a, 0x06, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
- 0x65, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a,
- 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f,
- 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72,
- 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x14, 0x0a,
- 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f,
- 0x74, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x63,
- 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70,
- 0x63, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x62, 0x69,
- 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
- 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63,
- 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x22,
- 0x90, 0x02, 0x0a, 0x0c, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08,
- 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x61,
- 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62,
- 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61,
- 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a, 0x04,
- 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f, 0x64,
- 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x0a,
- 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x16, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x43,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x02, 0x6f, 0x70, 0x22, 0x34, 0x0a, 0x02,
- 0x4f, 0x70, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x5f, 0x4a, 0x4f, 0x49,
- 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x4c, 0x45, 0x46, 0x54,
- 0x10, 0x02, 0x22, 0x2a, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09,
- 0x5a, 0x07, 0x2e, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
- }
- var (
- file_proto_message_proto_rawDescOnce sync.Once
- file_proto_message_proto_rawDescData = file_proto_message_proto_rawDesc
- )
- func file_proto_message_proto_rawDescGZIP() []byte {
- file_proto_message_proto_rawDescOnce.Do(func() {
- file_proto_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_message_proto_rawDescData)
- })
- return file_proto_message_proto_rawDescData
- }
- var file_proto_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_proto_message_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
- var file_proto_message_proto_goTypes = []interface{}{
- (RosterChange_Op)(0), // 0: model.RosterChange.Op
- (*Message)(nil), // 1: model.Message
- (*Donation)(nil), // 2: model.Donation
- (*Online)(nil), // 3: model.Online
- (*RosterChange)(nil), // 4: model.RosterChange
- (*User)(nil), // 5: model.User
- (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
- }
- var file_proto_message_proto_depIdxs = []int32{
- 6, // 0: model.Message.at:type_name -> google.protobuf.Timestamp
- 5, // 1: model.Message.user:type_name -> model.User
- 6, // 2: model.Donation.at:type_name -> google.protobuf.Timestamp
- 5, // 3: model.Donation.user:type_name -> model.User
- 6, // 4: model.Online.at:type_name -> google.protobuf.Timestamp
- 6, // 5: model.RosterChange.at:type_name -> google.protobuf.Timestamp
- 5, // 6: model.RosterChange.user:type_name -> model.User
- 0, // 7: model.RosterChange.operation:type_name -> model.RosterChange.Op
- 8, // [8:8] is the sub-list for method output_type
- 8, // [8:8] is the sub-list for method input_type
- 8, // [8:8] is the sub-list for extension type_name
- 8, // [8:8] is the sub-list for extension extendee
- 0, // [0:8] is the sub-list for field type_name
- }
- func init() { file_proto_message_proto_init() }
- func file_proto_message_proto_init() {
- if File_proto_message_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_proto_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Donation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Online); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RosterChange); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*User); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_proto_message_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 5,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_proto_message_proto_goTypes,
- DependencyIndexes: file_proto_message_proto_depIdxs,
- EnumInfos: file_proto_message_proto_enumTypes,
- MessageInfos: file_proto_message_proto_msgTypes,
- }.Build()
- File_proto_message_proto = out.File
- file_proto_message_proto_rawDesc = nil
- file_proto_message_proto_goTypes = nil
- file_proto_message_proto_depIdxs = nil
- }
|