github.com/glide-im/glide@v1.6.0/im_service/proto/sub.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.20.1 5 // source: sub.proto 6 7 package proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type SubscribeRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 29 SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` 30 Extra []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"` 31 } 32 33 func (x *SubscribeRequest) Reset() { 34 *x = SubscribeRequest{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_sub_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *SubscribeRequest) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*SubscribeRequest) ProtoMessage() {} 47 48 func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { 49 mi := &file_sub_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead. 61 func (*SubscribeRequest) Descriptor() ([]byte, []int) { 62 return file_sub_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *SubscribeRequest) GetChannelID() string { 66 if x != nil { 67 return x.ChannelID 68 } 69 return "" 70 } 71 72 func (x *SubscribeRequest) GetSubscriberID() string { 73 if x != nil { 74 return x.SubscriberID 75 } 76 return "" 77 } 78 79 func (x *SubscribeRequest) GetExtra() []byte { 80 if x != nil { 81 return x.Extra 82 } 83 return nil 84 } 85 86 type UnsubscribeRequest struct { 87 state protoimpl.MessageState 88 sizeCache protoimpl.SizeCache 89 unknownFields protoimpl.UnknownFields 90 91 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 92 SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` 93 } 94 95 func (x *UnsubscribeRequest) Reset() { 96 *x = UnsubscribeRequest{} 97 if protoimpl.UnsafeEnabled { 98 mi := &file_sub_proto_msgTypes[1] 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 ms.StoreMessageInfo(mi) 101 } 102 } 103 104 func (x *UnsubscribeRequest) String() string { 105 return protoimpl.X.MessageStringOf(x) 106 } 107 108 func (*UnsubscribeRequest) ProtoMessage() {} 109 110 func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message { 111 mi := &file_sub_proto_msgTypes[1] 112 if protoimpl.UnsafeEnabled && x != nil { 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 if ms.LoadMessageInfo() == nil { 115 ms.StoreMessageInfo(mi) 116 } 117 return ms 118 } 119 return mi.MessageOf(x) 120 } 121 122 // Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead. 123 func (*UnsubscribeRequest) Descriptor() ([]byte, []int) { 124 return file_sub_proto_rawDescGZIP(), []int{1} 125 } 126 127 func (x *UnsubscribeRequest) GetChannelID() string { 128 if x != nil { 129 return x.ChannelID 130 } 131 return "" 132 } 133 134 func (x *UnsubscribeRequest) GetSubscriberID() string { 135 if x != nil { 136 return x.SubscriberID 137 } 138 return "" 139 } 140 141 type UpdateSubscriberRequest struct { 142 state protoimpl.MessageState 143 sizeCache protoimpl.SizeCache 144 unknownFields protoimpl.UnknownFields 145 146 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 147 SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` 148 Extra []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"` 149 } 150 151 func (x *UpdateSubscriberRequest) Reset() { 152 *x = UpdateSubscriberRequest{} 153 if protoimpl.UnsafeEnabled { 154 mi := &file_sub_proto_msgTypes[2] 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 ms.StoreMessageInfo(mi) 157 } 158 } 159 160 func (x *UpdateSubscriberRequest) String() string { 161 return protoimpl.X.MessageStringOf(x) 162 } 163 164 func (*UpdateSubscriberRequest) ProtoMessage() {} 165 166 func (x *UpdateSubscriberRequest) ProtoReflect() protoreflect.Message { 167 mi := &file_sub_proto_msgTypes[2] 168 if protoimpl.UnsafeEnabled && x != nil { 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 if ms.LoadMessageInfo() == nil { 171 ms.StoreMessageInfo(mi) 172 } 173 return ms 174 } 175 return mi.MessageOf(x) 176 } 177 178 // Deprecated: Use UpdateSubscriberRequest.ProtoReflect.Descriptor instead. 179 func (*UpdateSubscriberRequest) Descriptor() ([]byte, []int) { 180 return file_sub_proto_rawDescGZIP(), []int{2} 181 } 182 183 func (x *UpdateSubscriberRequest) GetChannelID() string { 184 if x != nil { 185 return x.ChannelID 186 } 187 return "" 188 } 189 190 func (x *UpdateSubscriberRequest) GetSubscriberID() string { 191 if x != nil { 192 return x.SubscriberID 193 } 194 return "" 195 } 196 197 func (x *UpdateSubscriberRequest) GetExtra() []byte { 198 if x != nil { 199 return x.Extra 200 } 201 return nil 202 } 203 204 type RemoveChannelRequest struct { 205 state protoimpl.MessageState 206 sizeCache protoimpl.SizeCache 207 unknownFields protoimpl.UnknownFields 208 209 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 210 } 211 212 func (x *RemoveChannelRequest) Reset() { 213 *x = RemoveChannelRequest{} 214 if protoimpl.UnsafeEnabled { 215 mi := &file_sub_proto_msgTypes[3] 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 ms.StoreMessageInfo(mi) 218 } 219 } 220 221 func (x *RemoveChannelRequest) String() string { 222 return protoimpl.X.MessageStringOf(x) 223 } 224 225 func (*RemoveChannelRequest) ProtoMessage() {} 226 227 func (x *RemoveChannelRequest) ProtoReflect() protoreflect.Message { 228 mi := &file_sub_proto_msgTypes[3] 229 if protoimpl.UnsafeEnabled && x != nil { 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 if ms.LoadMessageInfo() == nil { 232 ms.StoreMessageInfo(mi) 233 } 234 return ms 235 } 236 return mi.MessageOf(x) 237 } 238 239 // Deprecated: Use RemoveChannelRequest.ProtoReflect.Descriptor instead. 240 func (*RemoveChannelRequest) Descriptor() ([]byte, []int) { 241 return file_sub_proto_rawDescGZIP(), []int{3} 242 } 243 244 func (x *RemoveChannelRequest) GetChannelID() string { 245 if x != nil { 246 return x.ChannelID 247 } 248 return "" 249 } 250 251 type ChannelInfo struct { 252 state protoimpl.MessageState 253 sizeCache protoimpl.SizeCache 254 unknownFields protoimpl.UnknownFields 255 256 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` 257 Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` 258 Muted bool `protobuf:"varint,5,opt,name=muted,proto3" json:"muted,omitempty"` 259 Blocked bool `protobuf:"varint,6,opt,name=blocked,proto3" json:"blocked,omitempty"` 260 Closed bool `protobuf:"varint,7,opt,name=closed,proto3" json:"closed,omitempty"` 261 Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` 262 Children []string `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"` 263 } 264 265 func (x *ChannelInfo) Reset() { 266 *x = ChannelInfo{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_sub_proto_msgTypes[4] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272 } 273 274 func (x *ChannelInfo) String() string { 275 return protoimpl.X.MessageStringOf(x) 276 } 277 278 func (*ChannelInfo) ProtoMessage() {} 279 280 func (x *ChannelInfo) ProtoReflect() protoreflect.Message { 281 mi := &file_sub_proto_msgTypes[4] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290 } 291 292 // Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead. 293 func (*ChannelInfo) Descriptor() ([]byte, []int) { 294 return file_sub_proto_rawDescGZIP(), []int{4} 295 } 296 297 func (x *ChannelInfo) GetID() string { 298 if x != nil { 299 return x.ID 300 } 301 return "" 302 } 303 304 func (x *ChannelInfo) GetType() int32 { 305 if x != nil { 306 return x.Type 307 } 308 return 0 309 } 310 311 func (x *ChannelInfo) GetMuted() bool { 312 if x != nil { 313 return x.Muted 314 } 315 return false 316 } 317 318 func (x *ChannelInfo) GetBlocked() bool { 319 if x != nil { 320 return x.Blocked 321 } 322 return false 323 } 324 325 func (x *ChannelInfo) GetClosed() bool { 326 if x != nil { 327 return x.Closed 328 } 329 return false 330 } 331 332 func (x *ChannelInfo) GetParent() string { 333 if x != nil { 334 return x.Parent 335 } 336 return "" 337 } 338 339 func (x *ChannelInfo) GetChildren() []string { 340 if x != nil { 341 return x.Children 342 } 343 return nil 344 } 345 346 type CreateChannelRequest struct { 347 state protoimpl.MessageState 348 sizeCache protoimpl.SizeCache 349 unknownFields protoimpl.UnknownFields 350 351 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 352 ChannelInfo *ChannelInfo `protobuf:"bytes,2,opt,name=channelInfo,proto3" json:"channelInfo,omitempty"` 353 } 354 355 func (x *CreateChannelRequest) Reset() { 356 *x = CreateChannelRequest{} 357 if protoimpl.UnsafeEnabled { 358 mi := &file_sub_proto_msgTypes[5] 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 360 ms.StoreMessageInfo(mi) 361 } 362 } 363 364 func (x *CreateChannelRequest) String() string { 365 return protoimpl.X.MessageStringOf(x) 366 } 367 368 func (*CreateChannelRequest) ProtoMessage() {} 369 370 func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message { 371 mi := &file_sub_proto_msgTypes[5] 372 if protoimpl.UnsafeEnabled && x != nil { 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 374 if ms.LoadMessageInfo() == nil { 375 ms.StoreMessageInfo(mi) 376 } 377 return ms 378 } 379 return mi.MessageOf(x) 380 } 381 382 // Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead. 383 func (*CreateChannelRequest) Descriptor() ([]byte, []int) { 384 return file_sub_proto_rawDescGZIP(), []int{5} 385 } 386 387 func (x *CreateChannelRequest) GetChannelID() string { 388 if x != nil { 389 return x.ChannelID 390 } 391 return "" 392 } 393 394 func (x *CreateChannelRequest) GetChannelInfo() *ChannelInfo { 395 if x != nil { 396 return x.ChannelInfo 397 } 398 return nil 399 } 400 401 type UpdateChannelRequest struct { 402 state protoimpl.MessageState 403 sizeCache protoimpl.SizeCache 404 unknownFields protoimpl.UnknownFields 405 406 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 407 ChannelInfo *ChannelInfo `protobuf:"bytes,2,opt,name=channelInfo,proto3" json:"channelInfo,omitempty"` 408 } 409 410 func (x *UpdateChannelRequest) Reset() { 411 *x = UpdateChannelRequest{} 412 if protoimpl.UnsafeEnabled { 413 mi := &file_sub_proto_msgTypes[6] 414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 415 ms.StoreMessageInfo(mi) 416 } 417 } 418 419 func (x *UpdateChannelRequest) String() string { 420 return protoimpl.X.MessageStringOf(x) 421 } 422 423 func (*UpdateChannelRequest) ProtoMessage() {} 424 425 func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message { 426 mi := &file_sub_proto_msgTypes[6] 427 if protoimpl.UnsafeEnabled && x != nil { 428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 429 if ms.LoadMessageInfo() == nil { 430 ms.StoreMessageInfo(mi) 431 } 432 return ms 433 } 434 return mi.MessageOf(x) 435 } 436 437 // Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead. 438 func (*UpdateChannelRequest) Descriptor() ([]byte, []int) { 439 return file_sub_proto_rawDescGZIP(), []int{6} 440 } 441 442 func (x *UpdateChannelRequest) GetChannelID() string { 443 if x != nil { 444 return x.ChannelID 445 } 446 return "" 447 } 448 449 func (x *UpdateChannelRequest) GetChannelInfo() *ChannelInfo { 450 if x != nil { 451 return x.ChannelInfo 452 } 453 return nil 454 } 455 456 type PublishRequest struct { 457 state protoimpl.MessageState 458 sizeCache protoimpl.SizeCache 459 unknownFields protoimpl.UnknownFields 460 461 ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` 462 Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 463 } 464 465 func (x *PublishRequest) Reset() { 466 *x = PublishRequest{} 467 if protoimpl.UnsafeEnabled { 468 mi := &file_sub_proto_msgTypes[7] 469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 470 ms.StoreMessageInfo(mi) 471 } 472 } 473 474 func (x *PublishRequest) String() string { 475 return protoimpl.X.MessageStringOf(x) 476 } 477 478 func (*PublishRequest) ProtoMessage() {} 479 480 func (x *PublishRequest) ProtoReflect() protoreflect.Message { 481 mi := &file_sub_proto_msgTypes[7] 482 if protoimpl.UnsafeEnabled && x != nil { 483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 484 if ms.LoadMessageInfo() == nil { 485 ms.StoreMessageInfo(mi) 486 } 487 return ms 488 } 489 return mi.MessageOf(x) 490 } 491 492 // Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead. 493 func (*PublishRequest) Descriptor() ([]byte, []int) { 494 return file_sub_proto_rawDescGZIP(), []int{7} 495 } 496 497 func (x *PublishRequest) GetChannelID() string { 498 if x != nil { 499 return x.ChannelID 500 } 501 return "" 502 } 503 504 func (x *PublishRequest) GetMessage() []byte { 505 if x != nil { 506 return x.Message 507 } 508 return nil 509 } 510 511 var File_sub_proto protoreflect.FileDescriptor 512 513 var file_sub_proto_rawDesc = []byte{ 514 0x0a, 0x09, 0x73, 0x75, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x69, 0x6d, 0x5f, 515 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x67, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x6d, 516 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x22, 0x6a, 0x0a, 0x10, 0x53, 517 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 518 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 519 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 0x22, 0x0a, 520 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 521 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 522 0x44, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 523 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x56, 0x0a, 0x12, 0x55, 0x6e, 0x73, 0x75, 0x62, 524 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 525 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 526 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x73, 527 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 528 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x44, 0x22, 529 0x71, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 530 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 531 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 532 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 533 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 534 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 535 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x78, 0x74, 536 0x72, 0x61, 0x22, 0x34, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 537 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 538 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 539 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x22, 0xad, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x61, 540 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 541 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 542 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 543 0x6d, 0x75, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x74, 544 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x06, 0x20, 545 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 546 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x6c, 547 0x6f, 0x73, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 548 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 549 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 550 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 551 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 552 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 553 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 554 0x4d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 555 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 556 0x65, 0x2e, 0x67, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 557 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 558 0x6f, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x83, 559 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 560 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 561 0x65, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 562 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x12, 0x4d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 563 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6d, 0x5f, 564 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x67, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x6d, 565 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x43, 0x68, 0x61, 0x6e, 566 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 567 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x48, 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 568 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 569 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 570 0x65, 0x6c, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 571 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x0b, 572 0x5a, 0x09, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 573 0x74, 0x6f, 0x33, 574 } 575 576 var ( 577 file_sub_proto_rawDescOnce sync.Once 578 file_sub_proto_rawDescData = file_sub_proto_rawDesc 579 ) 580 581 func file_sub_proto_rawDescGZIP() []byte { 582 file_sub_proto_rawDescOnce.Do(func() { 583 file_sub_proto_rawDescData = protoimpl.X.CompressGZIP(file_sub_proto_rawDescData) 584 }) 585 return file_sub_proto_rawDescData 586 } 587 588 var file_sub_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 589 var file_sub_proto_goTypes = []interface{}{ 590 (*SubscribeRequest)(nil), // 0: im_service.glide_im.github.com.SubscribeRequest 591 (*UnsubscribeRequest)(nil), // 1: im_service.glide_im.github.com.UnsubscribeRequest 592 (*UpdateSubscriberRequest)(nil), // 2: im_service.glide_im.github.com.UpdateSubscriberRequest 593 (*RemoveChannelRequest)(nil), // 3: im_service.glide_im.github.com.RemoveChannelRequest 594 (*ChannelInfo)(nil), // 4: im_service.glide_im.github.com.ChannelInfo 595 (*CreateChannelRequest)(nil), // 5: im_service.glide_im.github.com.CreateChannelRequest 596 (*UpdateChannelRequest)(nil), // 6: im_service.glide_im.github.com.UpdateChannelRequest 597 (*PublishRequest)(nil), // 7: im_service.glide_im.github.com.PublishRequest 598 } 599 var file_sub_proto_depIdxs = []int32{ 600 4, // 0: im_service.glide_im.github.com.CreateChannelRequest.channelInfo:type_name -> im_service.glide_im.github.com.ChannelInfo 601 4, // 1: im_service.glide_im.github.com.UpdateChannelRequest.channelInfo:type_name -> im_service.glide_im.github.com.ChannelInfo 602 2, // [2:2] is the sub-list for method output_type 603 2, // [2:2] is the sub-list for method input_type 604 2, // [2:2] is the sub-list for extension type_name 605 2, // [2:2] is the sub-list for extension extendee 606 0, // [0:2] is the sub-list for field type_name 607 } 608 609 func init() { file_sub_proto_init() } 610 func file_sub_proto_init() { 611 if File_sub_proto != nil { 612 return 613 } 614 if !protoimpl.UnsafeEnabled { 615 file_sub_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 616 switch v := v.(*SubscribeRequest); i { 617 case 0: 618 return &v.state 619 case 1: 620 return &v.sizeCache 621 case 2: 622 return &v.unknownFields 623 default: 624 return nil 625 } 626 } 627 file_sub_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 628 switch v := v.(*UnsubscribeRequest); i { 629 case 0: 630 return &v.state 631 case 1: 632 return &v.sizeCache 633 case 2: 634 return &v.unknownFields 635 default: 636 return nil 637 } 638 } 639 file_sub_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 640 switch v := v.(*UpdateSubscriberRequest); i { 641 case 0: 642 return &v.state 643 case 1: 644 return &v.sizeCache 645 case 2: 646 return &v.unknownFields 647 default: 648 return nil 649 } 650 } 651 file_sub_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 652 switch v := v.(*RemoveChannelRequest); i { 653 case 0: 654 return &v.state 655 case 1: 656 return &v.sizeCache 657 case 2: 658 return &v.unknownFields 659 default: 660 return nil 661 } 662 } 663 file_sub_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 664 switch v := v.(*ChannelInfo); i { 665 case 0: 666 return &v.state 667 case 1: 668 return &v.sizeCache 669 case 2: 670 return &v.unknownFields 671 default: 672 return nil 673 } 674 } 675 file_sub_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 676 switch v := v.(*CreateChannelRequest); i { 677 case 0: 678 return &v.state 679 case 1: 680 return &v.sizeCache 681 case 2: 682 return &v.unknownFields 683 default: 684 return nil 685 } 686 } 687 file_sub_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 688 switch v := v.(*UpdateChannelRequest); i { 689 case 0: 690 return &v.state 691 case 1: 692 return &v.sizeCache 693 case 2: 694 return &v.unknownFields 695 default: 696 return nil 697 } 698 } 699 file_sub_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 700 switch v := v.(*PublishRequest); i { 701 case 0: 702 return &v.state 703 case 1: 704 return &v.sizeCache 705 case 2: 706 return &v.unknownFields 707 default: 708 return nil 709 } 710 } 711 } 712 type x struct{} 713 out := protoimpl.TypeBuilder{ 714 File: protoimpl.DescBuilder{ 715 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 716 RawDescriptor: file_sub_proto_rawDesc, 717 NumEnums: 0, 718 NumMessages: 8, 719 NumExtensions: 0, 720 NumServices: 0, 721 }, 722 GoTypes: file_sub_proto_goTypes, 723 DependencyIndexes: file_sub_proto_depIdxs, 724 MessageInfos: file_sub_proto_msgTypes, 725 }.Build() 726 File_sub_proto = out.File 727 file_sub_proto_rawDesc = nil 728 file_sub_proto_goTypes = nil 729 file_sub_proto_depIdxs = nil 730 }