github.com/status-im/status-go@v1.1.0/protocol/protobuf/community_update.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.20.3 5 // source: community_update.proto 6 7 package protobuf 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 CommunityEvent_EventType int32 24 25 const ( 26 CommunityEvent_UNKNOWN CommunityEvent_EventType = 0 27 CommunityEvent_COMMUNITY_EDIT CommunityEvent_EventType = 1 28 CommunityEvent_COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE CommunityEvent_EventType = 2 29 CommunityEvent_COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE CommunityEvent_EventType = 3 30 CommunityEvent_COMMUNITY_CATEGORY_CREATE CommunityEvent_EventType = 4 31 CommunityEvent_COMMUNITY_CATEGORY_DELETE CommunityEvent_EventType = 5 32 CommunityEvent_COMMUNITY_CATEGORY_EDIT CommunityEvent_EventType = 6 33 CommunityEvent_COMMUNITY_CHANNEL_CREATE CommunityEvent_EventType = 7 34 CommunityEvent_COMMUNITY_CHANNEL_DELETE CommunityEvent_EventType = 8 35 CommunityEvent_COMMUNITY_CHANNEL_EDIT CommunityEvent_EventType = 9 36 CommunityEvent_COMMUNITY_CATEGORY_REORDER CommunityEvent_EventType = 10 37 CommunityEvent_COMMUNITY_CHANNEL_REORDER CommunityEvent_EventType = 11 38 CommunityEvent_COMMUNITY_REQUEST_TO_JOIN_ACCEPT CommunityEvent_EventType = 12 39 CommunityEvent_COMMUNITY_REQUEST_TO_JOIN_REJECT CommunityEvent_EventType = 13 40 CommunityEvent_COMMUNITY_MEMBER_KICK CommunityEvent_EventType = 14 41 CommunityEvent_COMMUNITY_MEMBER_BAN CommunityEvent_EventType = 15 42 CommunityEvent_COMMUNITY_MEMBER_UNBAN CommunityEvent_EventType = 16 43 CommunityEvent_COMMUNITY_TOKEN_ADD CommunityEvent_EventType = 17 44 CommunityEvent_COMMUNITY_DELETE_BANNED_MEMBER_MESSAGES CommunityEvent_EventType = 18 45 ) 46 47 // Enum value maps for CommunityEvent_EventType. 48 var ( 49 CommunityEvent_EventType_name = map[int32]string{ 50 0: "UNKNOWN", 51 1: "COMMUNITY_EDIT", 52 2: "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE", 53 3: "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE", 54 4: "COMMUNITY_CATEGORY_CREATE", 55 5: "COMMUNITY_CATEGORY_DELETE", 56 6: "COMMUNITY_CATEGORY_EDIT", 57 7: "COMMUNITY_CHANNEL_CREATE", 58 8: "COMMUNITY_CHANNEL_DELETE", 59 9: "COMMUNITY_CHANNEL_EDIT", 60 10: "COMMUNITY_CATEGORY_REORDER", 61 11: "COMMUNITY_CHANNEL_REORDER", 62 12: "COMMUNITY_REQUEST_TO_JOIN_ACCEPT", 63 13: "COMMUNITY_REQUEST_TO_JOIN_REJECT", 64 14: "COMMUNITY_MEMBER_KICK", 65 15: "COMMUNITY_MEMBER_BAN", 66 16: "COMMUNITY_MEMBER_UNBAN", 67 17: "COMMUNITY_TOKEN_ADD", 68 18: "COMMUNITY_DELETE_BANNED_MEMBER_MESSAGES", 69 } 70 CommunityEvent_EventType_value = map[string]int32{ 71 "UNKNOWN": 0, 72 "COMMUNITY_EDIT": 1, 73 "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE": 2, 74 "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE": 3, 75 "COMMUNITY_CATEGORY_CREATE": 4, 76 "COMMUNITY_CATEGORY_DELETE": 5, 77 "COMMUNITY_CATEGORY_EDIT": 6, 78 "COMMUNITY_CHANNEL_CREATE": 7, 79 "COMMUNITY_CHANNEL_DELETE": 8, 80 "COMMUNITY_CHANNEL_EDIT": 9, 81 "COMMUNITY_CATEGORY_REORDER": 10, 82 "COMMUNITY_CHANNEL_REORDER": 11, 83 "COMMUNITY_REQUEST_TO_JOIN_ACCEPT": 12, 84 "COMMUNITY_REQUEST_TO_JOIN_REJECT": 13, 85 "COMMUNITY_MEMBER_KICK": 14, 86 "COMMUNITY_MEMBER_BAN": 15, 87 "COMMUNITY_MEMBER_UNBAN": 16, 88 "COMMUNITY_TOKEN_ADD": 17, 89 "COMMUNITY_DELETE_BANNED_MEMBER_MESSAGES": 18, 90 } 91 ) 92 93 func (x CommunityEvent_EventType) Enum() *CommunityEvent_EventType { 94 p := new(CommunityEvent_EventType) 95 *p = x 96 return p 97 } 98 99 func (x CommunityEvent_EventType) String() string { 100 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 101 } 102 103 func (CommunityEvent_EventType) Descriptor() protoreflect.EnumDescriptor { 104 return file_community_update_proto_enumTypes[0].Descriptor() 105 } 106 107 func (CommunityEvent_EventType) Type() protoreflect.EnumType { 108 return &file_community_update_proto_enumTypes[0] 109 } 110 111 func (x CommunityEvent_EventType) Number() protoreflect.EnumNumber { 112 return protoreflect.EnumNumber(x) 113 } 114 115 // Deprecated: Use CommunityEvent_EventType.Descriptor instead. 116 func (CommunityEvent_EventType) EnumDescriptor() ([]byte, []int) { 117 return file_community_update_proto_rawDescGZIP(), []int{0, 0} 118 } 119 120 type CommunityEvent struct { 121 state protoimpl.MessageState 122 sizeCache protoimpl.SizeCache 123 unknownFields protoimpl.UnknownFields 124 125 CommunityEventClock uint64 `protobuf:"varint,1,opt,name=community_event_clock,json=communityEventClock,proto3" json:"community_event_clock,omitempty"` 126 Type CommunityEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityEvent_EventType" json:"type,omitempty"` 127 CommunityConfig *CommunityConfig `protobuf:"bytes,3,opt,name=community_config,json=communityConfig,proto3" json:"community_config,omitempty"` 128 TokenPermission *CommunityTokenPermission `protobuf:"bytes,4,opt,name=token_permission,json=tokenPermission,proto3" json:"token_permission,omitempty"` 129 CategoryData *CategoryData `protobuf:"bytes,5,opt,name=category_data,json=categoryData,proto3" json:"category_data,omitempty"` 130 ChannelData *ChannelData `protobuf:"bytes,6,opt,name=channel_data,json=channelData,proto3" json:"channel_data,omitempty"` 131 MemberToAction string `protobuf:"bytes,7,opt,name=member_to_action,json=memberToAction,proto3" json:"member_to_action,omitempty"` 132 MembersAdded map[string]*CommunityMember `protobuf:"bytes,8,rep,name=membersAdded,proto3" json:"membersAdded,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 133 RejectedRequestsToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,9,rep,name=rejectedRequestsToJoin,proto3" json:"rejectedRequestsToJoin,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 134 AcceptedRequestsToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,10,rep,name=acceptedRequestsToJoin,proto3" json:"acceptedRequestsToJoin,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 135 TokenMetadata *CommunityTokenMetadata `protobuf:"bytes,11,opt,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` 136 } 137 138 func (x *CommunityEvent) Reset() { 139 *x = CommunityEvent{} 140 if protoimpl.UnsafeEnabled { 141 mi := &file_community_update_proto_msgTypes[0] 142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 143 ms.StoreMessageInfo(mi) 144 } 145 } 146 147 func (x *CommunityEvent) String() string { 148 return protoimpl.X.MessageStringOf(x) 149 } 150 151 func (*CommunityEvent) ProtoMessage() {} 152 153 func (x *CommunityEvent) ProtoReflect() protoreflect.Message { 154 mi := &file_community_update_proto_msgTypes[0] 155 if protoimpl.UnsafeEnabled && x != nil { 156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 157 if ms.LoadMessageInfo() == nil { 158 ms.StoreMessageInfo(mi) 159 } 160 return ms 161 } 162 return mi.MessageOf(x) 163 } 164 165 // Deprecated: Use CommunityEvent.ProtoReflect.Descriptor instead. 166 func (*CommunityEvent) Descriptor() ([]byte, []int) { 167 return file_community_update_proto_rawDescGZIP(), []int{0} 168 } 169 170 func (x *CommunityEvent) GetCommunityEventClock() uint64 { 171 if x != nil { 172 return x.CommunityEventClock 173 } 174 return 0 175 } 176 177 func (x *CommunityEvent) GetType() CommunityEvent_EventType { 178 if x != nil { 179 return x.Type 180 } 181 return CommunityEvent_UNKNOWN 182 } 183 184 func (x *CommunityEvent) GetCommunityConfig() *CommunityConfig { 185 if x != nil { 186 return x.CommunityConfig 187 } 188 return nil 189 } 190 191 func (x *CommunityEvent) GetTokenPermission() *CommunityTokenPermission { 192 if x != nil { 193 return x.TokenPermission 194 } 195 return nil 196 } 197 198 func (x *CommunityEvent) GetCategoryData() *CategoryData { 199 if x != nil { 200 return x.CategoryData 201 } 202 return nil 203 } 204 205 func (x *CommunityEvent) GetChannelData() *ChannelData { 206 if x != nil { 207 return x.ChannelData 208 } 209 return nil 210 } 211 212 func (x *CommunityEvent) GetMemberToAction() string { 213 if x != nil { 214 return x.MemberToAction 215 } 216 return "" 217 } 218 219 func (x *CommunityEvent) GetMembersAdded() map[string]*CommunityMember { 220 if x != nil { 221 return x.MembersAdded 222 } 223 return nil 224 } 225 226 func (x *CommunityEvent) GetRejectedRequestsToJoin() map[string]*CommunityRequestToJoin { 227 if x != nil { 228 return x.RejectedRequestsToJoin 229 } 230 return nil 231 } 232 233 func (x *CommunityEvent) GetAcceptedRequestsToJoin() map[string]*CommunityRequestToJoin { 234 if x != nil { 235 return x.AcceptedRequestsToJoin 236 } 237 return nil 238 } 239 240 func (x *CommunityEvent) GetTokenMetadata() *CommunityTokenMetadata { 241 if x != nil { 242 return x.TokenMetadata 243 } 244 return nil 245 } 246 247 type CommunityConfig struct { 248 state protoimpl.MessageState 249 sizeCache protoimpl.SizeCache 250 unknownFields protoimpl.UnknownFields 251 252 Identity *ChatIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` 253 Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` 254 AdminSettings *CommunityAdminSettings `protobuf:"bytes,3,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` 255 IntroMessage string `protobuf:"bytes,4,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` 256 OutroMessage string `protobuf:"bytes,5,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` 257 Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` 258 } 259 260 func (x *CommunityConfig) Reset() { 261 *x = CommunityConfig{} 262 if protoimpl.UnsafeEnabled { 263 mi := &file_community_update_proto_msgTypes[1] 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 ms.StoreMessageInfo(mi) 266 } 267 } 268 269 func (x *CommunityConfig) String() string { 270 return protoimpl.X.MessageStringOf(x) 271 } 272 273 func (*CommunityConfig) ProtoMessage() {} 274 275 func (x *CommunityConfig) ProtoReflect() protoreflect.Message { 276 mi := &file_community_update_proto_msgTypes[1] 277 if protoimpl.UnsafeEnabled && x != nil { 278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 279 if ms.LoadMessageInfo() == nil { 280 ms.StoreMessageInfo(mi) 281 } 282 return ms 283 } 284 return mi.MessageOf(x) 285 } 286 287 // Deprecated: Use CommunityConfig.ProtoReflect.Descriptor instead. 288 func (*CommunityConfig) Descriptor() ([]byte, []int) { 289 return file_community_update_proto_rawDescGZIP(), []int{1} 290 } 291 292 func (x *CommunityConfig) GetIdentity() *ChatIdentity { 293 if x != nil { 294 return x.Identity 295 } 296 return nil 297 } 298 299 func (x *CommunityConfig) GetPermissions() *CommunityPermissions { 300 if x != nil { 301 return x.Permissions 302 } 303 return nil 304 } 305 306 func (x *CommunityConfig) GetAdminSettings() *CommunityAdminSettings { 307 if x != nil { 308 return x.AdminSettings 309 } 310 return nil 311 } 312 313 func (x *CommunityConfig) GetIntroMessage() string { 314 if x != nil { 315 return x.IntroMessage 316 } 317 return "" 318 } 319 320 func (x *CommunityConfig) GetOutroMessage() string { 321 if x != nil { 322 return x.OutroMessage 323 } 324 return "" 325 } 326 327 func (x *CommunityConfig) GetTags() []string { 328 if x != nil { 329 return x.Tags 330 } 331 return nil 332 } 333 334 type CategoryData struct { 335 state protoimpl.MessageState 336 sizeCache protoimpl.SizeCache 337 unknownFields protoimpl.UnknownFields 338 339 CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` 340 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 341 ChannelsIds []string `protobuf:"bytes,3,rep,name=channels_ids,json=channelsIds,proto3" json:"channels_ids,omitempty"` 342 Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` 343 } 344 345 func (x *CategoryData) Reset() { 346 *x = CategoryData{} 347 if protoimpl.UnsafeEnabled { 348 mi := &file_community_update_proto_msgTypes[2] 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 ms.StoreMessageInfo(mi) 351 } 352 } 353 354 func (x *CategoryData) String() string { 355 return protoimpl.X.MessageStringOf(x) 356 } 357 358 func (*CategoryData) ProtoMessage() {} 359 360 func (x *CategoryData) ProtoReflect() protoreflect.Message { 361 mi := &file_community_update_proto_msgTypes[2] 362 if protoimpl.UnsafeEnabled && x != nil { 363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 364 if ms.LoadMessageInfo() == nil { 365 ms.StoreMessageInfo(mi) 366 } 367 return ms 368 } 369 return mi.MessageOf(x) 370 } 371 372 // Deprecated: Use CategoryData.ProtoReflect.Descriptor instead. 373 func (*CategoryData) Descriptor() ([]byte, []int) { 374 return file_community_update_proto_rawDescGZIP(), []int{2} 375 } 376 377 func (x *CategoryData) GetCategoryId() string { 378 if x != nil { 379 return x.CategoryId 380 } 381 return "" 382 } 383 384 func (x *CategoryData) GetName() string { 385 if x != nil { 386 return x.Name 387 } 388 return "" 389 } 390 391 func (x *CategoryData) GetChannelsIds() []string { 392 if x != nil { 393 return x.ChannelsIds 394 } 395 return nil 396 } 397 398 func (x *CategoryData) GetPosition() int32 { 399 if x != nil { 400 return x.Position 401 } 402 return 0 403 } 404 405 type ChannelData struct { 406 state protoimpl.MessageState 407 sizeCache protoimpl.SizeCache 408 unknownFields protoimpl.UnknownFields 409 410 CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` 411 ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` 412 Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` 413 Channel *CommunityChat `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` 414 } 415 416 func (x *ChannelData) Reset() { 417 *x = ChannelData{} 418 if protoimpl.UnsafeEnabled { 419 mi := &file_community_update_proto_msgTypes[3] 420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 421 ms.StoreMessageInfo(mi) 422 } 423 } 424 425 func (x *ChannelData) String() string { 426 return protoimpl.X.MessageStringOf(x) 427 } 428 429 func (*ChannelData) ProtoMessage() {} 430 431 func (x *ChannelData) ProtoReflect() protoreflect.Message { 432 mi := &file_community_update_proto_msgTypes[3] 433 if protoimpl.UnsafeEnabled && x != nil { 434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 435 if ms.LoadMessageInfo() == nil { 436 ms.StoreMessageInfo(mi) 437 } 438 return ms 439 } 440 return mi.MessageOf(x) 441 } 442 443 // Deprecated: Use ChannelData.ProtoReflect.Descriptor instead. 444 func (*ChannelData) Descriptor() ([]byte, []int) { 445 return file_community_update_proto_rawDescGZIP(), []int{3} 446 } 447 448 func (x *ChannelData) GetCategoryId() string { 449 if x != nil { 450 return x.CategoryId 451 } 452 return "" 453 } 454 455 func (x *ChannelData) GetChannelId() string { 456 if x != nil { 457 return x.ChannelId 458 } 459 return "" 460 } 461 462 func (x *ChannelData) GetPosition() int32 { 463 if x != nil { 464 return x.Position 465 } 466 return 0 467 } 468 469 func (x *ChannelData) GetChannel() *CommunityChat { 470 if x != nil { 471 return x.Channel 472 } 473 return nil 474 } 475 476 type SignedCommunityEvent struct { 477 state protoimpl.MessageState 478 sizeCache protoimpl.SizeCache 479 unknownFields protoimpl.UnknownFields 480 481 // Signature of the payload field 482 Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 483 // Marshaled CommunityEvent 484 Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` 485 } 486 487 func (x *SignedCommunityEvent) Reset() { 488 *x = SignedCommunityEvent{} 489 if protoimpl.UnsafeEnabled { 490 mi := &file_community_update_proto_msgTypes[4] 491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 492 ms.StoreMessageInfo(mi) 493 } 494 } 495 496 func (x *SignedCommunityEvent) String() string { 497 return protoimpl.X.MessageStringOf(x) 498 } 499 500 func (*SignedCommunityEvent) ProtoMessage() {} 501 502 func (x *SignedCommunityEvent) ProtoReflect() protoreflect.Message { 503 mi := &file_community_update_proto_msgTypes[4] 504 if protoimpl.UnsafeEnabled && x != nil { 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 506 if ms.LoadMessageInfo() == nil { 507 ms.StoreMessageInfo(mi) 508 } 509 return ms 510 } 511 return mi.MessageOf(x) 512 } 513 514 // Deprecated: Use SignedCommunityEvent.ProtoReflect.Descriptor instead. 515 func (*SignedCommunityEvent) Descriptor() ([]byte, []int) { 516 return file_community_update_proto_rawDescGZIP(), []int{4} 517 } 518 519 func (x *SignedCommunityEvent) GetSignature() []byte { 520 if x != nil { 521 return x.Signature 522 } 523 return nil 524 } 525 526 func (x *SignedCommunityEvent) GetPayload() []byte { 527 if x != nil { 528 return x.Payload 529 } 530 return nil 531 } 532 533 // CommunityEventsMessage is a message used to propagate information 534 // about community changes. 535 type CommunityEventsMessage struct { 536 state protoimpl.MessageState 537 sizeCache protoimpl.SizeCache 538 unknownFields protoimpl.UnknownFields 539 540 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 541 // Events base CommunityDescription with owner signature on top of which events were generated 542 EventsBaseCommunityDescription []byte `protobuf:"bytes,2,opt,name=events_base_community_description,json=eventsBaseCommunityDescription,proto3" json:"events_base_community_description,omitempty"` 543 // A list of admins events for the channel in bytes 544 // Deprecated: use signed_events instead. 545 // 546 // Deprecated: Marked as deprecated in community_update.proto. 547 Events [][]byte `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` 548 // A list of signed community events 549 SignedEvents []*SignedCommunityEvent `protobuf:"bytes,4,rep,name=signed_events,json=signedEvents,proto3" json:"signed_events,omitempty"` 550 } 551 552 func (x *CommunityEventsMessage) Reset() { 553 *x = CommunityEventsMessage{} 554 if protoimpl.UnsafeEnabled { 555 mi := &file_community_update_proto_msgTypes[5] 556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 557 ms.StoreMessageInfo(mi) 558 } 559 } 560 561 func (x *CommunityEventsMessage) String() string { 562 return protoimpl.X.MessageStringOf(x) 563 } 564 565 func (*CommunityEventsMessage) ProtoMessage() {} 566 567 func (x *CommunityEventsMessage) ProtoReflect() protoreflect.Message { 568 mi := &file_community_update_proto_msgTypes[5] 569 if protoimpl.UnsafeEnabled && x != nil { 570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 571 if ms.LoadMessageInfo() == nil { 572 ms.StoreMessageInfo(mi) 573 } 574 return ms 575 } 576 return mi.MessageOf(x) 577 } 578 579 // Deprecated: Use CommunityEventsMessage.ProtoReflect.Descriptor instead. 580 func (*CommunityEventsMessage) Descriptor() ([]byte, []int) { 581 return file_community_update_proto_rawDescGZIP(), []int{5} 582 } 583 584 func (x *CommunityEventsMessage) GetCommunityId() []byte { 585 if x != nil { 586 return x.CommunityId 587 } 588 return nil 589 } 590 591 func (x *CommunityEventsMessage) GetEventsBaseCommunityDescription() []byte { 592 if x != nil { 593 return x.EventsBaseCommunityDescription 594 } 595 return nil 596 } 597 598 // Deprecated: Marked as deprecated in community_update.proto. 599 func (x *CommunityEventsMessage) GetEvents() [][]byte { 600 if x != nil { 601 return x.Events 602 } 603 return nil 604 } 605 606 func (x *CommunityEventsMessage) GetSignedEvents() []*SignedCommunityEvent { 607 if x != nil { 608 return x.SignedEvents 609 } 610 return nil 611 } 612 613 type CommunityEventsMessageRejected struct { 614 state protoimpl.MessageState 615 sizeCache protoimpl.SizeCache 616 unknownFields protoimpl.UnknownFields 617 618 Msg *CommunityEventsMessage `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` 619 } 620 621 func (x *CommunityEventsMessageRejected) Reset() { 622 *x = CommunityEventsMessageRejected{} 623 if protoimpl.UnsafeEnabled { 624 mi := &file_community_update_proto_msgTypes[6] 625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 626 ms.StoreMessageInfo(mi) 627 } 628 } 629 630 func (x *CommunityEventsMessageRejected) String() string { 631 return protoimpl.X.MessageStringOf(x) 632 } 633 634 func (*CommunityEventsMessageRejected) ProtoMessage() {} 635 636 func (x *CommunityEventsMessageRejected) ProtoReflect() protoreflect.Message { 637 mi := &file_community_update_proto_msgTypes[6] 638 if protoimpl.UnsafeEnabled && x != nil { 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 640 if ms.LoadMessageInfo() == nil { 641 ms.StoreMessageInfo(mi) 642 } 643 return ms 644 } 645 return mi.MessageOf(x) 646 } 647 648 // Deprecated: Use CommunityEventsMessageRejected.ProtoReflect.Descriptor instead. 649 func (*CommunityEventsMessageRejected) Descriptor() ([]byte, []int) { 650 return file_community_update_proto_rawDescGZIP(), []int{6} 651 } 652 653 func (x *CommunityEventsMessageRejected) GetMsg() *CommunityEventsMessage { 654 if x != nil { 655 return x.Msg 656 } 657 return nil 658 } 659 660 var File_community_update_proto protoreflect.FileDescriptor 661 662 var file_community_update_proto_rawDesc = []byte{ 663 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 664 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 665 0x75, 0x66, 0x1a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 666 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 667 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x0d, 0x0a, 0x0e, 0x43, 668 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 669 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 670 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, 0x6f, 671 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x63, 672 0x6b, 0x12, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 673 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 674 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 675 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 676 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 677 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 678 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 679 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 680 0x4d, 0x0a, 0x10, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 681 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 682 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 683 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, 684 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 685 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 686 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 687 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x63, 688 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0c, 0x63, 689 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 690 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 691 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 692 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 693 0x74, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 694 0x0e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 695 0x4e, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x18, 696 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 697 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 698 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 699 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 700 0x6c, 0x0a, 0x16, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 701 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 702 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 703 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 704 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 705 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 706 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x6c, 0x0a, 707 0x16, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 708 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 709 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 710 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 711 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 712 0x74, 0x72, 0x79, 0x52, 0x16, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 713 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x47, 0x0a, 0x0e, 0x74, 714 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 715 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 716 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 717 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 718 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5a, 0x0a, 0x11, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 719 0x64, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 720 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 721 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 722 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 723 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 724 0x1a, 0x6b, 0x0a, 0x1b, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 725 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 726 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 727 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 728 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 729 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 730 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 731 0x1b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 732 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 733 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 734 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 735 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 736 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 737 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xdd, 0x04, 0x0a, 0x09, 0x45, 738 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 739 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 740 0x54, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x01, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 741 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x4f, 742 0x4b, 0x45, 0x4e, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 743 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 744 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 745 0x4e, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 746 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 747 0x54, 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x52, 0x45, 0x41, 748 0x54, 0x45, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 749 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 750 0x45, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 751 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x06, 752 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 753 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x07, 0x12, 0x1c, 754 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 755 0x4e, 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16, 756 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 757 0x4c, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x09, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4d, 0x4d, 758 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x52, 759 0x45, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 760 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x52, 0x45, 761 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 762 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 763 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x0c, 0x12, 0x24, 0x0a, 764 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 765 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 766 0x54, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 767 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x10, 0x0e, 0x12, 0x18, 768 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 769 0x45, 0x52, 0x5f, 0x42, 0x41, 0x4e, 0x10, 0x0f, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x4d, 770 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x42, 771 0x41, 0x4e, 0x10, 0x10, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 772 0x59, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x10, 0x11, 0x12, 0x2b, 0x0a, 773 0x27, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 774 0x45, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 775 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x53, 0x10, 0x12, 0x22, 0xae, 0x02, 0x0a, 0x0f, 0x43, 776 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 777 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 778 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 779 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 780 0x74, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 781 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 782 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 783 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 784 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65, 785 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 786 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 787 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0d, 788 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x23, 0x0a, 789 0x0d, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 790 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 791 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 792 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x72, 0x6f, 793 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 794 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x0c, 795 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 796 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 797 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 798 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 799 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5f, 0x69, 0x64, 800 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 801 0x73, 0x49, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 802 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 803 0x22, 0x9c, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, 804 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 805 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 806 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 807 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 808 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 809 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x07, 810 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 811 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 812 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 813 0x4e, 0x0a, 0x14, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 814 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 815 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 816 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 817 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 818 0xe7, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 819 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 820 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 821 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x49, 0x0a, 822 0x21, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 823 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 824 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 825 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 826 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 827 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x65, 0x76, 828 0x65, 0x6e, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x65, 829 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 830 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6d, 831 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x73, 0x69, 0x67, 832 0x6e, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x54, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 833 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x73, 0x73, 834 0x61, 0x67, 0x65, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x03, 0x6d, 835 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 836 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 837 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x42, 838 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 839 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 840 } 841 842 var ( 843 file_community_update_proto_rawDescOnce sync.Once 844 file_community_update_proto_rawDescData = file_community_update_proto_rawDesc 845 ) 846 847 func file_community_update_proto_rawDescGZIP() []byte { 848 file_community_update_proto_rawDescOnce.Do(func() { 849 file_community_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_update_proto_rawDescData) 850 }) 851 return file_community_update_proto_rawDescData 852 } 853 854 var file_community_update_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 855 var file_community_update_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 856 var file_community_update_proto_goTypes = []interface{}{ 857 (CommunityEvent_EventType)(0), // 0: protobuf.CommunityEvent.EventType 858 (*CommunityEvent)(nil), // 1: protobuf.CommunityEvent 859 (*CommunityConfig)(nil), // 2: protobuf.CommunityConfig 860 (*CategoryData)(nil), // 3: protobuf.CategoryData 861 (*ChannelData)(nil), // 4: protobuf.ChannelData 862 (*SignedCommunityEvent)(nil), // 5: protobuf.SignedCommunityEvent 863 (*CommunityEventsMessage)(nil), // 6: protobuf.CommunityEventsMessage 864 (*CommunityEventsMessageRejected)(nil), // 7: protobuf.CommunityEventsMessageRejected 865 nil, // 8: protobuf.CommunityEvent.MembersAddedEntry 866 nil, // 9: protobuf.CommunityEvent.RejectedRequestsToJoinEntry 867 nil, // 10: protobuf.CommunityEvent.AcceptedRequestsToJoinEntry 868 (*CommunityTokenPermission)(nil), // 11: protobuf.CommunityTokenPermission 869 (*CommunityTokenMetadata)(nil), // 12: protobuf.CommunityTokenMetadata 870 (*ChatIdentity)(nil), // 13: protobuf.ChatIdentity 871 (*CommunityPermissions)(nil), // 14: protobuf.CommunityPermissions 872 (*CommunityAdminSettings)(nil), // 15: protobuf.CommunityAdminSettings 873 (*CommunityChat)(nil), // 16: protobuf.CommunityChat 874 (*CommunityMember)(nil), // 17: protobuf.CommunityMember 875 (*CommunityRequestToJoin)(nil), // 18: protobuf.CommunityRequestToJoin 876 } 877 var file_community_update_proto_depIdxs = []int32{ 878 0, // 0: protobuf.CommunityEvent.type:type_name -> protobuf.CommunityEvent.EventType 879 2, // 1: protobuf.CommunityEvent.community_config:type_name -> protobuf.CommunityConfig 880 11, // 2: protobuf.CommunityEvent.token_permission:type_name -> protobuf.CommunityTokenPermission 881 3, // 3: protobuf.CommunityEvent.category_data:type_name -> protobuf.CategoryData 882 4, // 4: protobuf.CommunityEvent.channel_data:type_name -> protobuf.ChannelData 883 8, // 5: protobuf.CommunityEvent.membersAdded:type_name -> protobuf.CommunityEvent.MembersAddedEntry 884 9, // 6: protobuf.CommunityEvent.rejectedRequestsToJoin:type_name -> protobuf.CommunityEvent.RejectedRequestsToJoinEntry 885 10, // 7: protobuf.CommunityEvent.acceptedRequestsToJoin:type_name -> protobuf.CommunityEvent.AcceptedRequestsToJoinEntry 886 12, // 8: protobuf.CommunityEvent.token_metadata:type_name -> protobuf.CommunityTokenMetadata 887 13, // 9: protobuf.CommunityConfig.identity:type_name -> protobuf.ChatIdentity 888 14, // 10: protobuf.CommunityConfig.permissions:type_name -> protobuf.CommunityPermissions 889 15, // 11: protobuf.CommunityConfig.admin_settings:type_name -> protobuf.CommunityAdminSettings 890 16, // 12: protobuf.ChannelData.channel:type_name -> protobuf.CommunityChat 891 5, // 13: protobuf.CommunityEventsMessage.signed_events:type_name -> protobuf.SignedCommunityEvent 892 6, // 14: protobuf.CommunityEventsMessageRejected.msg:type_name -> protobuf.CommunityEventsMessage 893 17, // 15: protobuf.CommunityEvent.MembersAddedEntry.value:type_name -> protobuf.CommunityMember 894 18, // 16: protobuf.CommunityEvent.RejectedRequestsToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin 895 18, // 17: protobuf.CommunityEvent.AcceptedRequestsToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin 896 18, // [18:18] is the sub-list for method output_type 897 18, // [18:18] is the sub-list for method input_type 898 18, // [18:18] is the sub-list for extension type_name 899 18, // [18:18] is the sub-list for extension extendee 900 0, // [0:18] is the sub-list for field type_name 901 } 902 903 func init() { file_community_update_proto_init() } 904 func file_community_update_proto_init() { 905 if File_community_update_proto != nil { 906 return 907 } 908 file_chat_identity_proto_init() 909 file_communities_proto_init() 910 if !protoimpl.UnsafeEnabled { 911 file_community_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 912 switch v := v.(*CommunityEvent); i { 913 case 0: 914 return &v.state 915 case 1: 916 return &v.sizeCache 917 case 2: 918 return &v.unknownFields 919 default: 920 return nil 921 } 922 } 923 file_community_update_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 924 switch v := v.(*CommunityConfig); i { 925 case 0: 926 return &v.state 927 case 1: 928 return &v.sizeCache 929 case 2: 930 return &v.unknownFields 931 default: 932 return nil 933 } 934 } 935 file_community_update_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 936 switch v := v.(*CategoryData); i { 937 case 0: 938 return &v.state 939 case 1: 940 return &v.sizeCache 941 case 2: 942 return &v.unknownFields 943 default: 944 return nil 945 } 946 } 947 file_community_update_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 948 switch v := v.(*ChannelData); i { 949 case 0: 950 return &v.state 951 case 1: 952 return &v.sizeCache 953 case 2: 954 return &v.unknownFields 955 default: 956 return nil 957 } 958 } 959 file_community_update_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 960 switch v := v.(*SignedCommunityEvent); i { 961 case 0: 962 return &v.state 963 case 1: 964 return &v.sizeCache 965 case 2: 966 return &v.unknownFields 967 default: 968 return nil 969 } 970 } 971 file_community_update_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 972 switch v := v.(*CommunityEventsMessage); i { 973 case 0: 974 return &v.state 975 case 1: 976 return &v.sizeCache 977 case 2: 978 return &v.unknownFields 979 default: 980 return nil 981 } 982 } 983 file_community_update_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 984 switch v := v.(*CommunityEventsMessageRejected); i { 985 case 0: 986 return &v.state 987 case 1: 988 return &v.sizeCache 989 case 2: 990 return &v.unknownFields 991 default: 992 return nil 993 } 994 } 995 } 996 type x struct{} 997 out := protoimpl.TypeBuilder{ 998 File: protoimpl.DescBuilder{ 999 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1000 RawDescriptor: file_community_update_proto_rawDesc, 1001 NumEnums: 1, 1002 NumMessages: 10, 1003 NumExtensions: 0, 1004 NumServices: 0, 1005 }, 1006 GoTypes: file_community_update_proto_goTypes, 1007 DependencyIndexes: file_community_update_proto_depIdxs, 1008 EnumInfos: file_community_update_proto_enumTypes, 1009 MessageInfos: file_community_update_proto_msgTypes, 1010 }.Build() 1011 File_community_update_proto = out.File 1012 file_community_update_proto_rawDesc = nil 1013 file_community_update_proto_goTypes = nil 1014 file_community_update_proto_depIdxs = nil 1015 }