|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.20.0--rc2
- // source: connect.ext.proto
-
- package pb
-
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- 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 PackageType int32
-
- const (
- PackageType_PT_UNKNOWN PackageType = 0 // 未知
- PackageType_PT_SIGN_IN PackageType = 1 // 设备登录请求
- PackageType_PT_SYNC PackageType = 2 // 消息同步触发
- PackageType_PT_HEARTBEAT PackageType = 3 // 心跳
- PackageType_PT_MESSAGE PackageType = 4 // 消息投递
- PackageType_PT_SUBSCRIBE_ROOM PackageType = 5 // 订阅房间
- )
-
- // Enum value maps for PackageType.
- var (
- PackageType_name = map[int32]string{
- 0: "PT_UNKNOWN",
- 1: "PT_SIGN_IN",
- 2: "PT_SYNC",
- 3: "PT_HEARTBEAT",
- 4: "PT_MESSAGE",
- 5: "PT_SUBSCRIBE_ROOM",
- }
- PackageType_value = map[string]int32{
- "PT_UNKNOWN": 0,
- "PT_SIGN_IN": 1,
- "PT_SYNC": 2,
- "PT_HEARTBEAT": 3,
- "PT_MESSAGE": 4,
- "PT_SUBSCRIBE_ROOM": 5,
- }
- )
-
- func (x PackageType) Enum() *PackageType {
- p := new(PackageType)
- *p = x
- return p
- }
-
- func (x PackageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (PackageType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[0].Descriptor()
- }
-
- func (PackageType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[0]
- }
-
- func (x PackageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use PackageType.Descriptor instead.
- func (PackageType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{0}
- }
-
- // 消息类型
- type MessageType int32
-
- const (
- MessageType_MT_UNKNOWN MessageType = 0 // 未知
- MessageType_MT_TEXT MessageType = 1 // 文本
- MessageType_MT_FACE MessageType = 2 // 表情
- MessageType_MT_VOICE MessageType = 3 // 语音消息
- MessageType_MT_IMAGE MessageType = 4 // 图片
- MessageType_MT_FILE MessageType = 5 // 文件
- MessageType_MT_LOCATION MessageType = 6 // 地理位置
- MessageType_MT_COMMAND MessageType = 7 // 指令推送
- MessageType_MT_CUSTOM MessageType = 8 // 自定义
- MessageType_MT_RECALL MessageType = 9 // 撤回消息
- MessageType_MT_RED_PACKAGE MessageType = 10 // 红包消息
- )
-
- // Enum value maps for MessageType.
- var (
- MessageType_name = map[int32]string{
- 0: "MT_UNKNOWN",
- 1: "MT_TEXT",
- 2: "MT_FACE",
- 3: "MT_VOICE",
- 4: "MT_IMAGE",
- 5: "MT_FILE",
- 6: "MT_LOCATION",
- 7: "MT_COMMAND",
- 8: "MT_CUSTOM",
- 9: "MT_RECALL",
- 10: "MT_RED_PACKAGE",
- }
- MessageType_value = map[string]int32{
- "MT_UNKNOWN": 0,
- "MT_TEXT": 1,
- "MT_FACE": 2,
- "MT_VOICE": 3,
- "MT_IMAGE": 4,
- "MT_FILE": 5,
- "MT_LOCATION": 6,
- "MT_COMMAND": 7,
- "MT_CUSTOM": 8,
- "MT_RECALL": 9,
- "MT_RED_PACKAGE": 10,
- }
- )
-
- func (x MessageType) Enum() *MessageType {
- p := new(MessageType)
- *p = x
- return p
- }
-
- func (x MessageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (MessageType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[1].Descriptor()
- }
-
- func (MessageType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[1]
- }
-
- func (x MessageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use MessageType.Descriptor instead.
- func (MessageType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{1}
- }
-
- // 红包类型
- type RedPacketType int32
-
- const (
- RedPacketType_RPT_UNKNOWN RedPacketType = 0 // 未知
- RedPacketType_RPT_FRIEND RedPacketType = 1 // 好友红包
- RedPacketType_RPT_GROUP_NORMAL RedPacketType = 2 // 群组普通红包
- RedPacketType_RPT_GROUP_LUCK RedPacketType = 3 // 群组手气红包
- RedPacketType_RPT_GROUP_SPECIALLY RedPacketType = 4 // 群组专属红包
- RedPacketType_RPT_SYSTEM_FOR RedPacketType = 5 // 系统红包
- )
-
- // Enum value maps for RedPacketType.
- var (
- RedPacketType_name = map[int32]string{
- 0: "RPT_UNKNOWN",
- 1: "RPT_FRIEND",
- 2: "RPT_GROUP_NORMAL",
- 3: "RPT_GROUP_LUCK",
- 4: "RPT_GROUP_SPECIALLY",
- 5: "RPT_SYSTEM_FOR",
- }
- RedPacketType_value = map[string]int32{
- "RPT_UNKNOWN": 0,
- "RPT_FRIEND": 1,
- "RPT_GROUP_NORMAL": 2,
- "RPT_GROUP_LUCK": 3,
- "RPT_GROUP_SPECIALLY": 4,
- "RPT_SYSTEM_FOR": 5,
- }
- )
-
- func (x RedPacketType) Enum() *RedPacketType {
- p := new(RedPacketType)
- *p = x
- return p
- }
-
- func (x RedPacketType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (RedPacketType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[2].Descriptor()
- }
-
- func (RedPacketType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[2]
- }
-
- func (x RedPacketType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use RedPacketType.Descriptor instead.
- func (RedPacketType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{2}
- }
-
- // 红包消息类型
- type RedPacketMessageType int32
-
- const (
- RedPacketMessageType_RMT_UNKNOWN RedPacketMessageType = 0 // 未知
- RedPacketMessageType_RMT_SEND RedPacketMessageType = 1 // 发红包
- RedPacketMessageType_RMT_GRAB RedPacketMessageType = 2 // 抢红包
- )
-
- // Enum value maps for RedPacketMessageType.
- var (
- RedPacketMessageType_name = map[int32]string{
- 0: "RMT_UNKNOWN",
- 1: "RMT_SEND",
- 2: "RMT_GRAB",
- }
- RedPacketMessageType_value = map[string]int32{
- "RMT_UNKNOWN": 0,
- "RMT_SEND": 1,
- "RMT_GRAB": 2,
- }
- )
-
- func (x RedPacketMessageType) Enum() *RedPacketMessageType {
- p := new(RedPacketMessageType)
- *p = x
- return p
- }
-
- func (x RedPacketMessageType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (RedPacketMessageType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[3].Descriptor()
- }
-
- func (RedPacketMessageType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[3]
- }
-
- func (x RedPacketMessageType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use RedPacketMessageType.Descriptor instead.
- func (RedPacketMessageType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{3}
- }
-
- // 红包状态类型
- type RedPacketStatusType int32
-
- const (
- RedPacketStatusType_RPS_NOT_DRAW RedPacketStatusType = 0 // 未领取
- RedPacketStatusType_RPS_DRAWING RedPacketStatusType = 1 // 领取中
- RedPacketStatusType_RPS_DRAW_OVER RedPacketStatusType = 2 // 领取完
- RedPacketStatusType_RPS_EXPIRE RedPacketStatusType = 3 //已过期
- )
-
- // Enum value maps for RedPacketStatusType.
- var (
- RedPacketStatusType_name = map[int32]string{
- 0: "RPS_NOT_DRAW",
- 1: "RPS_DRAWING",
- 2: "RPS_DRAW_OVER",
- 3: "RPS_EXPIRE",
- }
- RedPacketStatusType_value = map[string]int32{
- "RPS_NOT_DRAW": 0,
- "RPS_DRAWING": 1,
- "RPS_DRAW_OVER": 2,
- "RPS_EXPIRE": 3,
- }
- )
-
- func (x RedPacketStatusType) Enum() *RedPacketStatusType {
- p := new(RedPacketStatusType)
- *p = x
- return p
- }
-
- func (x RedPacketStatusType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (RedPacketStatusType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[4].Descriptor()
- }
-
- func (RedPacketStatusType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[4]
- }
-
- func (x RedPacketStatusType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use RedPacketStatusType.Descriptor instead.
- func (RedPacketStatusType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{4}
- }
-
- type ReceiverType int32
-
- const (
- ReceiverType_RT_UNKNOWN ReceiverType = 0 // 未知
- ReceiverType_RT_USER ReceiverType = 1 // 用户
- ReceiverType_RT_GROUP ReceiverType = 2 // 群组
- ReceiverType_RT_ROOM ReceiverType = 3 // 房间
- )
-
- // Enum value maps for ReceiverType.
- var (
- ReceiverType_name = map[int32]string{
- 0: "RT_UNKNOWN",
- 1: "RT_USER",
- 2: "RT_GROUP",
- 3: "RT_ROOM",
- }
- ReceiverType_value = map[string]int32{
- "RT_UNKNOWN": 0,
- "RT_USER": 1,
- "RT_GROUP": 2,
- "RT_ROOM": 3,
- }
- )
-
- func (x ReceiverType) Enum() *ReceiverType {
- p := new(ReceiverType)
- *p = x
- return p
- }
-
- func (x ReceiverType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (ReceiverType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[5].Descriptor()
- }
-
- func (ReceiverType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[5]
- }
-
- func (x ReceiverType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use ReceiverType.Descriptor instead.
- func (ReceiverType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{5}
- }
-
- type SenderType int32
-
- const (
- SenderType_ST_UNKNOWN SenderType = 0 // 未知的
- SenderType_ST_SYSTEM SenderType = 1 // IM系统
- SenderType_ST_USER SenderType = 2 // 用户
- SenderType_ST_BUSINESS SenderType = 3 // 业务方
- )
-
- // Enum value maps for SenderType.
- var (
- SenderType_name = map[int32]string{
- 0: "ST_UNKNOWN",
- 1: "ST_SYSTEM",
- 2: "ST_USER",
- 3: "ST_BUSINESS",
- }
- SenderType_value = map[string]int32{
- "ST_UNKNOWN": 0,
- "ST_SYSTEM": 1,
- "ST_USER": 2,
- "ST_BUSINESS": 3,
- }
- )
-
- func (x SenderType) Enum() *SenderType {
- p := new(SenderType)
- *p = x
- return p
- }
-
- func (x SenderType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (SenderType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[6].Descriptor()
- }
-
- func (SenderType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[6]
- }
-
- func (x SenderType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use SenderType.Descriptor instead.
- func (SenderType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{6}
- }
-
- type MessageStatus int32
-
- const (
- MessageStatus_MS_UNKNOWN MessageStatus = 0 // 未知的
- MessageStatus_MS_NORMAL MessageStatus = 1 // 正常的
- MessageStatus_MS_RECALL MessageStatus = 2 // 撤回
- )
-
- // Enum value maps for MessageStatus.
- var (
- MessageStatus_name = map[int32]string{
- 0: "MS_UNKNOWN",
- 1: "MS_NORMAL",
- 2: "MS_RECALL",
- }
- MessageStatus_value = map[string]int32{
- "MS_UNKNOWN": 0,
- "MS_NORMAL": 1,
- "MS_RECALL": 2,
- }
- )
-
- func (x MessageStatus) Enum() *MessageStatus {
- p := new(MessageStatus)
- *p = x
- return p
- }
-
- func (x MessageStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (MessageStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[7].Descriptor()
- }
-
- func (MessageStatus) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[7]
- }
-
- func (x MessageStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use MessageStatus.Descriptor instead.
- func (MessageStatus) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{7}
- }
-
- // 群组用户状态
- type GroupUserStatusType int32
-
- const (
- GroupUserStatusType_GROUP_USER_STATUS_NORMAL GroupUserStatusType = 0 // 正常
- GroupUserStatusType_GROUP_USER_STATUS_Banned GroupUserStatusType = 1 // 禁言
- )
-
- // Enum value maps for GroupUserStatusType.
- var (
- GroupUserStatusType_name = map[int32]string{
- 0: "GROUP_USER_STATUS_NORMAL",
- 1: "GROUP_USER_STATUS_Banned",
- }
- GroupUserStatusType_value = map[string]int32{
- "GROUP_USER_STATUS_NORMAL": 0,
- "GROUP_USER_STATUS_Banned": 1,
- }
- )
-
- func (x GroupUserStatusType) Enum() *GroupUserStatusType {
- p := new(GroupUserStatusType)
- *p = x
- return p
- }
-
- func (x GroupUserStatusType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (GroupUserStatusType) Descriptor() protoreflect.EnumDescriptor {
- return file_connect_ext_proto_enumTypes[8].Descriptor()
- }
-
- func (GroupUserStatusType) Type() protoreflect.EnumType {
- return &file_connect_ext_proto_enumTypes[8]
- }
-
- func (x GroupUserStatusType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use GroupUserStatusType.Descriptor instead.
- func (GroupUserStatusType) EnumDescriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{8}
- }
-
- // 单条消息投递内容(估算大约100个字节),todo 通知栏提醒
- type Message struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Sender *Sender `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // 发送者
- ReceiverType ReceiverType `protobuf:"varint,2,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
- ReceiverId int64 `protobuf:"varint,3,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
- ToUserIds []int64 `protobuf:"varint,4,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
- MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
- MessageContent []byte `protobuf:"bytes,6,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
- Seq int64 `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty"` // 用户消息发送序列号
- SendTime int64 `protobuf:"varint,8,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
- Status MessageStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pb.MessageStatus" json:"status,omitempty"` // 消息状态
- }
-
- func (x *Message) Reset() {
- *x = Message{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_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_connect_ext_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_connect_ext_proto_rawDescGZIP(), []int{0}
- }
-
- func (x *Message) GetSender() *Sender {
- if x != nil {
- return x.Sender
- }
- return nil
- }
-
- func (x *Message) GetReceiverType() ReceiverType {
- if x != nil {
- return x.ReceiverType
- }
- return ReceiverType_RT_UNKNOWN
- }
-
- func (x *Message) GetReceiverId() int64 {
- if x != nil {
- return x.ReceiverId
- }
- return 0
- }
-
- func (x *Message) GetToUserIds() []int64 {
- if x != nil {
- return x.ToUserIds
- }
- return nil
- }
-
- func (x *Message) GetMessageType() MessageType {
- if x != nil {
- return x.MessageType
- }
- return MessageType_MT_UNKNOWN
- }
-
- func (x *Message) GetMessageContent() []byte {
- if x != nil {
- return x.MessageContent
- }
- return nil
- }
-
- func (x *Message) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- func (x *Message) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
-
- func (x *Message) GetStatus() MessageStatus {
- if x != nil {
- return x.Status
- }
- return MessageStatus_MS_UNKNOWN
- }
-
- type Sender struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SenderType SenderType `protobuf:"varint,1,opt,name=sender_type,json=senderType,proto3,enum=pb.SenderType" json:"sender_type,omitempty"` // 发送者类型,1:系统,2:用户,3:第三方业务系统
- SenderId int64 `protobuf:"varint,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // 发送者id
- DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 发送者设备id
- AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 扩展字段
- }
-
- func (x *Sender) Reset() {
- *x = Sender{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Sender) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Sender) ProtoMessage() {}
-
- func (x *Sender) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_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 Sender.ProtoReflect.Descriptor instead.
- func (*Sender) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{1}
- }
-
- func (x *Sender) GetSenderType() SenderType {
- if x != nil {
- return x.SenderType
- }
- return SenderType_ST_UNKNOWN
- }
-
- func (x *Sender) GetSenderId() int64 {
- if x != nil {
- return x.SenderId
- }
- return 0
- }
-
- func (x *Sender) GetDeviceId() int64 {
- if x != nil {
- return x.DeviceId
- }
- return 0
- }
-
- func (x *Sender) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *Sender) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *Sender) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- // 文本消息
- type Text struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // 文本消息内容
- }
-
- func (x *Text) Reset() {
- *x = Text{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Text) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Text) ProtoMessage() {}
-
- func (x *Text) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_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 Text.ProtoReflect.Descriptor instead.
- func (*Text) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{2}
- }
-
- func (x *Text) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
-
- // 表情消息
- type Face struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FaceId int64 `protobuf:"varint,1,opt,name=face_id,json=faceId,proto3" json:"face_id,omitempty"`
- FaceUrl string `protobuf:"bytes,2,opt,name=face_url,json=faceUrl,proto3" json:"face_url,omitempty"`
- }
-
- func (x *Face) Reset() {
- *x = Face{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Face) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Face) ProtoMessage() {}
-
- func (x *Face) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_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 Face.ProtoReflect.Descriptor instead.
- func (*Face) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{3}
- }
-
- func (x *Face) GetFaceId() int64 {
- if x != nil {
- return x.FaceId
- }
- return 0
- }
-
- func (x *Face) GetFaceUrl() string {
- if x != nil {
- return x.FaceUrl
- }
- return ""
- }
-
- // 语音消息
- type Voice struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 语音包id
- Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 语音包大小
- Duration int32 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // 语音时长
- Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 语音文件URL
- }
-
- func (x *Voice) Reset() {
- *x = Voice{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Voice) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Voice) ProtoMessage() {}
-
- func (x *Voice) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_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 Voice.ProtoReflect.Descriptor instead.
- func (*Voice) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{4}
- }
-
- func (x *Voice) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
-
- func (x *Voice) GetSize() int32 {
- if x != nil {
- return x.Size
- }
- return 0
- }
-
- func (x *Voice) GetDuration() int32 {
- if x != nil {
- return x.Duration
- }
- return 0
- }
-
- func (x *Voice) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
-
- // 图片消息
- type Image struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 图片id
- Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // 图片宽度
- Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // 图片长度
- Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 图片URL
- ThumbnailUrl string `protobuf:"bytes,5,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // 图片缩略图url
- }
-
- func (x *Image) Reset() {
- *x = Image{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Image) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Image) ProtoMessage() {}
-
- func (x *Image) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[5]
- 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 Image.ProtoReflect.Descriptor instead.
- func (*Image) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{5}
- }
-
- func (x *Image) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
-
- func (x *Image) GetWidth() int32 {
- if x != nil {
- return x.Width
- }
- return 0
- }
-
- func (x *Image) GetHeight() int32 {
- if x != nil {
- return x.Height
- }
- return 0
- }
-
- func (x *Image) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
-
- func (x *Image) GetThumbnailUrl() string {
- if x != nil {
- return x.ThumbnailUrl
- }
- return ""
- }
-
- // 文件消息
- type File struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id int64 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` // 文件id
- Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // 文件名
- Size int64 `protobuf:"varint,14,opt,name=size,proto3" json:"size,omitempty"` // 文件大小
- Url string `protobuf:"bytes,15,opt,name=url,proto3" json:"url,omitempty"` // 文件url
- Width int32 `protobuf:"varint,16,opt,name=width,proto3" json:"width,omitempty"` // 文件宽度
- Height int32 `protobuf:"varint,17,opt,name=height,proto3" json:"height,omitempty"` // 文件长度
- ThumbnailUrl string `protobuf:"bytes,18,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // 文件缩略图url
- }
-
- func (x *File) Reset() {
- *x = File{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *File) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*File) ProtoMessage() {}
-
- func (x *File) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[6]
- 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 File.ProtoReflect.Descriptor instead.
- func (*File) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{6}
- }
-
- func (x *File) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
-
- func (x *File) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *File) GetSize() int64 {
- if x != nil {
- return x.Size
- }
- return 0
- }
-
- func (x *File) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
-
- func (x *File) GetWidth() int32 {
- if x != nil {
- return x.Width
- }
- return 0
- }
-
- func (x *File) GetHeight() int32 {
- if x != nil {
- return x.Height
- }
- return 0
- }
-
- func (x *File) GetThumbnailUrl() string {
- if x != nil {
- return x.ThumbnailUrl
- }
- return ""
- }
-
- // 地理位置消息
- type Location struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` // 描述
- Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"` // 经度
- Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"` // 纬度
- }
-
- func (x *Location) Reset() {
- *x = Location{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Location) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Location) ProtoMessage() {}
-
- func (x *Location) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[7]
- 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 Location.ProtoReflect.Descriptor instead.
- func (*Location) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{7}
- }
-
- func (x *Location) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
-
- func (x *Location) GetLatitude() float64 {
- if x != nil {
- return x.Latitude
- }
- return 0
- }
-
- func (x *Location) GetLongitude() float64 {
- if x != nil {
- return x.Longitude
- }
- return 0
- }
-
- // Command 指令推送,1000以下,IM内部用,1000以上,留给业务用
- type Command struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 指令码
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据内容
- }
-
- func (x *Command) Reset() {
- *x = Command{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Command) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Command) ProtoMessage() {}
-
- func (x *Command) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[8]
- 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 Command.ProtoReflect.Descriptor instead.
- func (*Command) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{8}
- }
-
- func (x *Command) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
-
- func (x *Command) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
-
- // 自定义消息
- type Custom struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 自定义数据
- }
-
- func (x *Custom) Reset() {
- *x = Custom{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Custom) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Custom) ProtoMessage() {}
-
- func (x *Custom) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[9]
- 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 Custom.ProtoReflect.Descriptor instead.
- func (*Custom) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{9}
- }
-
- func (x *Custom) GetData() string {
- if x != nil {
- return x.Data
- }
- return ""
- }
-
- // 撤回消息
- type RECALL struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RecallSeq int64 `protobuf:"varint,1,opt,name=recall_seq,json=recallSeq,proto3" json:"recall_seq,omitempty"` // 撤回消息seq
- }
-
- func (x *RECALL) Reset() {
- *x = RECALL{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RECALL) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RECALL) ProtoMessage() {}
-
- func (x *RECALL) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[10]
- 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 RECALL.ProtoReflect.Descriptor instead.
- func (*RECALL) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{10}
- }
-
- func (x *RECALL) GetRecallSeq() int64 {
- if x != nil {
- return x.RecallSeq
- }
- return 0
- }
-
- // 红包消息
- type RED_PACKAGE struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RedMessageType RedPacketMessageType `protobuf:"varint,1,opt,name=red_message_type,json=redMessageType,proto3,enum=pb.RedPacketMessageType" json:"red_message_type,omitempty"` // 红包消息类型
- RedPacketType RedPacketType `protobuf:"varint,2,opt,name=red_packet_type,json=redPacketType,proto3,enum=pb.RedPacketType" json:"red_packet_type,omitempty"` // 红包类型
- RedPacketContent string `protobuf:"bytes,3,opt,name=red_packet_content,json=redPacketContent,proto3" json:"red_packet_content,omitempty"` // 红包文字内容
- RedPacketAmount float32 `protobuf:"fixed32,6,opt,name=red_packet_amount,json=redPacketAmount,proto3" json:"red_packet_amount,omitempty"` // 红包金额
- RedPacketNums int32 `protobuf:"varint,5,opt,name=red_packet_nums,json=redPacketNums,proto3" json:"red_packet_nums,omitempty"` // 红包数量
- RedPacketBalanceAmount float32 `protobuf:"fixed32,7,opt,name=red_packet_balance_amount,json=redPacketBalanceAmount,proto3" json:"red_packet_balance_amount,omitempty"` // 红包余额
- ReceivedUserId int64 `protobuf:"varint,8,opt,name=received_user_id,json=receivedUserId,proto3" json:"received_user_id,omitempty"` // 领取用户id
- ReceivedUserAmount float32 `protobuf:"fixed32,9,opt,name=received_user_amount,json=receivedUserAmount,proto3" json:"received_user_amount,omitempty"` // 领取用户金额
- ReceivedUserNickname string `protobuf:"bytes,10,opt,name=received_user_nickname,json=receivedUserNickname,proto3" json:"received_user_nickname,omitempty"` // 领取用户昵称
- RedPacketStatusType RedPacketStatusType `protobuf:"varint,11,opt,name=red_packet_status_type,json=redPacketStatusType,proto3,enum=pb.RedPacketStatusType" json:"red_packet_status_type,omitempty"` // 领取状态
- RedPacketId int64 `protobuf:"varint,12,opt,name=red_packet_id,json=redPacketId,proto3" json:"red_packet_id,omitempty"` // 红包id
- SendRedPacketUid int64 `protobuf:"varint,13,opt,name=send_red_packet_uid,json=sendRedPacketUid,proto3" json:"send_red_packet_uid,omitempty"` // 红包发送者uid
- SendRedPacketNickname string `protobuf:"bytes,14,opt,name=send_red_packet_nickname,json=sendRedPacketNickname,proto3" json:"send_red_packet_nickname,omitempty"` // 红包发送者昵称
- SendRedPacketAvatarUrl string `protobuf:"bytes,15,opt,name=send_red_packet_avatar_url,json=sendRedPacketAvatarUrl,proto3" json:"send_red_packet_avatar_url,omitempty"` // 红包发送者头像
- RedPacketSmallContent string `protobuf:"bytes,16,opt,name=red_packet_small_content,json=redPacketSmallContent,proto3" json:"red_packet_small_content,omitempty"` // 红包小文字内容
- RedPacketCover string `protobuf:"bytes,17,opt,name=red_packet_cover,json=redPacketCover,proto3" json:"red_packet_cover,omitempty"` // 红包封面
- }
-
- func (x *RED_PACKAGE) Reset() {
- *x = RED_PACKAGE{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RED_PACKAGE) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RED_PACKAGE) ProtoMessage() {}
-
- func (x *RED_PACKAGE) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[11]
- 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 RED_PACKAGE.ProtoReflect.Descriptor instead.
- func (*RED_PACKAGE) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{11}
- }
-
- func (x *RED_PACKAGE) GetRedMessageType() RedPacketMessageType {
- if x != nil {
- return x.RedMessageType
- }
- return RedPacketMessageType_RMT_UNKNOWN
- }
-
- func (x *RED_PACKAGE) GetRedPacketType() RedPacketType {
- if x != nil {
- return x.RedPacketType
- }
- return RedPacketType_RPT_UNKNOWN
- }
-
- func (x *RED_PACKAGE) GetRedPacketContent() string {
- if x != nil {
- return x.RedPacketContent
- }
- return ""
- }
-
- func (x *RED_PACKAGE) GetRedPacketAmount() float32 {
- if x != nil {
- return x.RedPacketAmount
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetRedPacketNums() int32 {
- if x != nil {
- return x.RedPacketNums
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetRedPacketBalanceAmount() float32 {
- if x != nil {
- return x.RedPacketBalanceAmount
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetReceivedUserId() int64 {
- if x != nil {
- return x.ReceivedUserId
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetReceivedUserAmount() float32 {
- if x != nil {
- return x.ReceivedUserAmount
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetReceivedUserNickname() string {
- if x != nil {
- return x.ReceivedUserNickname
- }
- return ""
- }
-
- func (x *RED_PACKAGE) GetRedPacketStatusType() RedPacketStatusType {
- if x != nil {
- return x.RedPacketStatusType
- }
- return RedPacketStatusType_RPS_NOT_DRAW
- }
-
- func (x *RED_PACKAGE) GetRedPacketId() int64 {
- if x != nil {
- return x.RedPacketId
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetSendRedPacketUid() int64 {
- if x != nil {
- return x.SendRedPacketUid
- }
- return 0
- }
-
- func (x *RED_PACKAGE) GetSendRedPacketNickname() string {
- if x != nil {
- return x.SendRedPacketNickname
- }
- return ""
- }
-
- func (x *RED_PACKAGE) GetSendRedPacketAvatarUrl() string {
- if x != nil {
- return x.SendRedPacketAvatarUrl
- }
- return ""
- }
-
- func (x *RED_PACKAGE) GetRedPacketSmallContent() string {
- if x != nil {
- return x.RedPacketSmallContent
- }
- return ""
- }
-
- func (x *RED_PACKAGE) GetRedPacketCover() string {
- if x != nil {
- return x.RedPacketCover
- }
- return ""
- }
-
- // 上行数据
- type Input struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
- RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
- Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 数据
- }
-
- func (x *Input) Reset() {
- *x = Input{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Input) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Input) ProtoMessage() {}
-
- func (x *Input) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[12]
- 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 Input.ProtoReflect.Descriptor instead.
- func (*Input) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{12}
- }
-
- func (x *Input) GetType() PackageType {
- if x != nil {
- return x.Type
- }
- return PackageType_PT_UNKNOWN
- }
-
- func (x *Input) GetRequestId() int64 {
- if x != nil {
- return x.RequestId
- }
- return 0
- }
-
- func (x *Input) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
-
- // 下行数据
- type Output struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
- RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
- Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // 错误码
- Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // 错误信息
- Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // 数据
- }
-
- func (x *Output) Reset() {
- *x = Output{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Output) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Output) ProtoMessage() {}
-
- func (x *Output) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[13]
- 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 Output.ProtoReflect.Descriptor instead.
- func (*Output) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{13}
- }
-
- func (x *Output) GetType() PackageType {
- if x != nil {
- return x.Type
- }
- return PackageType_PT_UNKNOWN
- }
-
- func (x *Output) GetRequestId() int64 {
- if x != nil {
- return x.RequestId
- }
- return 0
- }
-
- func (x *Output) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
-
- func (x *Output) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
-
- func (x *Output) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
-
- // 设备登录,package_type:1
- type SignInInput struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // 秘钥
- }
-
- func (x *SignInInput) Reset() {
- *x = SignInInput{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SignInInput) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SignInInput) ProtoMessage() {}
-
- func (x *SignInInput) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[14]
- 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 SignInInput.ProtoReflect.Descriptor instead.
- func (*SignInInput) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{14}
- }
-
- func (x *SignInInput) GetDeviceId() int64 {
- if x != nil {
- return x.DeviceId
- }
- return 0
- }
-
- func (x *SignInInput) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *SignInInput) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
-
- // 消息同步请求,package_type:2
- type SyncInput struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 客户端已经同步的序列号
- }
-
- func (x *SyncInput) Reset() {
- *x = SyncInput{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SyncInput) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SyncInput) ProtoMessage() {}
-
- func (x *SyncInput) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[15]
- 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 SyncInput.ProtoReflect.Descriptor instead.
- func (*SyncInput) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{15}
- }
-
- func (x *SyncInput) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- // 消息同步响应,package_type:2
- type SyncOutput struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // 消息列表
- HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多数据
- }
-
- func (x *SyncOutput) Reset() {
- *x = SyncOutput{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SyncOutput) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SyncOutput) ProtoMessage() {}
-
- func (x *SyncOutput) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[16]
- 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 SyncOutput.ProtoReflect.Descriptor instead.
- func (*SyncOutput) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{16}
- }
-
- func (x *SyncOutput) GetMessages() []*Message {
- if x != nil {
- return x.Messages
- }
- return nil
- }
-
- func (x *SyncOutput) GetHasMore() bool {
- if x != nil {
- return x.HasMore
- }
- return false
- }
-
- // 订阅房间请求
- type SubscribeRoomInput struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间ID,如果为0,取消房间订阅
- Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // 消息消息序列号,
- }
-
- func (x *SubscribeRoomInput) Reset() {
- *x = SubscribeRoomInput{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SubscribeRoomInput) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SubscribeRoomInput) ProtoMessage() {}
-
- func (x *SubscribeRoomInput) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[17]
- 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 SubscribeRoomInput.ProtoReflect.Descriptor instead.
- func (*SubscribeRoomInput) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{17}
- }
-
- func (x *SubscribeRoomInput) GetRoomId() int64 {
- if x != nil {
- return x.RoomId
- }
- return 0
- }
-
- func (x *SubscribeRoomInput) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- // 消息投递,package_type:4
- type MessageSend struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 消息
- }
-
- func (x *MessageSend) Reset() {
- *x = MessageSend{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *MessageSend) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*MessageSend) ProtoMessage() {}
-
- func (x *MessageSend) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[18]
- 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 MessageSend.ProtoReflect.Descriptor instead.
- func (*MessageSend) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{18}
- }
-
- func (x *MessageSend) GetMessage() *Message {
- if x != nil {
- return x.Message
- }
- return nil
- }
-
- // 投递消息回执,package_type:4
- type MessageACK struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- DeviceAck int64 `protobuf:"varint,2,opt,name=device_ack,json=deviceAck,proto3" json:"device_ack,omitempty"` // 设备收到消息的确认号
- ReceiveTime int64 `protobuf:"varint,3,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"` // 消息接收时间戳,精确到毫秒
- }
-
- func (x *MessageACK) Reset() {
- *x = MessageACK{}
- if protoimpl.UnsafeEnabled {
- mi := &file_connect_ext_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *MessageACK) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*MessageACK) ProtoMessage() {}
-
- func (x *MessageACK) ProtoReflect() protoreflect.Message {
- mi := &file_connect_ext_proto_msgTypes[19]
- 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 MessageACK.ProtoReflect.Descriptor instead.
- func (*MessageACK) Descriptor() ([]byte, []int) {
- return file_connect_ext_proto_rawDescGZIP(), []int{19}
- }
-
- func (x *MessageACK) GetDeviceAck() int64 {
- if x != nil {
- return x.DeviceAck
- }
- return 0
- }
-
- func (x *MessageACK) GetReceiveTime() int64 {
- if x != nil {
- return x.ReceiveTime
- }
- return 0
- }
-
- var File_connect_ext_proto protoreflect.FileDescriptor
-
- var file_connect_ext_proto_rawDesc = []byte{
- 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52,
- 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
- 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10,
- 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
- 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f,
- 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04,
- 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12,
- 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63,
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x73, 0x65, 0x71, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x1b,
- 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
- 0x72, 0x12, 0x2f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64,
- 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
- 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x1a, 0x0a,
- 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x3a, 0x0a, 0x04, 0x46, 0x61, 0x63,
- 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x61,
- 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61,
- 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x59, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
- 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
- 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
- 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
- 0x22, 0x7c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64,
- 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12,
- 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x75,
- 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0xa3,
- 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0c, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73,
- 0x69, 0x7a, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12,
- 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
- 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
- 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
- 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x6c,
- 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69,
- 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x58, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x64, 0x65, 0x73, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65,
- 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0x31,
- 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
- 0x61, 0x22, 0x1c, 0x0a, 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64,
- 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
- 0x27, 0x0a, 0x06, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x63,
- 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72,
- 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x71, 0x22, 0xd4, 0x06, 0x0a, 0x0b, 0x52, 0x45, 0x44,
- 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x12, 0x42, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65,
- 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x0f,
- 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61,
- 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x5f, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f,
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02,
- 0x52, 0x0f, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
- 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
- 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50,
- 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x64,
- 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x72, 0x65,
- 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d,
- 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
- 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
- 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30,
- 0x0a, 0x14, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x72, 0x65,
- 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
- 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x14, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x69,
- 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x16, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61,
- 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50,
- 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x13, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x64,
- 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x65, 0x6e, 0x64,
- 0x5f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61,
- 0x63, 0x6b, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6e, 0x64, 0x5f,
- 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x65, 0x6e, 0x64, 0x52,
- 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x3a, 0x0a, 0x1a, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0f,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x37, 0x0a, 0x18,
- 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x6d, 0x61, 0x6c, 0x6c,
- 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15,
- 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x43, 0x6f,
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x22,
- 0x5f, 0x0a, 0x05, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b,
- 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
- 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
- 0x22, 0x8e, 0x01, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50,
- 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12,
- 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63,
- 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
- 0x61, 0x22, 0x59, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74,
- 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a,
- 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
- 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x1d, 0x0a, 0x09,
- 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x50, 0x0a, 0x0a, 0x53,
- 0x79, 0x6e, 0x63, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x22, 0x3f, 0x0a,
- 0x12, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e,
- 0x70, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03,
- 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x34,
- 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x25, 0x0a,
- 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b,
- 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x22, 0x4e, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41,
- 0x43, 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x6b,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
- 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x73, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
- 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49,
- 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02,
- 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x54, 0x5f, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42, 0x45, 0x41, 0x54,
- 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
- 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49,
- 0x42, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x05, 0x2a, 0xb3, 0x01, 0x0a, 0x0b, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f,
- 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f,
- 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x46, 0x41, 0x43,
- 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x10,
- 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12,
- 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b,
- 0x4d, 0x54, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x0e, 0x0a,
- 0x0a, 0x4d, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a,
- 0x09, 0x4d, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09,
- 0x4d, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x4d,
- 0x54, 0x5f, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x10, 0x0a, 0x2a,
- 0x87, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
- 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x54, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44,
- 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f,
- 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f,
- 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4c, 0x55, 0x43, 0x4b, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13,
- 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x53, 0x50, 0x45, 0x43, 0x49, 0x41,
- 0x4c, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f, 0x53, 0x59, 0x53,
- 0x54, 0x45, 0x4d, 0x5f, 0x46, 0x4f, 0x52, 0x10, 0x05, 0x2a, 0x43, 0x0a, 0x14, 0x52, 0x65, 0x64,
- 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
- 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x10, 0x01,
- 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x42, 0x10, 0x02, 0x2a, 0x5b,
- 0x0a, 0x13, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x50, 0x53, 0x5f, 0x4e, 0x4f, 0x54,
- 0x5f, 0x44, 0x52, 0x41, 0x57, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x53, 0x5f, 0x44,
- 0x52, 0x41, 0x57, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x50, 0x53, 0x5f,
- 0x44, 0x52, 0x41, 0x57, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52,
- 0x50, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x10, 0x03, 0x2a, 0x46, 0x0a, 0x0c, 0x52,
- 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52,
- 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52,
- 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x54, 0x5f, 0x47,
- 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x54, 0x5f, 0x52, 0x4f, 0x4f,
- 0x4d, 0x10, 0x03, 0x2a, 0x49, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
- 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01,
- 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a,
- 0x0b, 0x53, 0x54, 0x5f, 0x42, 0x55, 0x53, 0x49, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x03, 0x2a, 0x3d,
- 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
- 0x0e, 0x0a, 0x0a, 0x4d, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
- 0x0d, 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d,
- 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x51, 0x0a,
- 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x53,
- 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c,
- 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x53, 0x45, 0x52,
- 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x01,
- 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
-
- var (
- file_connect_ext_proto_rawDescOnce sync.Once
- file_connect_ext_proto_rawDescData = file_connect_ext_proto_rawDesc
- )
-
- func file_connect_ext_proto_rawDescGZIP() []byte {
- file_connect_ext_proto_rawDescOnce.Do(func() {
- file_connect_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_connect_ext_proto_rawDescData)
- })
- return file_connect_ext_proto_rawDescData
- }
-
- var file_connect_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
- var file_connect_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
- var file_connect_ext_proto_goTypes = []interface{}{
- (PackageType)(0), // 0: pb.PackageType
- (MessageType)(0), // 1: pb.MessageType
- (RedPacketType)(0), // 2: pb.RedPacketType
- (RedPacketMessageType)(0), // 3: pb.RedPacketMessageType
- (RedPacketStatusType)(0), // 4: pb.RedPacketStatusType
- (ReceiverType)(0), // 5: pb.ReceiverType
- (SenderType)(0), // 6: pb.SenderType
- (MessageStatus)(0), // 7: pb.MessageStatus
- (GroupUserStatusType)(0), // 8: pb.GroupUserStatusType
- (*Message)(nil), // 9: pb.Message
- (*Sender)(nil), // 10: pb.Sender
- (*Text)(nil), // 11: pb.Text
- (*Face)(nil), // 12: pb.Face
- (*Voice)(nil), // 13: pb.Voice
- (*Image)(nil), // 14: pb.Image
- (*File)(nil), // 15: pb.File
- (*Location)(nil), // 16: pb.Location
- (*Command)(nil), // 17: pb.Command
- (*Custom)(nil), // 18: pb.Custom
- (*RECALL)(nil), // 19: pb.RECALL
- (*RED_PACKAGE)(nil), // 20: pb.RED_PACKAGE
- (*Input)(nil), // 21: pb.Input
- (*Output)(nil), // 22: pb.Output
- (*SignInInput)(nil), // 23: pb.SignInInput
- (*SyncInput)(nil), // 24: pb.SyncInput
- (*SyncOutput)(nil), // 25: pb.SyncOutput
- (*SubscribeRoomInput)(nil), // 26: pb.SubscribeRoomInput
- (*MessageSend)(nil), // 27: pb.MessageSend
- (*MessageACK)(nil), // 28: pb.MessageACK
- }
- var file_connect_ext_proto_depIdxs = []int32{
- 10, // 0: pb.Message.sender:type_name -> pb.Sender
- 5, // 1: pb.Message.receiver_type:type_name -> pb.ReceiverType
- 1, // 2: pb.Message.message_type:type_name -> pb.MessageType
- 7, // 3: pb.Message.status:type_name -> pb.MessageStatus
- 6, // 4: pb.Sender.sender_type:type_name -> pb.SenderType
- 3, // 5: pb.RED_PACKAGE.red_message_type:type_name -> pb.RedPacketMessageType
- 2, // 6: pb.RED_PACKAGE.red_packet_type:type_name -> pb.RedPacketType
- 4, // 7: pb.RED_PACKAGE.red_packet_status_type:type_name -> pb.RedPacketStatusType
- 0, // 8: pb.Input.type:type_name -> pb.PackageType
- 0, // 9: pb.Output.type:type_name -> pb.PackageType
- 9, // 10: pb.SyncOutput.messages:type_name -> pb.Message
- 9, // 11: pb.MessageSend.message:type_name -> pb.Message
- 12, // [12:12] is the sub-list for method output_type
- 12, // [12:12] is the sub-list for method input_type
- 12, // [12:12] is the sub-list for extension type_name
- 12, // [12:12] is the sub-list for extension extendee
- 0, // [0:12] is the sub-list for field type_name
- }
-
- func init() { file_connect_ext_proto_init() }
- func file_connect_ext_proto_init() {
- if File_connect_ext_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_connect_ext_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_connect_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Sender); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Text); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Face); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Voice); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Image); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*File); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Location); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Command); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Custom); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RECALL); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RED_PACKAGE); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Input); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Output); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignInInput); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SyncInput); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SyncOutput); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubscribeRoomInput); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageSend); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_connect_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageACK); 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_connect_ext_proto_rawDesc,
- NumEnums: 9,
- NumMessages: 20,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_connect_ext_proto_goTypes,
- DependencyIndexes: file_connect_ext_proto_depIdxs,
- EnumInfos: file_connect_ext_proto_enumTypes,
- MessageInfos: file_connect_ext_proto_msgTypes,
- }.Build()
- File_connect_ext_proto = out.File
- file_connect_ext_proto_rawDesc = nil
- file_connect_ext_proto_goTypes = nil
- file_connect_ext_proto_depIdxs = nil
- }
|