github.com/status-im/status-go@v1.1.0/protocol/protobuf/communities.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: communities.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 CommunityMember_Roles int32 24 25 const ( 26 CommunityMember_ROLE_NONE CommunityMember_Roles = 0 27 CommunityMember_ROLE_OWNER CommunityMember_Roles = 1 28 CommunityMember_ROLE_ADMIN CommunityMember_Roles = 4 29 CommunityMember_ROLE_TOKEN_MASTER CommunityMember_Roles = 5 30 ) 31 32 // Enum value maps for CommunityMember_Roles. 33 var ( 34 CommunityMember_Roles_name = map[int32]string{ 35 0: "ROLE_NONE", 36 1: "ROLE_OWNER", 37 4: "ROLE_ADMIN", 38 5: "ROLE_TOKEN_MASTER", 39 } 40 CommunityMember_Roles_value = map[string]int32{ 41 "ROLE_NONE": 0, 42 "ROLE_OWNER": 1, 43 "ROLE_ADMIN": 4, 44 "ROLE_TOKEN_MASTER": 5, 45 } 46 ) 47 48 func (x CommunityMember_Roles) Enum() *CommunityMember_Roles { 49 p := new(CommunityMember_Roles) 50 *p = x 51 return p 52 } 53 54 func (x CommunityMember_Roles) String() string { 55 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 56 } 57 58 func (CommunityMember_Roles) Descriptor() protoreflect.EnumDescriptor { 59 return file_communities_proto_enumTypes[0].Descriptor() 60 } 61 62 func (CommunityMember_Roles) Type() protoreflect.EnumType { 63 return &file_communities_proto_enumTypes[0] 64 } 65 66 func (x CommunityMember_Roles) Number() protoreflect.EnumNumber { 67 return protoreflect.EnumNumber(x) 68 } 69 70 // Deprecated: Use CommunityMember_Roles.Descriptor instead. 71 func (CommunityMember_Roles) EnumDescriptor() ([]byte, []int) { 72 return file_communities_proto_rawDescGZIP(), []int{1, 0} 73 } 74 75 type CommunityMember_ChannelRole int32 76 77 const ( 78 // We make POSTER the first role to be the default one. 79 // This is for backwards compatibility. Older protobufs won't have this field and will default to 0. 80 CommunityMember_CHANNEL_ROLE_POSTER CommunityMember_ChannelRole = 0 81 CommunityMember_CHANNEL_ROLE_VIEWER CommunityMember_ChannelRole = 1 82 ) 83 84 // Enum value maps for CommunityMember_ChannelRole. 85 var ( 86 CommunityMember_ChannelRole_name = map[int32]string{ 87 0: "CHANNEL_ROLE_POSTER", 88 1: "CHANNEL_ROLE_VIEWER", 89 } 90 CommunityMember_ChannelRole_value = map[string]int32{ 91 "CHANNEL_ROLE_POSTER": 0, 92 "CHANNEL_ROLE_VIEWER": 1, 93 } 94 ) 95 96 func (x CommunityMember_ChannelRole) Enum() *CommunityMember_ChannelRole { 97 p := new(CommunityMember_ChannelRole) 98 *p = x 99 return p 100 } 101 102 func (x CommunityMember_ChannelRole) String() string { 103 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 104 } 105 106 func (CommunityMember_ChannelRole) Descriptor() protoreflect.EnumDescriptor { 107 return file_communities_proto_enumTypes[1].Descriptor() 108 } 109 110 func (CommunityMember_ChannelRole) Type() protoreflect.EnumType { 111 return &file_communities_proto_enumTypes[1] 112 } 113 114 func (x CommunityMember_ChannelRole) Number() protoreflect.EnumNumber { 115 return protoreflect.EnumNumber(x) 116 } 117 118 // Deprecated: Use CommunityMember_ChannelRole.Descriptor instead. 119 func (CommunityMember_ChannelRole) EnumDescriptor() ([]byte, []int) { 120 return file_communities_proto_rawDescGZIP(), []int{1, 1} 121 } 122 123 type CommunityTokenAction_ActionType int32 124 125 const ( 126 CommunityTokenAction_UNKNOWN_ACTION_TYPE CommunityTokenAction_ActionType = 0 127 CommunityTokenAction_AIRDROP CommunityTokenAction_ActionType = 1 128 CommunityTokenAction_BURN CommunityTokenAction_ActionType = 2 129 CommunityTokenAction_REMOTE_DESTRUCT CommunityTokenAction_ActionType = 3 130 ) 131 132 // Enum value maps for CommunityTokenAction_ActionType. 133 var ( 134 CommunityTokenAction_ActionType_name = map[int32]string{ 135 0: "UNKNOWN_ACTION_TYPE", 136 1: "AIRDROP", 137 2: "BURN", 138 3: "REMOTE_DESTRUCT", 139 } 140 CommunityTokenAction_ActionType_value = map[string]int32{ 141 "UNKNOWN_ACTION_TYPE": 0, 142 "AIRDROP": 1, 143 "BURN": 2, 144 "REMOTE_DESTRUCT": 3, 145 } 146 ) 147 148 func (x CommunityTokenAction_ActionType) Enum() *CommunityTokenAction_ActionType { 149 p := new(CommunityTokenAction_ActionType) 150 *p = x 151 return p 152 } 153 154 func (x CommunityTokenAction_ActionType) String() string { 155 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 156 } 157 158 func (CommunityTokenAction_ActionType) Descriptor() protoreflect.EnumDescriptor { 159 return file_communities_proto_enumTypes[2].Descriptor() 160 } 161 162 func (CommunityTokenAction_ActionType) Type() protoreflect.EnumType { 163 return &file_communities_proto_enumTypes[2] 164 } 165 166 func (x CommunityTokenAction_ActionType) Number() protoreflect.EnumNumber { 167 return protoreflect.EnumNumber(x) 168 } 169 170 // Deprecated: Use CommunityTokenAction_ActionType.Descriptor instead. 171 func (CommunityTokenAction_ActionType) EnumDescriptor() ([]byte, []int) { 172 return file_communities_proto_rawDescGZIP(), []int{3, 0} 173 } 174 175 type CommunityPermissions_Access int32 176 177 const ( 178 CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0 179 CommunityPermissions_AUTO_ACCEPT CommunityPermissions_Access = 1 180 // Deprecated: Marked as deprecated in communities.proto. 181 CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2 182 CommunityPermissions_MANUAL_ACCEPT CommunityPermissions_Access = 3 183 ) 184 185 // Enum value maps for CommunityPermissions_Access. 186 var ( 187 CommunityPermissions_Access_name = map[int32]string{ 188 0: "UNKNOWN_ACCESS", 189 1: "AUTO_ACCEPT", 190 2: "INVITATION_ONLY", 191 3: "MANUAL_ACCEPT", 192 } 193 CommunityPermissions_Access_value = map[string]int32{ 194 "UNKNOWN_ACCESS": 0, 195 "AUTO_ACCEPT": 1, 196 "INVITATION_ONLY": 2, 197 "MANUAL_ACCEPT": 3, 198 } 199 ) 200 201 func (x CommunityPermissions_Access) Enum() *CommunityPermissions_Access { 202 p := new(CommunityPermissions_Access) 203 *p = x 204 return p 205 } 206 207 func (x CommunityPermissions_Access) String() string { 208 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 209 } 210 211 func (CommunityPermissions_Access) Descriptor() protoreflect.EnumDescriptor { 212 return file_communities_proto_enumTypes[3].Descriptor() 213 } 214 215 func (CommunityPermissions_Access) Type() protoreflect.EnumType { 216 return &file_communities_proto_enumTypes[3] 217 } 218 219 func (x CommunityPermissions_Access) Number() protoreflect.EnumNumber { 220 return protoreflect.EnumNumber(x) 221 } 222 223 // Deprecated: Use CommunityPermissions_Access.Descriptor instead. 224 func (CommunityPermissions_Access) EnumDescriptor() ([]byte, []int) { 225 return file_communities_proto_rawDescGZIP(), []int{4, 0} 226 } 227 228 type CommunityTokenPermission_Type int32 229 230 const ( 231 CommunityTokenPermission_UNKNOWN_TOKEN_PERMISSION CommunityTokenPermission_Type = 0 232 CommunityTokenPermission_BECOME_ADMIN CommunityTokenPermission_Type = 1 233 CommunityTokenPermission_BECOME_MEMBER CommunityTokenPermission_Type = 2 234 CommunityTokenPermission_CAN_VIEW_CHANNEL CommunityTokenPermission_Type = 3 235 CommunityTokenPermission_CAN_VIEW_AND_POST_CHANNEL CommunityTokenPermission_Type = 4 236 CommunityTokenPermission_BECOME_TOKEN_MASTER CommunityTokenPermission_Type = 5 237 CommunityTokenPermission_BECOME_TOKEN_OWNER CommunityTokenPermission_Type = 6 238 ) 239 240 // Enum value maps for CommunityTokenPermission_Type. 241 var ( 242 CommunityTokenPermission_Type_name = map[int32]string{ 243 0: "UNKNOWN_TOKEN_PERMISSION", 244 1: "BECOME_ADMIN", 245 2: "BECOME_MEMBER", 246 3: "CAN_VIEW_CHANNEL", 247 4: "CAN_VIEW_AND_POST_CHANNEL", 248 5: "BECOME_TOKEN_MASTER", 249 6: "BECOME_TOKEN_OWNER", 250 } 251 CommunityTokenPermission_Type_value = map[string]int32{ 252 "UNKNOWN_TOKEN_PERMISSION": 0, 253 "BECOME_ADMIN": 1, 254 "BECOME_MEMBER": 2, 255 "CAN_VIEW_CHANNEL": 3, 256 "CAN_VIEW_AND_POST_CHANNEL": 4, 257 "BECOME_TOKEN_MASTER": 5, 258 "BECOME_TOKEN_OWNER": 6, 259 } 260 ) 261 262 func (x CommunityTokenPermission_Type) Enum() *CommunityTokenPermission_Type { 263 p := new(CommunityTokenPermission_Type) 264 *p = x 265 return p 266 } 267 268 func (x CommunityTokenPermission_Type) String() string { 269 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 270 } 271 272 func (CommunityTokenPermission_Type) Descriptor() protoreflect.EnumDescriptor { 273 return file_communities_proto_enumTypes[4].Descriptor() 274 } 275 276 func (CommunityTokenPermission_Type) Type() protoreflect.EnumType { 277 return &file_communities_proto_enumTypes[4] 278 } 279 280 func (x CommunityTokenPermission_Type) Number() protoreflect.EnumNumber { 281 return protoreflect.EnumNumber(x) 282 } 283 284 // Deprecated: Use CommunityTokenPermission_Type.Descriptor instead. 285 func (CommunityTokenPermission_Type) EnumDescriptor() ([]byte, []int) { 286 return file_communities_proto_rawDescGZIP(), []int{6, 0} 287 } 288 289 type Grant struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 294 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 295 MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` 296 ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` 297 Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"` 298 Expires uint64 `protobuf:"varint,5,opt,name=expires,proto3" json:"expires,omitempty"` 299 } 300 301 func (x *Grant) Reset() { 302 *x = Grant{} 303 if protoimpl.UnsafeEnabled { 304 mi := &file_communities_proto_msgTypes[0] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 ms.StoreMessageInfo(mi) 307 } 308 } 309 310 func (x *Grant) String() string { 311 return protoimpl.X.MessageStringOf(x) 312 } 313 314 func (*Grant) ProtoMessage() {} 315 316 func (x *Grant) ProtoReflect() protoreflect.Message { 317 mi := &file_communities_proto_msgTypes[0] 318 if protoimpl.UnsafeEnabled && x != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(x) 326 } 327 328 // Deprecated: Use Grant.ProtoReflect.Descriptor instead. 329 func (*Grant) Descriptor() ([]byte, []int) { 330 return file_communities_proto_rawDescGZIP(), []int{0} 331 } 332 333 func (x *Grant) GetCommunityId() []byte { 334 if x != nil { 335 return x.CommunityId 336 } 337 return nil 338 } 339 340 func (x *Grant) GetMemberId() []byte { 341 if x != nil { 342 return x.MemberId 343 } 344 return nil 345 } 346 347 func (x *Grant) GetChatId() string { 348 if x != nil { 349 return x.ChatId 350 } 351 return "" 352 } 353 354 func (x *Grant) GetClock() uint64 { 355 if x != nil { 356 return x.Clock 357 } 358 return 0 359 } 360 361 func (x *Grant) GetExpires() uint64 { 362 if x != nil { 363 return x.Expires 364 } 365 return 0 366 } 367 368 type CommunityMember struct { 369 state protoimpl.MessageState 370 sizeCache protoimpl.SizeCache 371 unknownFields protoimpl.UnknownFields 372 373 Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` 374 // Deprecated: Marked as deprecated in communities.proto. 375 RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` 376 LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"` 377 ChannelRole CommunityMember_ChannelRole `protobuf:"varint,4,opt,name=channel_role,json=channelRole,proto3,enum=protobuf.CommunityMember_ChannelRole" json:"channel_role,omitempty"` 378 } 379 380 func (x *CommunityMember) Reset() { 381 *x = CommunityMember{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_communities_proto_msgTypes[1] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (x *CommunityMember) String() string { 390 return protoimpl.X.MessageStringOf(x) 391 } 392 393 func (*CommunityMember) ProtoMessage() {} 394 395 func (x *CommunityMember) ProtoReflect() protoreflect.Message { 396 mi := &file_communities_proto_msgTypes[1] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405 } 406 407 // Deprecated: Use CommunityMember.ProtoReflect.Descriptor instead. 408 func (*CommunityMember) Descriptor() ([]byte, []int) { 409 return file_communities_proto_rawDescGZIP(), []int{1} 410 } 411 412 func (x *CommunityMember) GetRoles() []CommunityMember_Roles { 413 if x != nil { 414 return x.Roles 415 } 416 return nil 417 } 418 419 // Deprecated: Marked as deprecated in communities.proto. 420 func (x *CommunityMember) GetRevealedAccounts() []*RevealedAccount { 421 if x != nil { 422 return x.RevealedAccounts 423 } 424 return nil 425 } 426 427 func (x *CommunityMember) GetLastUpdateClock() uint64 { 428 if x != nil { 429 return x.LastUpdateClock 430 } 431 return 0 432 } 433 434 func (x *CommunityMember) GetChannelRole() CommunityMember_ChannelRole { 435 if x != nil { 436 return x.ChannelRole 437 } 438 return CommunityMember_CHANNEL_ROLE_POSTER 439 } 440 441 type CommunityTokenMetadata struct { 442 state protoimpl.MessageState 443 sizeCache protoimpl.SizeCache 444 unknownFields protoimpl.UnknownFields 445 446 ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 447 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 448 Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` 449 TokenType CommunityTokenType `protobuf:"varint,4,opt,name=tokenType,proto3,enum=protobuf.CommunityTokenType" json:"tokenType,omitempty"` 450 Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"` 451 Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` 452 Decimals uint32 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"` 453 Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` 454 } 455 456 func (x *CommunityTokenMetadata) Reset() { 457 *x = CommunityTokenMetadata{} 458 if protoimpl.UnsafeEnabled { 459 mi := &file_communities_proto_msgTypes[2] 460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 461 ms.StoreMessageInfo(mi) 462 } 463 } 464 465 func (x *CommunityTokenMetadata) String() string { 466 return protoimpl.X.MessageStringOf(x) 467 } 468 469 func (*CommunityTokenMetadata) ProtoMessage() {} 470 471 func (x *CommunityTokenMetadata) ProtoReflect() protoreflect.Message { 472 mi := &file_communities_proto_msgTypes[2] 473 if protoimpl.UnsafeEnabled && x != nil { 474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 475 if ms.LoadMessageInfo() == nil { 476 ms.StoreMessageInfo(mi) 477 } 478 return ms 479 } 480 return mi.MessageOf(x) 481 } 482 483 // Deprecated: Use CommunityTokenMetadata.ProtoReflect.Descriptor instead. 484 func (*CommunityTokenMetadata) Descriptor() ([]byte, []int) { 485 return file_communities_proto_rawDescGZIP(), []int{2} 486 } 487 488 func (x *CommunityTokenMetadata) GetContractAddresses() map[uint64]string { 489 if x != nil { 490 return x.ContractAddresses 491 } 492 return nil 493 } 494 495 func (x *CommunityTokenMetadata) GetDescription() string { 496 if x != nil { 497 return x.Description 498 } 499 return "" 500 } 501 502 func (x *CommunityTokenMetadata) GetImage() string { 503 if x != nil { 504 return x.Image 505 } 506 return "" 507 } 508 509 func (x *CommunityTokenMetadata) GetTokenType() CommunityTokenType { 510 if x != nil { 511 return x.TokenType 512 } 513 return CommunityTokenType_UNKNOWN_TOKEN_TYPE 514 } 515 516 func (x *CommunityTokenMetadata) GetSymbol() string { 517 if x != nil { 518 return x.Symbol 519 } 520 return "" 521 } 522 523 func (x *CommunityTokenMetadata) GetName() string { 524 if x != nil { 525 return x.Name 526 } 527 return "" 528 } 529 530 func (x *CommunityTokenMetadata) GetDecimals() uint32 { 531 if x != nil { 532 return x.Decimals 533 } 534 return 0 535 } 536 537 func (x *CommunityTokenMetadata) GetVersion() string { 538 if x != nil { 539 return x.Version 540 } 541 return "" 542 } 543 544 type CommunityTokenAction struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 549 ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 550 ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` 551 ActionType CommunityTokenAction_ActionType `protobuf:"varint,3,opt,name=action_type,json=actionType,proto3,enum=protobuf.CommunityTokenAction_ActionType" json:"action_type,omitempty"` 552 } 553 554 func (x *CommunityTokenAction) Reset() { 555 *x = CommunityTokenAction{} 556 if protoimpl.UnsafeEnabled { 557 mi := &file_communities_proto_msgTypes[3] 558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 559 ms.StoreMessageInfo(mi) 560 } 561 } 562 563 func (x *CommunityTokenAction) String() string { 564 return protoimpl.X.MessageStringOf(x) 565 } 566 567 func (*CommunityTokenAction) ProtoMessage() {} 568 569 func (x *CommunityTokenAction) ProtoReflect() protoreflect.Message { 570 mi := &file_communities_proto_msgTypes[3] 571 if protoimpl.UnsafeEnabled && x != nil { 572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 573 if ms.LoadMessageInfo() == nil { 574 ms.StoreMessageInfo(mi) 575 } 576 return ms 577 } 578 return mi.MessageOf(x) 579 } 580 581 // Deprecated: Use CommunityTokenAction.ProtoReflect.Descriptor instead. 582 func (*CommunityTokenAction) Descriptor() ([]byte, []int) { 583 return file_communities_proto_rawDescGZIP(), []int{3} 584 } 585 586 func (x *CommunityTokenAction) GetChainId() uint64 { 587 if x != nil { 588 return x.ChainId 589 } 590 return 0 591 } 592 593 func (x *CommunityTokenAction) GetContractAddress() string { 594 if x != nil { 595 return x.ContractAddress 596 } 597 return "" 598 } 599 600 func (x *CommunityTokenAction) GetActionType() CommunityTokenAction_ActionType { 601 if x != nil { 602 return x.ActionType 603 } 604 return CommunityTokenAction_UNKNOWN_ACTION_TYPE 605 } 606 607 type CommunityPermissions struct { 608 state protoimpl.MessageState 609 sizeCache protoimpl.SizeCache 610 unknownFields protoimpl.UnknownFields 611 612 EnsOnly bool `protobuf:"varint,1,opt,name=ens_only,json=ensOnly,proto3" json:"ens_only,omitempty"` 613 // https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md is a candidate for the algorithm to be used in case we want to have private communityal chats, lighter than pairwise encryption using the DR, less secure, but more efficient for large number of participants 614 Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` 615 Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"` 616 } 617 618 func (x *CommunityPermissions) Reset() { 619 *x = CommunityPermissions{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_communities_proto_msgTypes[4] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625 } 626 627 func (x *CommunityPermissions) String() string { 628 return protoimpl.X.MessageStringOf(x) 629 } 630 631 func (*CommunityPermissions) ProtoMessage() {} 632 633 func (x *CommunityPermissions) ProtoReflect() protoreflect.Message { 634 mi := &file_communities_proto_msgTypes[4] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643 } 644 645 // Deprecated: Use CommunityPermissions.ProtoReflect.Descriptor instead. 646 func (*CommunityPermissions) Descriptor() ([]byte, []int) { 647 return file_communities_proto_rawDescGZIP(), []int{4} 648 } 649 650 func (x *CommunityPermissions) GetEnsOnly() bool { 651 if x != nil { 652 return x.EnsOnly 653 } 654 return false 655 } 656 657 func (x *CommunityPermissions) GetPrivate() bool { 658 if x != nil { 659 return x.Private 660 } 661 return false 662 } 663 664 func (x *CommunityPermissions) GetAccess() CommunityPermissions_Access { 665 if x != nil { 666 return x.Access 667 } 668 return CommunityPermissions_UNKNOWN_ACCESS 669 } 670 671 type TokenCriteria struct { 672 state protoimpl.MessageState 673 sizeCache protoimpl.SizeCache 674 unknownFields protoimpl.UnknownFields 675 676 ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 677 Type CommunityTokenType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenType" json:"type,omitempty"` 678 Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` 679 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 680 // Deprecated: Marked as deprecated in communities.proto. 681 Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` 682 TokenIds []uint64 `protobuf:"varint,6,rep,packed,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` 683 EnsPattern string `protobuf:"bytes,7,opt,name=ens_pattern,json=ensPattern,proto3" json:"ens_pattern,omitempty"` 684 Decimals uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"` 685 AmountInWei string `protobuf:"bytes,9,opt,name=amountInWei,proto3" json:"amountInWei,omitempty"` 686 } 687 688 func (x *TokenCriteria) Reset() { 689 *x = TokenCriteria{} 690 if protoimpl.UnsafeEnabled { 691 mi := &file_communities_proto_msgTypes[5] 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 693 ms.StoreMessageInfo(mi) 694 } 695 } 696 697 func (x *TokenCriteria) String() string { 698 return protoimpl.X.MessageStringOf(x) 699 } 700 701 func (*TokenCriteria) ProtoMessage() {} 702 703 func (x *TokenCriteria) ProtoReflect() protoreflect.Message { 704 mi := &file_communities_proto_msgTypes[5] 705 if protoimpl.UnsafeEnabled && x != nil { 706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 707 if ms.LoadMessageInfo() == nil { 708 ms.StoreMessageInfo(mi) 709 } 710 return ms 711 } 712 return mi.MessageOf(x) 713 } 714 715 // Deprecated: Use TokenCriteria.ProtoReflect.Descriptor instead. 716 func (*TokenCriteria) Descriptor() ([]byte, []int) { 717 return file_communities_proto_rawDescGZIP(), []int{5} 718 } 719 720 func (x *TokenCriteria) GetContractAddresses() map[uint64]string { 721 if x != nil { 722 return x.ContractAddresses 723 } 724 return nil 725 } 726 727 func (x *TokenCriteria) GetType() CommunityTokenType { 728 if x != nil { 729 return x.Type 730 } 731 return CommunityTokenType_UNKNOWN_TOKEN_TYPE 732 } 733 734 func (x *TokenCriteria) GetSymbol() string { 735 if x != nil { 736 return x.Symbol 737 } 738 return "" 739 } 740 741 func (x *TokenCriteria) GetName() string { 742 if x != nil { 743 return x.Name 744 } 745 return "" 746 } 747 748 // Deprecated: Marked as deprecated in communities.proto. 749 func (x *TokenCriteria) GetAmount() string { 750 if x != nil { 751 return x.Amount 752 } 753 return "" 754 } 755 756 func (x *TokenCriteria) GetTokenIds() []uint64 { 757 if x != nil { 758 return x.TokenIds 759 } 760 return nil 761 } 762 763 func (x *TokenCriteria) GetEnsPattern() string { 764 if x != nil { 765 return x.EnsPattern 766 } 767 return "" 768 } 769 770 func (x *TokenCriteria) GetDecimals() uint64 { 771 if x != nil { 772 return x.Decimals 773 } 774 return 0 775 } 776 777 func (x *TokenCriteria) GetAmountInWei() string { 778 if x != nil { 779 return x.AmountInWei 780 } 781 return "" 782 } 783 784 type CommunityTokenPermission struct { 785 state protoimpl.MessageState 786 sizeCache protoimpl.SizeCache 787 unknownFields protoimpl.UnknownFields 788 789 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 790 Type CommunityTokenPermission_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenPermission_Type" json:"type,omitempty"` 791 TokenCriteria []*TokenCriteria `protobuf:"bytes,3,rep,name=token_criteria,json=tokenCriteria,proto3" json:"token_criteria,omitempty"` 792 ChatIds []string `protobuf:"bytes,4,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"` 793 IsPrivate bool `protobuf:"varint,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` 794 } 795 796 func (x *CommunityTokenPermission) Reset() { 797 *x = CommunityTokenPermission{} 798 if protoimpl.UnsafeEnabled { 799 mi := &file_communities_proto_msgTypes[6] 800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 801 ms.StoreMessageInfo(mi) 802 } 803 } 804 805 func (x *CommunityTokenPermission) String() string { 806 return protoimpl.X.MessageStringOf(x) 807 } 808 809 func (*CommunityTokenPermission) ProtoMessage() {} 810 811 func (x *CommunityTokenPermission) ProtoReflect() protoreflect.Message { 812 mi := &file_communities_proto_msgTypes[6] 813 if protoimpl.UnsafeEnabled && x != nil { 814 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 815 if ms.LoadMessageInfo() == nil { 816 ms.StoreMessageInfo(mi) 817 } 818 return ms 819 } 820 return mi.MessageOf(x) 821 } 822 823 // Deprecated: Use CommunityTokenPermission.ProtoReflect.Descriptor instead. 824 func (*CommunityTokenPermission) Descriptor() ([]byte, []int) { 825 return file_communities_proto_rawDescGZIP(), []int{6} 826 } 827 828 func (x *CommunityTokenPermission) GetId() string { 829 if x != nil { 830 return x.Id 831 } 832 return "" 833 } 834 835 func (x *CommunityTokenPermission) GetType() CommunityTokenPermission_Type { 836 if x != nil { 837 return x.Type 838 } 839 return CommunityTokenPermission_UNKNOWN_TOKEN_PERMISSION 840 } 841 842 func (x *CommunityTokenPermission) GetTokenCriteria() []*TokenCriteria { 843 if x != nil { 844 return x.TokenCriteria 845 } 846 return nil 847 } 848 849 func (x *CommunityTokenPermission) GetChatIds() []string { 850 if x != nil { 851 return x.ChatIds 852 } 853 return nil 854 } 855 856 func (x *CommunityTokenPermission) GetIsPrivate() bool { 857 if x != nil { 858 return x.IsPrivate 859 } 860 return false 861 } 862 863 type CommunityDescription struct { 864 state protoimpl.MessageState 865 sizeCache protoimpl.SizeCache 866 unknownFields protoimpl.UnknownFields 867 868 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 869 Members map[string]*CommunityMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 870 Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` 871 Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` 872 Chats map[string]*CommunityChat `protobuf:"bytes,6,rep,name=chats,proto3" json:"chats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 873 // Deprecated: Marked as deprecated in communities.proto. 874 BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"` 875 Categories map[string]*CommunityCategory `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 876 ArchiveMagnetlinkClock uint64 `protobuf:"varint,9,opt,name=archive_magnetlink_clock,json=archiveMagnetlinkClock,proto3" json:"archive_magnetlink_clock,omitempty"` 877 AdminSettings *CommunityAdminSettings `protobuf:"bytes,10,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` 878 IntroMessage string `protobuf:"bytes,11,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` 879 OutroMessage string `protobuf:"bytes,12,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` 880 // Deprecated: Marked as deprecated in communities.proto. 881 Encrypted bool `protobuf:"varint,13,opt,name=encrypted,proto3" json:"encrypted,omitempty"` 882 Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` 883 TokenPermissions map[string]*CommunityTokenPermission `protobuf:"bytes,15,rep,name=token_permissions,json=tokenPermissions,proto3" json:"token_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 884 CommunityTokensMetadata []*CommunityTokenMetadata `protobuf:"bytes,16,rep,name=community_tokens_metadata,json=communityTokensMetadata,proto3" json:"community_tokens_metadata,omitempty"` 885 ActiveMembersCount uint64 `protobuf:"varint,17,opt,name=active_members_count,json=activeMembersCount,proto3" json:"active_members_count,omitempty"` 886 ID string `protobuf:"bytes,18,opt,name=ID,proto3" json:"ID,omitempty"` 887 BannedMembers map[string]*CommunityBanInfo `protobuf:"bytes,19,rep,name=banned_members,json=bannedMembers,proto3" json:"banned_members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 888 // request to resend revealed addresses 889 ResendAccountsClock uint64 `protobuf:"varint,20,opt,name=resend_accounts_clock,json=resendAccountsClock,proto3" json:"resend_accounts_clock,omitempty"` 890 // key is hash ratchet key_id + seq_no 891 PrivateData map[string][]byte `protobuf:"bytes,100,rep,name=privateData,proto3" json:"privateData,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 892 } 893 894 func (x *CommunityDescription) Reset() { 895 *x = CommunityDescription{} 896 if protoimpl.UnsafeEnabled { 897 mi := &file_communities_proto_msgTypes[7] 898 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 899 ms.StoreMessageInfo(mi) 900 } 901 } 902 903 func (x *CommunityDescription) String() string { 904 return protoimpl.X.MessageStringOf(x) 905 } 906 907 func (*CommunityDescription) ProtoMessage() {} 908 909 func (x *CommunityDescription) ProtoReflect() protoreflect.Message { 910 mi := &file_communities_proto_msgTypes[7] 911 if protoimpl.UnsafeEnabled && x != nil { 912 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 913 if ms.LoadMessageInfo() == nil { 914 ms.StoreMessageInfo(mi) 915 } 916 return ms 917 } 918 return mi.MessageOf(x) 919 } 920 921 // Deprecated: Use CommunityDescription.ProtoReflect.Descriptor instead. 922 func (*CommunityDescription) Descriptor() ([]byte, []int) { 923 return file_communities_proto_rawDescGZIP(), []int{7} 924 } 925 926 func (x *CommunityDescription) GetClock() uint64 { 927 if x != nil { 928 return x.Clock 929 } 930 return 0 931 } 932 933 func (x *CommunityDescription) GetMembers() map[string]*CommunityMember { 934 if x != nil { 935 return x.Members 936 } 937 return nil 938 } 939 940 func (x *CommunityDescription) GetPermissions() *CommunityPermissions { 941 if x != nil { 942 return x.Permissions 943 } 944 return nil 945 } 946 947 func (x *CommunityDescription) GetIdentity() *ChatIdentity { 948 if x != nil { 949 return x.Identity 950 } 951 return nil 952 } 953 954 func (x *CommunityDescription) GetChats() map[string]*CommunityChat { 955 if x != nil { 956 return x.Chats 957 } 958 return nil 959 } 960 961 // Deprecated: Marked as deprecated in communities.proto. 962 func (x *CommunityDescription) GetBanList() []string { 963 if x != nil { 964 return x.BanList 965 } 966 return nil 967 } 968 969 func (x *CommunityDescription) GetCategories() map[string]*CommunityCategory { 970 if x != nil { 971 return x.Categories 972 } 973 return nil 974 } 975 976 func (x *CommunityDescription) GetArchiveMagnetlinkClock() uint64 { 977 if x != nil { 978 return x.ArchiveMagnetlinkClock 979 } 980 return 0 981 } 982 983 func (x *CommunityDescription) GetAdminSettings() *CommunityAdminSettings { 984 if x != nil { 985 return x.AdminSettings 986 } 987 return nil 988 } 989 990 func (x *CommunityDescription) GetIntroMessage() string { 991 if x != nil { 992 return x.IntroMessage 993 } 994 return "" 995 } 996 997 func (x *CommunityDescription) GetOutroMessage() string { 998 if x != nil { 999 return x.OutroMessage 1000 } 1001 return "" 1002 } 1003 1004 // Deprecated: Marked as deprecated in communities.proto. 1005 func (x *CommunityDescription) GetEncrypted() bool { 1006 if x != nil { 1007 return x.Encrypted 1008 } 1009 return false 1010 } 1011 1012 func (x *CommunityDescription) GetTags() []string { 1013 if x != nil { 1014 return x.Tags 1015 } 1016 return nil 1017 } 1018 1019 func (x *CommunityDescription) GetTokenPermissions() map[string]*CommunityTokenPermission { 1020 if x != nil { 1021 return x.TokenPermissions 1022 } 1023 return nil 1024 } 1025 1026 func (x *CommunityDescription) GetCommunityTokensMetadata() []*CommunityTokenMetadata { 1027 if x != nil { 1028 return x.CommunityTokensMetadata 1029 } 1030 return nil 1031 } 1032 1033 func (x *CommunityDescription) GetActiveMembersCount() uint64 { 1034 if x != nil { 1035 return x.ActiveMembersCount 1036 } 1037 return 0 1038 } 1039 1040 func (x *CommunityDescription) GetID() string { 1041 if x != nil { 1042 return x.ID 1043 } 1044 return "" 1045 } 1046 1047 func (x *CommunityDescription) GetBannedMembers() map[string]*CommunityBanInfo { 1048 if x != nil { 1049 return x.BannedMembers 1050 } 1051 return nil 1052 } 1053 1054 func (x *CommunityDescription) GetResendAccountsClock() uint64 { 1055 if x != nil { 1056 return x.ResendAccountsClock 1057 } 1058 return 0 1059 } 1060 1061 func (x *CommunityDescription) GetPrivateData() map[string][]byte { 1062 if x != nil { 1063 return x.PrivateData 1064 } 1065 return nil 1066 } 1067 1068 type CommunityBanInfo struct { 1069 state protoimpl.MessageState 1070 sizeCache protoimpl.SizeCache 1071 unknownFields protoimpl.UnknownFields 1072 1073 DeleteAllMessages bool `protobuf:"varint,1,opt,name=delete_all_messages,json=deleteAllMessages,proto3" json:"delete_all_messages,omitempty"` 1074 } 1075 1076 func (x *CommunityBanInfo) Reset() { 1077 *x = CommunityBanInfo{} 1078 if protoimpl.UnsafeEnabled { 1079 mi := &file_communities_proto_msgTypes[8] 1080 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1081 ms.StoreMessageInfo(mi) 1082 } 1083 } 1084 1085 func (x *CommunityBanInfo) String() string { 1086 return protoimpl.X.MessageStringOf(x) 1087 } 1088 1089 func (*CommunityBanInfo) ProtoMessage() {} 1090 1091 func (x *CommunityBanInfo) ProtoReflect() protoreflect.Message { 1092 mi := &file_communities_proto_msgTypes[8] 1093 if protoimpl.UnsafeEnabled && x != nil { 1094 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1095 if ms.LoadMessageInfo() == nil { 1096 ms.StoreMessageInfo(mi) 1097 } 1098 return ms 1099 } 1100 return mi.MessageOf(x) 1101 } 1102 1103 // Deprecated: Use CommunityBanInfo.ProtoReflect.Descriptor instead. 1104 func (*CommunityBanInfo) Descriptor() ([]byte, []int) { 1105 return file_communities_proto_rawDescGZIP(), []int{8} 1106 } 1107 1108 func (x *CommunityBanInfo) GetDeleteAllMessages() bool { 1109 if x != nil { 1110 return x.DeleteAllMessages 1111 } 1112 return false 1113 } 1114 1115 type CommunityAdminSettings struct { 1116 state protoimpl.MessageState 1117 sizeCache protoimpl.SizeCache 1118 unknownFields protoimpl.UnknownFields 1119 1120 PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"` 1121 } 1122 1123 func (x *CommunityAdminSettings) Reset() { 1124 *x = CommunityAdminSettings{} 1125 if protoimpl.UnsafeEnabled { 1126 mi := &file_communities_proto_msgTypes[9] 1127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1128 ms.StoreMessageInfo(mi) 1129 } 1130 } 1131 1132 func (x *CommunityAdminSettings) String() string { 1133 return protoimpl.X.MessageStringOf(x) 1134 } 1135 1136 func (*CommunityAdminSettings) ProtoMessage() {} 1137 1138 func (x *CommunityAdminSettings) ProtoReflect() protoreflect.Message { 1139 mi := &file_communities_proto_msgTypes[9] 1140 if protoimpl.UnsafeEnabled && x != nil { 1141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1142 if ms.LoadMessageInfo() == nil { 1143 ms.StoreMessageInfo(mi) 1144 } 1145 return ms 1146 } 1147 return mi.MessageOf(x) 1148 } 1149 1150 // Deprecated: Use CommunityAdminSettings.ProtoReflect.Descriptor instead. 1151 func (*CommunityAdminSettings) Descriptor() ([]byte, []int) { 1152 return file_communities_proto_rawDescGZIP(), []int{9} 1153 } 1154 1155 func (x *CommunityAdminSettings) GetPinMessageAllMembersEnabled() bool { 1156 if x != nil { 1157 return x.PinMessageAllMembersEnabled 1158 } 1159 return false 1160 } 1161 1162 type CommunityChat struct { 1163 state protoimpl.MessageState 1164 sizeCache protoimpl.SizeCache 1165 unknownFields protoimpl.UnknownFields 1166 1167 Members map[string]*CommunityMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1168 Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` 1169 Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` 1170 CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` 1171 Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"` 1172 ViewersCanPostReactions bool `protobuf:"varint,6,opt,name=viewers_can_post_reactions,json=viewersCanPostReactions,proto3" json:"viewers_can_post_reactions,omitempty"` 1173 HideIfPermissionsNotMet bool `protobuf:"varint,7,opt,name=hide_if_permissions_not_met,json=hideIfPermissionsNotMet,proto3" json:"hide_if_permissions_not_met,omitempty"` 1174 MembersList *CommunityBloomFilter `protobuf:"bytes,8,opt,name=members_list,json=membersList,proto3" json:"members_list,omitempty"` 1175 } 1176 1177 func (x *CommunityChat) Reset() { 1178 *x = CommunityChat{} 1179 if protoimpl.UnsafeEnabled { 1180 mi := &file_communities_proto_msgTypes[10] 1181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1182 ms.StoreMessageInfo(mi) 1183 } 1184 } 1185 1186 func (x *CommunityChat) String() string { 1187 return protoimpl.X.MessageStringOf(x) 1188 } 1189 1190 func (*CommunityChat) ProtoMessage() {} 1191 1192 func (x *CommunityChat) ProtoReflect() protoreflect.Message { 1193 mi := &file_communities_proto_msgTypes[10] 1194 if protoimpl.UnsafeEnabled && x != nil { 1195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1196 if ms.LoadMessageInfo() == nil { 1197 ms.StoreMessageInfo(mi) 1198 } 1199 return ms 1200 } 1201 return mi.MessageOf(x) 1202 } 1203 1204 // Deprecated: Use CommunityChat.ProtoReflect.Descriptor instead. 1205 func (*CommunityChat) Descriptor() ([]byte, []int) { 1206 return file_communities_proto_rawDescGZIP(), []int{10} 1207 } 1208 1209 func (x *CommunityChat) GetMembers() map[string]*CommunityMember { 1210 if x != nil { 1211 return x.Members 1212 } 1213 return nil 1214 } 1215 1216 func (x *CommunityChat) GetPermissions() *CommunityPermissions { 1217 if x != nil { 1218 return x.Permissions 1219 } 1220 return nil 1221 } 1222 1223 func (x *CommunityChat) GetIdentity() *ChatIdentity { 1224 if x != nil { 1225 return x.Identity 1226 } 1227 return nil 1228 } 1229 1230 func (x *CommunityChat) GetCategoryId() string { 1231 if x != nil { 1232 return x.CategoryId 1233 } 1234 return "" 1235 } 1236 1237 func (x *CommunityChat) GetPosition() int32 { 1238 if x != nil { 1239 return x.Position 1240 } 1241 return 0 1242 } 1243 1244 func (x *CommunityChat) GetViewersCanPostReactions() bool { 1245 if x != nil { 1246 return x.ViewersCanPostReactions 1247 } 1248 return false 1249 } 1250 1251 func (x *CommunityChat) GetHideIfPermissionsNotMet() bool { 1252 if x != nil { 1253 return x.HideIfPermissionsNotMet 1254 } 1255 return false 1256 } 1257 1258 func (x *CommunityChat) GetMembersList() *CommunityBloomFilter { 1259 if x != nil { 1260 return x.MembersList 1261 } 1262 return nil 1263 } 1264 1265 type CommunityBloomFilter struct { 1266 state protoimpl.MessageState 1267 sizeCache protoimpl.SizeCache 1268 unknownFields protoimpl.UnknownFields 1269 1270 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 1271 M uint64 `protobuf:"varint,2,opt,name=m,proto3" json:"m,omitempty"` 1272 K uint64 `protobuf:"varint,3,opt,name=k,proto3" json:"k,omitempty"` 1273 } 1274 1275 func (x *CommunityBloomFilter) Reset() { 1276 *x = CommunityBloomFilter{} 1277 if protoimpl.UnsafeEnabled { 1278 mi := &file_communities_proto_msgTypes[11] 1279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1280 ms.StoreMessageInfo(mi) 1281 } 1282 } 1283 1284 func (x *CommunityBloomFilter) String() string { 1285 return protoimpl.X.MessageStringOf(x) 1286 } 1287 1288 func (*CommunityBloomFilter) ProtoMessage() {} 1289 1290 func (x *CommunityBloomFilter) ProtoReflect() protoreflect.Message { 1291 mi := &file_communities_proto_msgTypes[11] 1292 if protoimpl.UnsafeEnabled && x != nil { 1293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1294 if ms.LoadMessageInfo() == nil { 1295 ms.StoreMessageInfo(mi) 1296 } 1297 return ms 1298 } 1299 return mi.MessageOf(x) 1300 } 1301 1302 // Deprecated: Use CommunityBloomFilter.ProtoReflect.Descriptor instead. 1303 func (*CommunityBloomFilter) Descriptor() ([]byte, []int) { 1304 return file_communities_proto_rawDescGZIP(), []int{11} 1305 } 1306 1307 func (x *CommunityBloomFilter) GetData() []byte { 1308 if x != nil { 1309 return x.Data 1310 } 1311 return nil 1312 } 1313 1314 func (x *CommunityBloomFilter) GetM() uint64 { 1315 if x != nil { 1316 return x.M 1317 } 1318 return 0 1319 } 1320 1321 func (x *CommunityBloomFilter) GetK() uint64 { 1322 if x != nil { 1323 return x.K 1324 } 1325 return 0 1326 } 1327 1328 type CommunityCategory struct { 1329 state protoimpl.MessageState 1330 sizeCache protoimpl.SizeCache 1331 unknownFields protoimpl.UnknownFields 1332 1333 CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` 1334 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1335 Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` 1336 } 1337 1338 func (x *CommunityCategory) Reset() { 1339 *x = CommunityCategory{} 1340 if protoimpl.UnsafeEnabled { 1341 mi := &file_communities_proto_msgTypes[12] 1342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1343 ms.StoreMessageInfo(mi) 1344 } 1345 } 1346 1347 func (x *CommunityCategory) String() string { 1348 return protoimpl.X.MessageStringOf(x) 1349 } 1350 1351 func (*CommunityCategory) ProtoMessage() {} 1352 1353 func (x *CommunityCategory) ProtoReflect() protoreflect.Message { 1354 mi := &file_communities_proto_msgTypes[12] 1355 if protoimpl.UnsafeEnabled && x != nil { 1356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1357 if ms.LoadMessageInfo() == nil { 1358 ms.StoreMessageInfo(mi) 1359 } 1360 return ms 1361 } 1362 return mi.MessageOf(x) 1363 } 1364 1365 // Deprecated: Use CommunityCategory.ProtoReflect.Descriptor instead. 1366 func (*CommunityCategory) Descriptor() ([]byte, []int) { 1367 return file_communities_proto_rawDescGZIP(), []int{12} 1368 } 1369 1370 func (x *CommunityCategory) GetCategoryId() string { 1371 if x != nil { 1372 return x.CategoryId 1373 } 1374 return "" 1375 } 1376 1377 func (x *CommunityCategory) GetName() string { 1378 if x != nil { 1379 return x.Name 1380 } 1381 return "" 1382 } 1383 1384 func (x *CommunityCategory) GetPosition() int32 { 1385 if x != nil { 1386 return x.Position 1387 } 1388 return 0 1389 } 1390 1391 type RevealedAccount struct { 1392 state protoimpl.MessageState 1393 sizeCache protoimpl.SizeCache 1394 unknownFields protoimpl.UnknownFields 1395 1396 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 1397 Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 1398 ChainIds []uint64 `protobuf:"varint,3,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` 1399 IsAirdropAddress bool `protobuf:"varint,4,opt,name=isAirdropAddress,proto3" json:"isAirdropAddress,omitempty"` 1400 } 1401 1402 func (x *RevealedAccount) Reset() { 1403 *x = RevealedAccount{} 1404 if protoimpl.UnsafeEnabled { 1405 mi := &file_communities_proto_msgTypes[13] 1406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1407 ms.StoreMessageInfo(mi) 1408 } 1409 } 1410 1411 func (x *RevealedAccount) String() string { 1412 return protoimpl.X.MessageStringOf(x) 1413 } 1414 1415 func (*RevealedAccount) ProtoMessage() {} 1416 1417 func (x *RevealedAccount) ProtoReflect() protoreflect.Message { 1418 mi := &file_communities_proto_msgTypes[13] 1419 if protoimpl.UnsafeEnabled && x != nil { 1420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1421 if ms.LoadMessageInfo() == nil { 1422 ms.StoreMessageInfo(mi) 1423 } 1424 return ms 1425 } 1426 return mi.MessageOf(x) 1427 } 1428 1429 // Deprecated: Use RevealedAccount.ProtoReflect.Descriptor instead. 1430 func (*RevealedAccount) Descriptor() ([]byte, []int) { 1431 return file_communities_proto_rawDescGZIP(), []int{13} 1432 } 1433 1434 func (x *RevealedAccount) GetAddress() string { 1435 if x != nil { 1436 return x.Address 1437 } 1438 return "" 1439 } 1440 1441 func (x *RevealedAccount) GetSignature() []byte { 1442 if x != nil { 1443 return x.Signature 1444 } 1445 return nil 1446 } 1447 1448 func (x *RevealedAccount) GetChainIds() []uint64 { 1449 if x != nil { 1450 return x.ChainIds 1451 } 1452 return nil 1453 } 1454 1455 func (x *RevealedAccount) GetIsAirdropAddress() bool { 1456 if x != nil { 1457 return x.IsAirdropAddress 1458 } 1459 return false 1460 } 1461 1462 type CommunityRequestToJoin struct { 1463 state protoimpl.MessageState 1464 sizeCache protoimpl.SizeCache 1465 unknownFields protoimpl.UnknownFields 1466 1467 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1468 EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` 1469 ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` 1470 CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1471 DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 1472 RevealedAccounts []*RevealedAccount `protobuf:"bytes,6,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` 1473 CustomizationColor uint32 `protobuf:"varint,7,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` 1474 } 1475 1476 func (x *CommunityRequestToJoin) Reset() { 1477 *x = CommunityRequestToJoin{} 1478 if protoimpl.UnsafeEnabled { 1479 mi := &file_communities_proto_msgTypes[14] 1480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1481 ms.StoreMessageInfo(mi) 1482 } 1483 } 1484 1485 func (x *CommunityRequestToJoin) String() string { 1486 return protoimpl.X.MessageStringOf(x) 1487 } 1488 1489 func (*CommunityRequestToJoin) ProtoMessage() {} 1490 1491 func (x *CommunityRequestToJoin) ProtoReflect() protoreflect.Message { 1492 mi := &file_communities_proto_msgTypes[14] 1493 if protoimpl.UnsafeEnabled && x != nil { 1494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1495 if ms.LoadMessageInfo() == nil { 1496 ms.StoreMessageInfo(mi) 1497 } 1498 return ms 1499 } 1500 return mi.MessageOf(x) 1501 } 1502 1503 // Deprecated: Use CommunityRequestToJoin.ProtoReflect.Descriptor instead. 1504 func (*CommunityRequestToJoin) Descriptor() ([]byte, []int) { 1505 return file_communities_proto_rawDescGZIP(), []int{14} 1506 } 1507 1508 func (x *CommunityRequestToJoin) GetClock() uint64 { 1509 if x != nil { 1510 return x.Clock 1511 } 1512 return 0 1513 } 1514 1515 func (x *CommunityRequestToJoin) GetEnsName() string { 1516 if x != nil { 1517 return x.EnsName 1518 } 1519 return "" 1520 } 1521 1522 func (x *CommunityRequestToJoin) GetChatId() string { 1523 if x != nil { 1524 return x.ChatId 1525 } 1526 return "" 1527 } 1528 1529 func (x *CommunityRequestToJoin) GetCommunityId() []byte { 1530 if x != nil { 1531 return x.CommunityId 1532 } 1533 return nil 1534 } 1535 1536 func (x *CommunityRequestToJoin) GetDisplayName() string { 1537 if x != nil { 1538 return x.DisplayName 1539 } 1540 return "" 1541 } 1542 1543 func (x *CommunityRequestToJoin) GetRevealedAccounts() []*RevealedAccount { 1544 if x != nil { 1545 return x.RevealedAccounts 1546 } 1547 return nil 1548 } 1549 1550 func (x *CommunityRequestToJoin) GetCustomizationColor() uint32 { 1551 if x != nil { 1552 return x.CustomizationColor 1553 } 1554 return 0 1555 } 1556 1557 type CommunityEditSharedAddresses struct { 1558 state protoimpl.MessageState 1559 sizeCache protoimpl.SizeCache 1560 unknownFields protoimpl.UnknownFields 1561 1562 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1563 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1564 RevealedAccounts []*RevealedAccount `protobuf:"bytes,3,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` 1565 } 1566 1567 func (x *CommunityEditSharedAddresses) Reset() { 1568 *x = CommunityEditSharedAddresses{} 1569 if protoimpl.UnsafeEnabled { 1570 mi := &file_communities_proto_msgTypes[15] 1571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1572 ms.StoreMessageInfo(mi) 1573 } 1574 } 1575 1576 func (x *CommunityEditSharedAddresses) String() string { 1577 return protoimpl.X.MessageStringOf(x) 1578 } 1579 1580 func (*CommunityEditSharedAddresses) ProtoMessage() {} 1581 1582 func (x *CommunityEditSharedAddresses) ProtoReflect() protoreflect.Message { 1583 mi := &file_communities_proto_msgTypes[15] 1584 if protoimpl.UnsafeEnabled && x != nil { 1585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1586 if ms.LoadMessageInfo() == nil { 1587 ms.StoreMessageInfo(mi) 1588 } 1589 return ms 1590 } 1591 return mi.MessageOf(x) 1592 } 1593 1594 // Deprecated: Use CommunityEditSharedAddresses.ProtoReflect.Descriptor instead. 1595 func (*CommunityEditSharedAddresses) Descriptor() ([]byte, []int) { 1596 return file_communities_proto_rawDescGZIP(), []int{15} 1597 } 1598 1599 func (x *CommunityEditSharedAddresses) GetClock() uint64 { 1600 if x != nil { 1601 return x.Clock 1602 } 1603 return 0 1604 } 1605 1606 func (x *CommunityEditSharedAddresses) GetCommunityId() []byte { 1607 if x != nil { 1608 return x.CommunityId 1609 } 1610 return nil 1611 } 1612 1613 func (x *CommunityEditSharedAddresses) GetRevealedAccounts() []*RevealedAccount { 1614 if x != nil { 1615 return x.RevealedAccounts 1616 } 1617 return nil 1618 } 1619 1620 type CommunityCancelRequestToJoin struct { 1621 state protoimpl.MessageState 1622 sizeCache protoimpl.SizeCache 1623 unknownFields protoimpl.UnknownFields 1624 1625 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1626 EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` 1627 ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` 1628 CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1629 DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 1630 CustomizationColor uint32 `protobuf:"varint,6,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` 1631 } 1632 1633 func (x *CommunityCancelRequestToJoin) Reset() { 1634 *x = CommunityCancelRequestToJoin{} 1635 if protoimpl.UnsafeEnabled { 1636 mi := &file_communities_proto_msgTypes[16] 1637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1638 ms.StoreMessageInfo(mi) 1639 } 1640 } 1641 1642 func (x *CommunityCancelRequestToJoin) String() string { 1643 return protoimpl.X.MessageStringOf(x) 1644 } 1645 1646 func (*CommunityCancelRequestToJoin) ProtoMessage() {} 1647 1648 func (x *CommunityCancelRequestToJoin) ProtoReflect() protoreflect.Message { 1649 mi := &file_communities_proto_msgTypes[16] 1650 if protoimpl.UnsafeEnabled && x != nil { 1651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1652 if ms.LoadMessageInfo() == nil { 1653 ms.StoreMessageInfo(mi) 1654 } 1655 return ms 1656 } 1657 return mi.MessageOf(x) 1658 } 1659 1660 // Deprecated: Use CommunityCancelRequestToJoin.ProtoReflect.Descriptor instead. 1661 func (*CommunityCancelRequestToJoin) Descriptor() ([]byte, []int) { 1662 return file_communities_proto_rawDescGZIP(), []int{16} 1663 } 1664 1665 func (x *CommunityCancelRequestToJoin) GetClock() uint64 { 1666 if x != nil { 1667 return x.Clock 1668 } 1669 return 0 1670 } 1671 1672 func (x *CommunityCancelRequestToJoin) GetEnsName() string { 1673 if x != nil { 1674 return x.EnsName 1675 } 1676 return "" 1677 } 1678 1679 func (x *CommunityCancelRequestToJoin) GetChatId() string { 1680 if x != nil { 1681 return x.ChatId 1682 } 1683 return "" 1684 } 1685 1686 func (x *CommunityCancelRequestToJoin) GetCommunityId() []byte { 1687 if x != nil { 1688 return x.CommunityId 1689 } 1690 return nil 1691 } 1692 1693 func (x *CommunityCancelRequestToJoin) GetDisplayName() string { 1694 if x != nil { 1695 return x.DisplayName 1696 } 1697 return "" 1698 } 1699 1700 func (x *CommunityCancelRequestToJoin) GetCustomizationColor() uint32 { 1701 if x != nil { 1702 return x.CustomizationColor 1703 } 1704 return 0 1705 } 1706 1707 type CommunityUserKicked struct { 1708 state protoimpl.MessageState 1709 sizeCache protoimpl.SizeCache 1710 unknownFields protoimpl.UnknownFields 1711 1712 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1713 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1714 } 1715 1716 func (x *CommunityUserKicked) Reset() { 1717 *x = CommunityUserKicked{} 1718 if protoimpl.UnsafeEnabled { 1719 mi := &file_communities_proto_msgTypes[17] 1720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1721 ms.StoreMessageInfo(mi) 1722 } 1723 } 1724 1725 func (x *CommunityUserKicked) String() string { 1726 return protoimpl.X.MessageStringOf(x) 1727 } 1728 1729 func (*CommunityUserKicked) ProtoMessage() {} 1730 1731 func (x *CommunityUserKicked) ProtoReflect() protoreflect.Message { 1732 mi := &file_communities_proto_msgTypes[17] 1733 if protoimpl.UnsafeEnabled && x != nil { 1734 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1735 if ms.LoadMessageInfo() == nil { 1736 ms.StoreMessageInfo(mi) 1737 } 1738 return ms 1739 } 1740 return mi.MessageOf(x) 1741 } 1742 1743 // Deprecated: Use CommunityUserKicked.ProtoReflect.Descriptor instead. 1744 func (*CommunityUserKicked) Descriptor() ([]byte, []int) { 1745 return file_communities_proto_rawDescGZIP(), []int{17} 1746 } 1747 1748 func (x *CommunityUserKicked) GetClock() uint64 { 1749 if x != nil { 1750 return x.Clock 1751 } 1752 return 0 1753 } 1754 1755 func (x *CommunityUserKicked) GetCommunityId() []byte { 1756 if x != nil { 1757 return x.CommunityId 1758 } 1759 return nil 1760 } 1761 1762 type CommunityRequestToJoinResponse struct { 1763 state protoimpl.MessageState 1764 sizeCache protoimpl.SizeCache 1765 unknownFields protoimpl.UnknownFields 1766 1767 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1768 Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"` 1769 Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"` 1770 Grant []byte `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"` 1771 CommunityId []byte `protobuf:"bytes,5,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1772 MagnetUri string `protobuf:"bytes,6,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"` 1773 ProtectedTopicPrivateKey []byte `protobuf:"bytes,7,opt,name=protected_topic_private_key,json=protectedTopicPrivateKey,proto3" json:"protected_topic_private_key,omitempty"` 1774 Shard *Shard `protobuf:"bytes,8,opt,name=shard,proto3" json:"shard,omitempty"` 1775 } 1776 1777 func (x *CommunityRequestToJoinResponse) Reset() { 1778 *x = CommunityRequestToJoinResponse{} 1779 if protoimpl.UnsafeEnabled { 1780 mi := &file_communities_proto_msgTypes[18] 1781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1782 ms.StoreMessageInfo(mi) 1783 } 1784 } 1785 1786 func (x *CommunityRequestToJoinResponse) String() string { 1787 return protoimpl.X.MessageStringOf(x) 1788 } 1789 1790 func (*CommunityRequestToJoinResponse) ProtoMessage() {} 1791 1792 func (x *CommunityRequestToJoinResponse) ProtoReflect() protoreflect.Message { 1793 mi := &file_communities_proto_msgTypes[18] 1794 if protoimpl.UnsafeEnabled && x != nil { 1795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1796 if ms.LoadMessageInfo() == nil { 1797 ms.StoreMessageInfo(mi) 1798 } 1799 return ms 1800 } 1801 return mi.MessageOf(x) 1802 } 1803 1804 // Deprecated: Use CommunityRequestToJoinResponse.ProtoReflect.Descriptor instead. 1805 func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int) { 1806 return file_communities_proto_rawDescGZIP(), []int{18} 1807 } 1808 1809 func (x *CommunityRequestToJoinResponse) GetClock() uint64 { 1810 if x != nil { 1811 return x.Clock 1812 } 1813 return 0 1814 } 1815 1816 func (x *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription { 1817 if x != nil { 1818 return x.Community 1819 } 1820 return nil 1821 } 1822 1823 func (x *CommunityRequestToJoinResponse) GetAccepted() bool { 1824 if x != nil { 1825 return x.Accepted 1826 } 1827 return false 1828 } 1829 1830 func (x *CommunityRequestToJoinResponse) GetGrant() []byte { 1831 if x != nil { 1832 return x.Grant 1833 } 1834 return nil 1835 } 1836 1837 func (x *CommunityRequestToJoinResponse) GetCommunityId() []byte { 1838 if x != nil { 1839 return x.CommunityId 1840 } 1841 return nil 1842 } 1843 1844 func (x *CommunityRequestToJoinResponse) GetMagnetUri() string { 1845 if x != nil { 1846 return x.MagnetUri 1847 } 1848 return "" 1849 } 1850 1851 func (x *CommunityRequestToJoinResponse) GetProtectedTopicPrivateKey() []byte { 1852 if x != nil { 1853 return x.ProtectedTopicPrivateKey 1854 } 1855 return nil 1856 } 1857 1858 func (x *CommunityRequestToJoinResponse) GetShard() *Shard { 1859 if x != nil { 1860 return x.Shard 1861 } 1862 return nil 1863 } 1864 1865 type CommunityRequestToLeave struct { 1866 state protoimpl.MessageState 1867 sizeCache protoimpl.SizeCache 1868 unknownFields protoimpl.UnknownFields 1869 1870 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1871 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 1872 } 1873 1874 func (x *CommunityRequestToLeave) Reset() { 1875 *x = CommunityRequestToLeave{} 1876 if protoimpl.UnsafeEnabled { 1877 mi := &file_communities_proto_msgTypes[19] 1878 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1879 ms.StoreMessageInfo(mi) 1880 } 1881 } 1882 1883 func (x *CommunityRequestToLeave) String() string { 1884 return protoimpl.X.MessageStringOf(x) 1885 } 1886 1887 func (*CommunityRequestToLeave) ProtoMessage() {} 1888 1889 func (x *CommunityRequestToLeave) ProtoReflect() protoreflect.Message { 1890 mi := &file_communities_proto_msgTypes[19] 1891 if protoimpl.UnsafeEnabled && x != nil { 1892 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1893 if ms.LoadMessageInfo() == nil { 1894 ms.StoreMessageInfo(mi) 1895 } 1896 return ms 1897 } 1898 return mi.MessageOf(x) 1899 } 1900 1901 // Deprecated: Use CommunityRequestToLeave.ProtoReflect.Descriptor instead. 1902 func (*CommunityRequestToLeave) Descriptor() ([]byte, []int) { 1903 return file_communities_proto_rawDescGZIP(), []int{19} 1904 } 1905 1906 func (x *CommunityRequestToLeave) GetClock() uint64 { 1907 if x != nil { 1908 return x.Clock 1909 } 1910 return 0 1911 } 1912 1913 func (x *CommunityRequestToLeave) GetCommunityId() []byte { 1914 if x != nil { 1915 return x.CommunityId 1916 } 1917 return nil 1918 } 1919 1920 type CommunityMessageArchiveMagnetlink struct { 1921 state protoimpl.MessageState 1922 sizeCache protoimpl.SizeCache 1923 unknownFields protoimpl.UnknownFields 1924 1925 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 1926 MagnetUri string `protobuf:"bytes,2,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"` 1927 } 1928 1929 func (x *CommunityMessageArchiveMagnetlink) Reset() { 1930 *x = CommunityMessageArchiveMagnetlink{} 1931 if protoimpl.UnsafeEnabled { 1932 mi := &file_communities_proto_msgTypes[20] 1933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1934 ms.StoreMessageInfo(mi) 1935 } 1936 } 1937 1938 func (x *CommunityMessageArchiveMagnetlink) String() string { 1939 return protoimpl.X.MessageStringOf(x) 1940 } 1941 1942 func (*CommunityMessageArchiveMagnetlink) ProtoMessage() {} 1943 1944 func (x *CommunityMessageArchiveMagnetlink) ProtoReflect() protoreflect.Message { 1945 mi := &file_communities_proto_msgTypes[20] 1946 if protoimpl.UnsafeEnabled && x != nil { 1947 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1948 if ms.LoadMessageInfo() == nil { 1949 ms.StoreMessageInfo(mi) 1950 } 1951 return ms 1952 } 1953 return mi.MessageOf(x) 1954 } 1955 1956 // Deprecated: Use CommunityMessageArchiveMagnetlink.ProtoReflect.Descriptor instead. 1957 func (*CommunityMessageArchiveMagnetlink) Descriptor() ([]byte, []int) { 1958 return file_communities_proto_rawDescGZIP(), []int{20} 1959 } 1960 1961 func (x *CommunityMessageArchiveMagnetlink) GetClock() uint64 { 1962 if x != nil { 1963 return x.Clock 1964 } 1965 return 0 1966 } 1967 1968 func (x *CommunityMessageArchiveMagnetlink) GetMagnetUri() string { 1969 if x != nil { 1970 return x.MagnetUri 1971 } 1972 return "" 1973 } 1974 1975 type WakuMessage struct { 1976 state protoimpl.MessageState 1977 sizeCache protoimpl.SizeCache 1978 unknownFields protoimpl.UnknownFields 1979 1980 Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` 1981 Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 1982 Topic []byte `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` 1983 Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` 1984 Padding []byte `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"` 1985 Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` 1986 ThirdPartyId string `protobuf:"bytes,7,opt,name=thirdPartyId,proto3" json:"thirdPartyId,omitempty"` 1987 } 1988 1989 func (x *WakuMessage) Reset() { 1990 *x = WakuMessage{} 1991 if protoimpl.UnsafeEnabled { 1992 mi := &file_communities_proto_msgTypes[21] 1993 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1994 ms.StoreMessageInfo(mi) 1995 } 1996 } 1997 1998 func (x *WakuMessage) String() string { 1999 return protoimpl.X.MessageStringOf(x) 2000 } 2001 2002 func (*WakuMessage) ProtoMessage() {} 2003 2004 func (x *WakuMessage) ProtoReflect() protoreflect.Message { 2005 mi := &file_communities_proto_msgTypes[21] 2006 if protoimpl.UnsafeEnabled && x != nil { 2007 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2008 if ms.LoadMessageInfo() == nil { 2009 ms.StoreMessageInfo(mi) 2010 } 2011 return ms 2012 } 2013 return mi.MessageOf(x) 2014 } 2015 2016 // Deprecated: Use WakuMessage.ProtoReflect.Descriptor instead. 2017 func (*WakuMessage) Descriptor() ([]byte, []int) { 2018 return file_communities_proto_rawDescGZIP(), []int{21} 2019 } 2020 2021 func (x *WakuMessage) GetSig() []byte { 2022 if x != nil { 2023 return x.Sig 2024 } 2025 return nil 2026 } 2027 2028 func (x *WakuMessage) GetTimestamp() uint64 { 2029 if x != nil { 2030 return x.Timestamp 2031 } 2032 return 0 2033 } 2034 2035 func (x *WakuMessage) GetTopic() []byte { 2036 if x != nil { 2037 return x.Topic 2038 } 2039 return nil 2040 } 2041 2042 func (x *WakuMessage) GetPayload() []byte { 2043 if x != nil { 2044 return x.Payload 2045 } 2046 return nil 2047 } 2048 2049 func (x *WakuMessage) GetPadding() []byte { 2050 if x != nil { 2051 return x.Padding 2052 } 2053 return nil 2054 } 2055 2056 func (x *WakuMessage) GetHash() []byte { 2057 if x != nil { 2058 return x.Hash 2059 } 2060 return nil 2061 } 2062 2063 func (x *WakuMessage) GetThirdPartyId() string { 2064 if x != nil { 2065 return x.ThirdPartyId 2066 } 2067 return "" 2068 } 2069 2070 type WakuMessageArchiveMetadata struct { 2071 state protoimpl.MessageState 2072 sizeCache protoimpl.SizeCache 2073 unknownFields protoimpl.UnknownFields 2074 2075 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 2076 From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` 2077 To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` 2078 ContentTopic [][]byte `protobuf:"bytes,4,rep,name=contentTopic,proto3" json:"contentTopic,omitempty"` 2079 } 2080 2081 func (x *WakuMessageArchiveMetadata) Reset() { 2082 *x = WakuMessageArchiveMetadata{} 2083 if protoimpl.UnsafeEnabled { 2084 mi := &file_communities_proto_msgTypes[22] 2085 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2086 ms.StoreMessageInfo(mi) 2087 } 2088 } 2089 2090 func (x *WakuMessageArchiveMetadata) String() string { 2091 return protoimpl.X.MessageStringOf(x) 2092 } 2093 2094 func (*WakuMessageArchiveMetadata) ProtoMessage() {} 2095 2096 func (x *WakuMessageArchiveMetadata) ProtoReflect() protoreflect.Message { 2097 mi := &file_communities_proto_msgTypes[22] 2098 if protoimpl.UnsafeEnabled && x != nil { 2099 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2100 if ms.LoadMessageInfo() == nil { 2101 ms.StoreMessageInfo(mi) 2102 } 2103 return ms 2104 } 2105 return mi.MessageOf(x) 2106 } 2107 2108 // Deprecated: Use WakuMessageArchiveMetadata.ProtoReflect.Descriptor instead. 2109 func (*WakuMessageArchiveMetadata) Descriptor() ([]byte, []int) { 2110 return file_communities_proto_rawDescGZIP(), []int{22} 2111 } 2112 2113 func (x *WakuMessageArchiveMetadata) GetVersion() uint32 { 2114 if x != nil { 2115 return x.Version 2116 } 2117 return 0 2118 } 2119 2120 func (x *WakuMessageArchiveMetadata) GetFrom() uint64 { 2121 if x != nil { 2122 return x.From 2123 } 2124 return 0 2125 } 2126 2127 func (x *WakuMessageArchiveMetadata) GetTo() uint64 { 2128 if x != nil { 2129 return x.To 2130 } 2131 return 0 2132 } 2133 2134 func (x *WakuMessageArchiveMetadata) GetContentTopic() [][]byte { 2135 if x != nil { 2136 return x.ContentTopic 2137 } 2138 return nil 2139 } 2140 2141 type WakuMessageArchive struct { 2142 state protoimpl.MessageState 2143 sizeCache protoimpl.SizeCache 2144 unknownFields protoimpl.UnknownFields 2145 2146 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 2147 Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 2148 Messages []*WakuMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` 2149 } 2150 2151 func (x *WakuMessageArchive) Reset() { 2152 *x = WakuMessageArchive{} 2153 if protoimpl.UnsafeEnabled { 2154 mi := &file_communities_proto_msgTypes[23] 2155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2156 ms.StoreMessageInfo(mi) 2157 } 2158 } 2159 2160 func (x *WakuMessageArchive) String() string { 2161 return protoimpl.X.MessageStringOf(x) 2162 } 2163 2164 func (*WakuMessageArchive) ProtoMessage() {} 2165 2166 func (x *WakuMessageArchive) ProtoReflect() protoreflect.Message { 2167 mi := &file_communities_proto_msgTypes[23] 2168 if protoimpl.UnsafeEnabled && x != nil { 2169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2170 if ms.LoadMessageInfo() == nil { 2171 ms.StoreMessageInfo(mi) 2172 } 2173 return ms 2174 } 2175 return mi.MessageOf(x) 2176 } 2177 2178 // Deprecated: Use WakuMessageArchive.ProtoReflect.Descriptor instead. 2179 func (*WakuMessageArchive) Descriptor() ([]byte, []int) { 2180 return file_communities_proto_rawDescGZIP(), []int{23} 2181 } 2182 2183 func (x *WakuMessageArchive) GetVersion() uint32 { 2184 if x != nil { 2185 return x.Version 2186 } 2187 return 0 2188 } 2189 2190 func (x *WakuMessageArchive) GetMetadata() *WakuMessageArchiveMetadata { 2191 if x != nil { 2192 return x.Metadata 2193 } 2194 return nil 2195 } 2196 2197 func (x *WakuMessageArchive) GetMessages() []*WakuMessage { 2198 if x != nil { 2199 return x.Messages 2200 } 2201 return nil 2202 } 2203 2204 type WakuMessageArchiveIndexMetadata struct { 2205 state protoimpl.MessageState 2206 sizeCache protoimpl.SizeCache 2207 unknownFields protoimpl.UnknownFields 2208 2209 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 2210 Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 2211 Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` 2212 Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` 2213 Padding uint64 `protobuf:"varint,5,opt,name=padding,proto3" json:"padding,omitempty"` 2214 } 2215 2216 func (x *WakuMessageArchiveIndexMetadata) Reset() { 2217 *x = WakuMessageArchiveIndexMetadata{} 2218 if protoimpl.UnsafeEnabled { 2219 mi := &file_communities_proto_msgTypes[24] 2220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2221 ms.StoreMessageInfo(mi) 2222 } 2223 } 2224 2225 func (x *WakuMessageArchiveIndexMetadata) String() string { 2226 return protoimpl.X.MessageStringOf(x) 2227 } 2228 2229 func (*WakuMessageArchiveIndexMetadata) ProtoMessage() {} 2230 2231 func (x *WakuMessageArchiveIndexMetadata) ProtoReflect() protoreflect.Message { 2232 mi := &file_communities_proto_msgTypes[24] 2233 if protoimpl.UnsafeEnabled && x != nil { 2234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2235 if ms.LoadMessageInfo() == nil { 2236 ms.StoreMessageInfo(mi) 2237 } 2238 return ms 2239 } 2240 return mi.MessageOf(x) 2241 } 2242 2243 // Deprecated: Use WakuMessageArchiveIndexMetadata.ProtoReflect.Descriptor instead. 2244 func (*WakuMessageArchiveIndexMetadata) Descriptor() ([]byte, []int) { 2245 return file_communities_proto_rawDescGZIP(), []int{24} 2246 } 2247 2248 func (x *WakuMessageArchiveIndexMetadata) GetVersion() uint32 { 2249 if x != nil { 2250 return x.Version 2251 } 2252 return 0 2253 } 2254 2255 func (x *WakuMessageArchiveIndexMetadata) GetMetadata() *WakuMessageArchiveMetadata { 2256 if x != nil { 2257 return x.Metadata 2258 } 2259 return nil 2260 } 2261 2262 func (x *WakuMessageArchiveIndexMetadata) GetOffset() uint64 { 2263 if x != nil { 2264 return x.Offset 2265 } 2266 return 0 2267 } 2268 2269 func (x *WakuMessageArchiveIndexMetadata) GetSize() uint64 { 2270 if x != nil { 2271 return x.Size 2272 } 2273 return 0 2274 } 2275 2276 func (x *WakuMessageArchiveIndexMetadata) GetPadding() uint64 { 2277 if x != nil { 2278 return x.Padding 2279 } 2280 return 0 2281 } 2282 2283 type WakuMessageArchiveIndex struct { 2284 state protoimpl.MessageState 2285 sizeCache protoimpl.SizeCache 2286 unknownFields protoimpl.UnknownFields 2287 2288 Archives map[string]*WakuMessageArchiveIndexMetadata `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 2289 } 2290 2291 func (x *WakuMessageArchiveIndex) Reset() { 2292 *x = WakuMessageArchiveIndex{} 2293 if protoimpl.UnsafeEnabled { 2294 mi := &file_communities_proto_msgTypes[25] 2295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2296 ms.StoreMessageInfo(mi) 2297 } 2298 } 2299 2300 func (x *WakuMessageArchiveIndex) String() string { 2301 return protoimpl.X.MessageStringOf(x) 2302 } 2303 2304 func (*WakuMessageArchiveIndex) ProtoMessage() {} 2305 2306 func (x *WakuMessageArchiveIndex) ProtoReflect() protoreflect.Message { 2307 mi := &file_communities_proto_msgTypes[25] 2308 if protoimpl.UnsafeEnabled && x != nil { 2309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2310 if ms.LoadMessageInfo() == nil { 2311 ms.StoreMessageInfo(mi) 2312 } 2313 return ms 2314 } 2315 return mi.MessageOf(x) 2316 } 2317 2318 // Deprecated: Use WakuMessageArchiveIndex.ProtoReflect.Descriptor instead. 2319 func (*WakuMessageArchiveIndex) Descriptor() ([]byte, []int) { 2320 return file_communities_proto_rawDescGZIP(), []int{25} 2321 } 2322 2323 func (x *WakuMessageArchiveIndex) GetArchives() map[string]*WakuMessageArchiveIndexMetadata { 2324 if x != nil { 2325 return x.Archives 2326 } 2327 return nil 2328 } 2329 2330 type CommunityPublicStorenodesInfo struct { 2331 state protoimpl.MessageState 2332 sizeCache protoimpl.SizeCache 2333 unknownFields protoimpl.UnknownFields 2334 2335 // Signature of the payload field 2336 Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 2337 // Marshaled CommunityStorenodes 2338 Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` 2339 } 2340 2341 func (x *CommunityPublicStorenodesInfo) Reset() { 2342 *x = CommunityPublicStorenodesInfo{} 2343 if protoimpl.UnsafeEnabled { 2344 mi := &file_communities_proto_msgTypes[26] 2345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2346 ms.StoreMessageInfo(mi) 2347 } 2348 } 2349 2350 func (x *CommunityPublicStorenodesInfo) String() string { 2351 return protoimpl.X.MessageStringOf(x) 2352 } 2353 2354 func (*CommunityPublicStorenodesInfo) ProtoMessage() {} 2355 2356 func (x *CommunityPublicStorenodesInfo) ProtoReflect() protoreflect.Message { 2357 mi := &file_communities_proto_msgTypes[26] 2358 if protoimpl.UnsafeEnabled && x != nil { 2359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2360 if ms.LoadMessageInfo() == nil { 2361 ms.StoreMessageInfo(mi) 2362 } 2363 return ms 2364 } 2365 return mi.MessageOf(x) 2366 } 2367 2368 // Deprecated: Use CommunityPublicStorenodesInfo.ProtoReflect.Descriptor instead. 2369 func (*CommunityPublicStorenodesInfo) Descriptor() ([]byte, []int) { 2370 return file_communities_proto_rawDescGZIP(), []int{26} 2371 } 2372 2373 func (x *CommunityPublicStorenodesInfo) GetSignature() []byte { 2374 if x != nil { 2375 return x.Signature 2376 } 2377 return nil 2378 } 2379 2380 func (x *CommunityPublicStorenodesInfo) GetPayload() []byte { 2381 if x != nil { 2382 return x.Payload 2383 } 2384 return nil 2385 } 2386 2387 type CommunityStorenodes struct { 2388 state protoimpl.MessageState 2389 sizeCache protoimpl.SizeCache 2390 unknownFields protoimpl.UnknownFields 2391 2392 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 2393 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2394 Storenodes []*Storenode `protobuf:"bytes,3,rep,name=storenodes,proto3" json:"storenodes,omitempty"` 2395 ChainId uint64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 2396 } 2397 2398 func (x *CommunityStorenodes) Reset() { 2399 *x = CommunityStorenodes{} 2400 if protoimpl.UnsafeEnabled { 2401 mi := &file_communities_proto_msgTypes[27] 2402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2403 ms.StoreMessageInfo(mi) 2404 } 2405 } 2406 2407 func (x *CommunityStorenodes) String() string { 2408 return protoimpl.X.MessageStringOf(x) 2409 } 2410 2411 func (*CommunityStorenodes) ProtoMessage() {} 2412 2413 func (x *CommunityStorenodes) ProtoReflect() protoreflect.Message { 2414 mi := &file_communities_proto_msgTypes[27] 2415 if protoimpl.UnsafeEnabled && x != nil { 2416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2417 if ms.LoadMessageInfo() == nil { 2418 ms.StoreMessageInfo(mi) 2419 } 2420 return ms 2421 } 2422 return mi.MessageOf(x) 2423 } 2424 2425 // Deprecated: Use CommunityStorenodes.ProtoReflect.Descriptor instead. 2426 func (*CommunityStorenodes) Descriptor() ([]byte, []int) { 2427 return file_communities_proto_rawDescGZIP(), []int{27} 2428 } 2429 2430 func (x *CommunityStorenodes) GetClock() uint64 { 2431 if x != nil { 2432 return x.Clock 2433 } 2434 return 0 2435 } 2436 2437 func (x *CommunityStorenodes) GetCommunityId() []byte { 2438 if x != nil { 2439 return x.CommunityId 2440 } 2441 return nil 2442 } 2443 2444 func (x *CommunityStorenodes) GetStorenodes() []*Storenode { 2445 if x != nil { 2446 return x.Storenodes 2447 } 2448 return nil 2449 } 2450 2451 func (x *CommunityStorenodes) GetChainId() uint64 { 2452 if x != nil { 2453 return x.ChainId 2454 } 2455 return 0 2456 } 2457 2458 type Storenode struct { 2459 state protoimpl.MessageState 2460 sizeCache protoimpl.SizeCache 2461 unknownFields protoimpl.UnknownFields 2462 2463 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2464 StorenodeId string `protobuf:"bytes,2,opt,name=storenode_id,json=storenodeId,proto3" json:"storenode_id,omitempty"` 2465 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 2466 Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` 2467 Fleet string `protobuf:"bytes,5,opt,name=fleet,proto3" json:"fleet,omitempty"` 2468 Version uint32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` 2469 Removed bool `protobuf:"varint,7,opt,name=removed,proto3" json:"removed,omitempty"` 2470 DeletedAt int64 `protobuf:"varint,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` 2471 } 2472 2473 func (x *Storenode) Reset() { 2474 *x = Storenode{} 2475 if protoimpl.UnsafeEnabled { 2476 mi := &file_communities_proto_msgTypes[28] 2477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2478 ms.StoreMessageInfo(mi) 2479 } 2480 } 2481 2482 func (x *Storenode) String() string { 2483 return protoimpl.X.MessageStringOf(x) 2484 } 2485 2486 func (*Storenode) ProtoMessage() {} 2487 2488 func (x *Storenode) ProtoReflect() protoreflect.Message { 2489 mi := &file_communities_proto_msgTypes[28] 2490 if protoimpl.UnsafeEnabled && x != nil { 2491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2492 if ms.LoadMessageInfo() == nil { 2493 ms.StoreMessageInfo(mi) 2494 } 2495 return ms 2496 } 2497 return mi.MessageOf(x) 2498 } 2499 2500 // Deprecated: Use Storenode.ProtoReflect.Descriptor instead. 2501 func (*Storenode) Descriptor() ([]byte, []int) { 2502 return file_communities_proto_rawDescGZIP(), []int{28} 2503 } 2504 2505 func (x *Storenode) GetCommunityId() []byte { 2506 if x != nil { 2507 return x.CommunityId 2508 } 2509 return nil 2510 } 2511 2512 func (x *Storenode) GetStorenodeId() string { 2513 if x != nil { 2514 return x.StorenodeId 2515 } 2516 return "" 2517 } 2518 2519 func (x *Storenode) GetName() string { 2520 if x != nil { 2521 return x.Name 2522 } 2523 return "" 2524 } 2525 2526 func (x *Storenode) GetAddress() string { 2527 if x != nil { 2528 return x.Address 2529 } 2530 return "" 2531 } 2532 2533 func (x *Storenode) GetFleet() string { 2534 if x != nil { 2535 return x.Fleet 2536 } 2537 return "" 2538 } 2539 2540 func (x *Storenode) GetVersion() uint32 { 2541 if x != nil { 2542 return x.Version 2543 } 2544 return 0 2545 } 2546 2547 func (x *Storenode) GetRemoved() bool { 2548 if x != nil { 2549 return x.Removed 2550 } 2551 return false 2552 } 2553 2554 func (x *Storenode) GetDeletedAt() int64 { 2555 if x != nil { 2556 return x.DeletedAt 2557 } 2558 return 0 2559 } 2560 2561 type CommunityReevaluatePermissionsRequest struct { 2562 state protoimpl.MessageState 2563 sizeCache protoimpl.SizeCache 2564 unknownFields protoimpl.UnknownFields 2565 2566 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2567 } 2568 2569 func (x *CommunityReevaluatePermissionsRequest) Reset() { 2570 *x = CommunityReevaluatePermissionsRequest{} 2571 if protoimpl.UnsafeEnabled { 2572 mi := &file_communities_proto_msgTypes[29] 2573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2574 ms.StoreMessageInfo(mi) 2575 } 2576 } 2577 2578 func (x *CommunityReevaluatePermissionsRequest) String() string { 2579 return protoimpl.X.MessageStringOf(x) 2580 } 2581 2582 func (*CommunityReevaluatePermissionsRequest) ProtoMessage() {} 2583 2584 func (x *CommunityReevaluatePermissionsRequest) ProtoReflect() protoreflect.Message { 2585 mi := &file_communities_proto_msgTypes[29] 2586 if protoimpl.UnsafeEnabled && x != nil { 2587 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2588 if ms.LoadMessageInfo() == nil { 2589 ms.StoreMessageInfo(mi) 2590 } 2591 return ms 2592 } 2593 return mi.MessageOf(x) 2594 } 2595 2596 // Deprecated: Use CommunityReevaluatePermissionsRequest.ProtoReflect.Descriptor instead. 2597 func (*CommunityReevaluatePermissionsRequest) Descriptor() ([]byte, []int) { 2598 return file_communities_proto_rawDescGZIP(), []int{29} 2599 } 2600 2601 func (x *CommunityReevaluatePermissionsRequest) GetCommunityId() []byte { 2602 if x != nil { 2603 return x.CommunityId 2604 } 2605 return nil 2606 } 2607 2608 type DeleteCommunityMemberMessage struct { 2609 state protoimpl.MessageState 2610 sizeCache protoimpl.SizeCache 2611 unknownFields protoimpl.UnknownFields 2612 2613 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2614 ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` 2615 } 2616 2617 func (x *DeleteCommunityMemberMessage) Reset() { 2618 *x = DeleteCommunityMemberMessage{} 2619 if protoimpl.UnsafeEnabled { 2620 mi := &file_communities_proto_msgTypes[30] 2621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2622 ms.StoreMessageInfo(mi) 2623 } 2624 } 2625 2626 func (x *DeleteCommunityMemberMessage) String() string { 2627 return protoimpl.X.MessageStringOf(x) 2628 } 2629 2630 func (*DeleteCommunityMemberMessage) ProtoMessage() {} 2631 2632 func (x *DeleteCommunityMemberMessage) ProtoReflect() protoreflect.Message { 2633 mi := &file_communities_proto_msgTypes[30] 2634 if protoimpl.UnsafeEnabled && x != nil { 2635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2636 if ms.LoadMessageInfo() == nil { 2637 ms.StoreMessageInfo(mi) 2638 } 2639 return ms 2640 } 2641 return mi.MessageOf(x) 2642 } 2643 2644 // Deprecated: Use DeleteCommunityMemberMessage.ProtoReflect.Descriptor instead. 2645 func (*DeleteCommunityMemberMessage) Descriptor() ([]byte, []int) { 2646 return file_communities_proto_rawDescGZIP(), []int{30} 2647 } 2648 2649 func (x *DeleteCommunityMemberMessage) GetId() string { 2650 if x != nil { 2651 return x.Id 2652 } 2653 return "" 2654 } 2655 2656 func (x *DeleteCommunityMemberMessage) GetChatId() string { 2657 if x != nil { 2658 return x.ChatId 2659 } 2660 return "" 2661 } 2662 2663 type DeleteCommunityMemberMessages struct { 2664 state protoimpl.MessageState 2665 sizeCache protoimpl.SizeCache 2666 unknownFields protoimpl.UnknownFields 2667 2668 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 2669 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2670 MemberId string `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` 2671 Messages []*DeleteCommunityMemberMessage `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"` 2672 } 2673 2674 func (x *DeleteCommunityMemberMessages) Reset() { 2675 *x = DeleteCommunityMemberMessages{} 2676 if protoimpl.UnsafeEnabled { 2677 mi := &file_communities_proto_msgTypes[31] 2678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2679 ms.StoreMessageInfo(mi) 2680 } 2681 } 2682 2683 func (x *DeleteCommunityMemberMessages) String() string { 2684 return protoimpl.X.MessageStringOf(x) 2685 } 2686 2687 func (*DeleteCommunityMemberMessages) ProtoMessage() {} 2688 2689 func (x *DeleteCommunityMemberMessages) ProtoReflect() protoreflect.Message { 2690 mi := &file_communities_proto_msgTypes[31] 2691 if protoimpl.UnsafeEnabled && x != nil { 2692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2693 if ms.LoadMessageInfo() == nil { 2694 ms.StoreMessageInfo(mi) 2695 } 2696 return ms 2697 } 2698 return mi.MessageOf(x) 2699 } 2700 2701 // Deprecated: Use DeleteCommunityMemberMessages.ProtoReflect.Descriptor instead. 2702 func (*DeleteCommunityMemberMessages) Descriptor() ([]byte, []int) { 2703 return file_communities_proto_rawDescGZIP(), []int{31} 2704 } 2705 2706 func (x *DeleteCommunityMemberMessages) GetClock() uint64 { 2707 if x != nil { 2708 return x.Clock 2709 } 2710 return 0 2711 } 2712 2713 func (x *DeleteCommunityMemberMessages) GetCommunityId() []byte { 2714 if x != nil { 2715 return x.CommunityId 2716 } 2717 return nil 2718 } 2719 2720 func (x *DeleteCommunityMemberMessages) GetMemberId() string { 2721 if x != nil { 2722 return x.MemberId 2723 } 2724 return "" 2725 } 2726 2727 func (x *DeleteCommunityMemberMessages) GetMessages() []*DeleteCommunityMemberMessage { 2728 if x != nil { 2729 return x.Messages 2730 } 2731 return nil 2732 } 2733 2734 type CommunityUpdateGrant struct { 2735 state protoimpl.MessageState 2736 sizeCache protoimpl.SizeCache 2737 unknownFields protoimpl.UnknownFields 2738 2739 Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 2740 CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2741 Grants map[uint32][]byte `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 2742 } 2743 2744 func (x *CommunityUpdateGrant) Reset() { 2745 *x = CommunityUpdateGrant{} 2746 if protoimpl.UnsafeEnabled { 2747 mi := &file_communities_proto_msgTypes[32] 2748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2749 ms.StoreMessageInfo(mi) 2750 } 2751 } 2752 2753 func (x *CommunityUpdateGrant) String() string { 2754 return protoimpl.X.MessageStringOf(x) 2755 } 2756 2757 func (*CommunityUpdateGrant) ProtoMessage() {} 2758 2759 func (x *CommunityUpdateGrant) ProtoReflect() protoreflect.Message { 2760 mi := &file_communities_proto_msgTypes[32] 2761 if protoimpl.UnsafeEnabled && x != nil { 2762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2763 if ms.LoadMessageInfo() == nil { 2764 ms.StoreMessageInfo(mi) 2765 } 2766 return ms 2767 } 2768 return mi.MessageOf(x) 2769 } 2770 2771 // Deprecated: Use CommunityUpdateGrant.ProtoReflect.Descriptor instead. 2772 func (*CommunityUpdateGrant) Descriptor() ([]byte, []int) { 2773 return file_communities_proto_rawDescGZIP(), []int{32} 2774 } 2775 2776 func (x *CommunityUpdateGrant) GetTimestamp() uint64 { 2777 if x != nil { 2778 return x.Timestamp 2779 } 2780 return 0 2781 } 2782 2783 func (x *CommunityUpdateGrant) GetCommunityId() []byte { 2784 if x != nil { 2785 return x.CommunityId 2786 } 2787 return nil 2788 } 2789 2790 func (x *CommunityUpdateGrant) GetGrants() map[uint32][]byte { 2791 if x != nil { 2792 return x.Grants 2793 } 2794 return nil 2795 } 2796 2797 type CommunityEncryptionKeysRequest struct { 2798 state protoimpl.MessageState 2799 sizeCache protoimpl.SizeCache 2800 unknownFields protoimpl.UnknownFields 2801 2802 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2803 ChatIds []string `protobuf:"bytes,2,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"` 2804 } 2805 2806 func (x *CommunityEncryptionKeysRequest) Reset() { 2807 *x = CommunityEncryptionKeysRequest{} 2808 if protoimpl.UnsafeEnabled { 2809 mi := &file_communities_proto_msgTypes[33] 2810 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2811 ms.StoreMessageInfo(mi) 2812 } 2813 } 2814 2815 func (x *CommunityEncryptionKeysRequest) String() string { 2816 return protoimpl.X.MessageStringOf(x) 2817 } 2818 2819 func (*CommunityEncryptionKeysRequest) ProtoMessage() {} 2820 2821 func (x *CommunityEncryptionKeysRequest) ProtoReflect() protoreflect.Message { 2822 mi := &file_communities_proto_msgTypes[33] 2823 if protoimpl.UnsafeEnabled && x != nil { 2824 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2825 if ms.LoadMessageInfo() == nil { 2826 ms.StoreMessageInfo(mi) 2827 } 2828 return ms 2829 } 2830 return mi.MessageOf(x) 2831 } 2832 2833 // Deprecated: Use CommunityEncryptionKeysRequest.ProtoReflect.Descriptor instead. 2834 func (*CommunityEncryptionKeysRequest) Descriptor() ([]byte, []int) { 2835 return file_communities_proto_rawDescGZIP(), []int{33} 2836 } 2837 2838 func (x *CommunityEncryptionKeysRequest) GetCommunityId() []byte { 2839 if x != nil { 2840 return x.CommunityId 2841 } 2842 return nil 2843 } 2844 2845 func (x *CommunityEncryptionKeysRequest) GetChatIds() []string { 2846 if x != nil { 2847 return x.ChatIds 2848 } 2849 return nil 2850 } 2851 2852 type CommunitySharedAddressesRequest struct { 2853 state protoimpl.MessageState 2854 sizeCache protoimpl.SizeCache 2855 unknownFields protoimpl.UnknownFields 2856 2857 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2858 } 2859 2860 func (x *CommunitySharedAddressesRequest) Reset() { 2861 *x = CommunitySharedAddressesRequest{} 2862 if protoimpl.UnsafeEnabled { 2863 mi := &file_communities_proto_msgTypes[34] 2864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2865 ms.StoreMessageInfo(mi) 2866 } 2867 } 2868 2869 func (x *CommunitySharedAddressesRequest) String() string { 2870 return protoimpl.X.MessageStringOf(x) 2871 } 2872 2873 func (*CommunitySharedAddressesRequest) ProtoMessage() {} 2874 2875 func (x *CommunitySharedAddressesRequest) ProtoReflect() protoreflect.Message { 2876 mi := &file_communities_proto_msgTypes[34] 2877 if protoimpl.UnsafeEnabled && x != nil { 2878 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2879 if ms.LoadMessageInfo() == nil { 2880 ms.StoreMessageInfo(mi) 2881 } 2882 return ms 2883 } 2884 return mi.MessageOf(x) 2885 } 2886 2887 // Deprecated: Use CommunitySharedAddressesRequest.ProtoReflect.Descriptor instead. 2888 func (*CommunitySharedAddressesRequest) Descriptor() ([]byte, []int) { 2889 return file_communities_proto_rawDescGZIP(), []int{34} 2890 } 2891 2892 func (x *CommunitySharedAddressesRequest) GetCommunityId() []byte { 2893 if x != nil { 2894 return x.CommunityId 2895 } 2896 return nil 2897 } 2898 2899 type CommunitySharedAddressesResponse struct { 2900 state protoimpl.MessageState 2901 sizeCache protoimpl.SizeCache 2902 unknownFields protoimpl.UnknownFields 2903 2904 CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 2905 RevealedAccounts []*RevealedAccount `protobuf:"bytes,3,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` 2906 } 2907 2908 func (x *CommunitySharedAddressesResponse) Reset() { 2909 *x = CommunitySharedAddressesResponse{} 2910 if protoimpl.UnsafeEnabled { 2911 mi := &file_communities_proto_msgTypes[35] 2912 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2913 ms.StoreMessageInfo(mi) 2914 } 2915 } 2916 2917 func (x *CommunitySharedAddressesResponse) String() string { 2918 return protoimpl.X.MessageStringOf(x) 2919 } 2920 2921 func (*CommunitySharedAddressesResponse) ProtoMessage() {} 2922 2923 func (x *CommunitySharedAddressesResponse) ProtoReflect() protoreflect.Message { 2924 mi := &file_communities_proto_msgTypes[35] 2925 if protoimpl.UnsafeEnabled && x != nil { 2926 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2927 if ms.LoadMessageInfo() == nil { 2928 ms.StoreMessageInfo(mi) 2929 } 2930 return ms 2931 } 2932 return mi.MessageOf(x) 2933 } 2934 2935 // Deprecated: Use CommunitySharedAddressesResponse.ProtoReflect.Descriptor instead. 2936 func (*CommunitySharedAddressesResponse) Descriptor() ([]byte, []int) { 2937 return file_communities_proto_rawDescGZIP(), []int{35} 2938 } 2939 2940 func (x *CommunitySharedAddressesResponse) GetCommunityId() []byte { 2941 if x != nil { 2942 return x.CommunityId 2943 } 2944 return nil 2945 } 2946 2947 func (x *CommunitySharedAddressesResponse) GetRevealedAccounts() []*RevealedAccount { 2948 if x != nil { 2949 return x.RevealedAccounts 2950 } 2951 return nil 2952 } 2953 2954 var File_communities_proto protoreflect.FileDescriptor 2955 2956 var file_communities_proto_rawDesc = []byte{ 2957 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 2958 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x13, 0x63, 2959 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 2960 0x74, 0x6f, 0x1a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 2961 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 2962 0x05, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 2963 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 2964 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 2965 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 2966 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 2967 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 2968 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 2969 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 2970 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x22, 2971 0xd1, 0x03, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 2972 0x62, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 2973 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 2974 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x52, 0x6f, 2975 0x6c, 0x65, 0x73, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x72, 0x65, 2976 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 2977 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 2978 0x2e, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 2979 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 2980 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 2981 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 2982 0x04, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x6f, 2983 0x63, 0x6b, 0x12, 0x48, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x72, 0x6f, 2984 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 2985 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 2986 0x62, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6c, 0x65, 0x52, 2987 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x83, 0x01, 0x0a, 2988 0x05, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4e, 2989 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 2990 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 2991 0x4d, 0x49, 0x4e, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 2992 0x4b, 0x45, 0x4e, 0x5f, 0x4d, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x05, 0x22, 0x04, 0x08, 0x02, 2993 0x10, 0x02, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x2a, 0x11, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 2994 0x41, 0x4e, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x53, 0x2a, 0x15, 0x52, 0x4f, 0x4c, 2995 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 2996 0x4e, 0x54, 0x22, 0x3f, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6c, 2997 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x52, 0x4f, 0x4c, 2998 0x45, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 2999 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x45, 3000 0x52, 0x10, 0x01, 0x22, 0x9c, 0x03, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3001 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x66, 3002 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 3003 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 3004 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 3005 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 3006 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 3007 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 3008 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 3009 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 3010 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 3011 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3a, 3012 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 3013 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 3014 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 3015 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 3016 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 3017 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 3018 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 3019 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 3020 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 3021 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x44, 0x0a, 0x16, 3022 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 3023 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 3024 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 3025 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 3026 0x38, 0x01, 0x22, 0xfb, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3027 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x63, 3028 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 3029 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 3030 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 3031 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 3032 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 3033 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3034 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 3035 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 3036 0x65, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x51, 0x0a, 3037 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 3038 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 3039 0x50, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x49, 0x52, 0x44, 0x52, 0x4f, 0x50, 0x10, 3040 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x55, 0x52, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x52, 3041 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x03, 3042 0x22, 0xe5, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 3043 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 3044 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x73, 3045 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 3046 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x3d, 3047 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 3048 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 3049 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x41, 3050 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x59, 0x0a, 3051 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 3052 0x57, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 3053 0x55, 0x54, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x0f, 3054 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 3055 0x02, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x5f, 3056 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x03, 0x22, 0xaa, 0x03, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 3057 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x5d, 0x0a, 0x12, 0x63, 0x6f, 3058 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 3059 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3060 0x66, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x2e, 3061 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 3062 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 3063 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 3064 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 3065 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 3066 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 3067 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 3068 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 3069 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 3070 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 3071 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x73, 3072 0x18, 0x06, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x73, 3073 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 3074 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x73, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 3075 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x08, 0x20, 3076 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x20, 0x0a, 3077 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x57, 0x65, 0x69, 0x18, 0x09, 0x20, 0x01, 3078 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x57, 0x65, 0x69, 0x1a, 3079 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 3080 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 3081 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 3082 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 3083 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x93, 0x03, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 3084 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 3085 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 3086 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 3087 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 3088 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 3089 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 3090 0x3e, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 3091 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 3092 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 3093 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 3094 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 3095 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 3096 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 3097 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x04, 0x54, 0x79, 3098 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x4f, 3099 0x4b, 0x45, 0x4e, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 3100 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 3101 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 3102 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x41, 0x4e, 0x5f, 0x56, 0x49, 0x45, 3103 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x43, 3104 0x41, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x50, 0x4f, 0x53, 0x54, 3105 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x45, 3106 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4d, 0x41, 0x53, 0x54, 0x45, 3107 0x52, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 3108 0x4b, 0x45, 0x4e, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x22, 0x8d, 0x0d, 0x0a, 0x14, 3109 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 3110 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 3111 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x45, 0x0a, 0x07, 0x6d, 0x65, 3112 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 3113 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3114 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 3115 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 3116 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 3117 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3118 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 3119 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 3120 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 3121 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3122 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 3123 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x74, 0x73, 3124 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3125 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 3126 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 3127 0x79, 0x52, 0x05, 0x63, 0x68, 0x61, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x08, 0x62, 0x61, 0x6e, 0x5f, 3128 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 3129 0x62, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 3130 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 3131 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3132 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x65, 3133 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 3134 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x72, 0x63, 0x68, 0x69, 3135 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x6c, 3136 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x61, 0x72, 0x63, 0x68, 0x69, 3137 0x76, 0x65, 0x4d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x6c, 0x6f, 0x63, 3138 0x6b, 0x12, 0x47, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 3139 0x6e, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 3140 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x41, 0x64, 3141 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x0d, 0x61, 0x64, 0x6d, 3142 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 3143 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 3144 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 3145 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 3146 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x72, 0x6f, 0x4d, 0x65, 0x73, 3147 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 3148 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x6e, 0x63, 3149 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 3150 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x61, 0x0a, 0x11, 0x74, 0x6f, 3151 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 3152 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3153 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 3154 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 3155 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x74, 0x6f, 0x6b, 3156 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5c, 0x0a, 3157 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 3158 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 3159 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 3160 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 3161 0x74, 0x61, 0x52, 0x17, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 3162 0x65, 0x6e, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x14, 0x61, 3163 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 3164 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 3165 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 3166 0x02, 0x49, 0x44, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x58, 0x0a, 3167 0x0e, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 3168 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3169 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 3170 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 3171 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 3172 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x65, 0x6e, 3173 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 3174 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x41, 0x63, 3175 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x51, 0x0a, 0x0b, 0x70, 3176 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x18, 0x64, 0x20, 0x03, 0x28, 0x0b, 3177 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 3178 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 3179 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 3180 0x79, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x55, 3181 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 3182 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 3183 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 3184 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 3185 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 3186 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x51, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x74, 0x73, 0x45, 0x6e, 3187 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 3188 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 3189 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 3190 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x05, 0x76, 3191 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 3192 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 3193 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 3194 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 3195 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3196 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 3197 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x67, 0x0a, 0x15, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 3198 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 3199 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 3200 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 3201 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 3202 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 3203 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5c, 0x0a, 3204 0x12, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 3205 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 3206 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 3207 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 3208 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 3209 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x50, 3210 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 3211 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 3212 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 3213 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x42, 0x0a, 0x10, 0x43, 3214 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 3215 0x2e, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 3216 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x65, 3217 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 3218 0x5e, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x41, 0x64, 0x6d, 0x69, 3219 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x70, 0x69, 0x6e, 3220 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 3221 0x62, 0x65, 0x72, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 3222 0x28, 0x08, 0x52, 0x1b, 0x70, 0x69, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x6c, 3223 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 3224 0x97, 0x04, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 3225 0x74, 0x12, 0x3e, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 3226 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 3227 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 3228 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 3229 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 3230 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3231 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 3232 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 3233 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 3234 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3235 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 3236 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 3237 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 3238 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 3239 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 3240 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x1a, 0x76, 0x69, 0x65, 0x77, 0x65, 0x72, 0x73, 0x5f, 3241 0x63, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 3242 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x76, 0x69, 0x65, 0x77, 0x65, 0x72, 3243 0x73, 0x43, 0x61, 0x6e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 3244 0x73, 0x12, 0x3c, 0x0a, 0x1b, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x70, 0x65, 0x72, 3245 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x74, 3246 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x68, 0x69, 0x64, 0x65, 0x49, 0x66, 0x50, 0x65, 3247 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x4e, 0x6f, 0x74, 0x4d, 0x65, 0x74, 0x12, 3248 0x41, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 3249 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3250 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x6f, 0x6d, 0x46, 3251 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x4c, 0x69, 3252 0x73, 0x74, 0x1a, 0x55, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 3253 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3254 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 3255 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 3256 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x05, 3257 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 3258 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x74, 0x65, 3259 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 3260 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0c, 0x0a, 0x01, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 3261 0x52, 0x01, 0x6d, 0x12, 0x0c, 0x0a, 0x01, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x01, 3262 0x6b, 0x22, 0x64, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x61, 3263 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 3264 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 3265 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 3266 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 3267 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 3268 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x92, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x76, 0x65, 3269 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 3270 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 3271 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 3272 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 3273 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x73, 3274 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x73, 3275 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x41, 0x64, 0x64, 3276 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x41, 0x69, 3277 0x72, 0x64, 0x72, 0x6f, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa1, 0x02, 0x0a, 3278 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3279 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 3280 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 3281 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 3282 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 3283 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 3284 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 3285 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 3286 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 3287 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 3288 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 3289 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 3290 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 3291 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x72, 3292 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 3293 0x2f, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 3294 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x75, 3295 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 3296 0x22, 0x9f, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x64, 3297 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 3298 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 3299 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 3300 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 3301 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 3302 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 3303 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 3304 0x2e, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 3305 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 3306 0x74, 0x73, 0x22, 0xdf, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3307 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 3308 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 3309 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 3310 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 3311 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 3312 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 3313 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 3314 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 3315 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 3316 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 3317 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 3318 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 3319 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 3320 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x4e, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3321 0x79, 0x55, 0x73, 0x65, 0x72, 0x4b, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 3322 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 3323 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 3324 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 3325 0x74, 0x79, 0x49, 0x64, 0x22, 0xce, 0x02, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 3326 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 3327 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 3328 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 3329 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3330 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 3331 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 3332 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 3333 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 3334 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 3335 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 3336 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 3337 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 3338 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 3339 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x55, 0x72, 0x69, 0x12, 3340 0x3d, 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, 3341 0x69, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 3342 0x20, 0x01, 0x28, 0x0c, 0x52, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x54, 3343 0x6f, 0x70, 0x69, 0x63, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x25, 3344 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 3345 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 3346 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x52, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 3347 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4c, 0x65, 0x61, 0x76, 0x65, 3348 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 3349 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 3350 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 3351 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x21, 0x43, 0x6f, 0x6d, 3352 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 3353 0x68, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x14, 3354 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 3355 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x5f, 0x75, 3356 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 3357 0x55, 0x72, 0x69, 0x22, 0xbf, 0x01, 0x0a, 0x0b, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 3358 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 3359 0x52, 0x03, 0x73, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 3360 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 3361 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 3362 0x28, 0x0c, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 3363 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 3364 0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 3365 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 3366 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 3367 0x68, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x49, 3368 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 3369 0x72, 0x74, 0x79, 0x49, 0x64, 0x22, 0x7e, 0x0a, 0x1a, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 3370 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 3371 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 3372 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 3373 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x66, 0x72, 0x6f, 3374 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x74, 3375 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 3376 0x63, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 3377 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 3378 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 3379 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 3380 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 3381 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 3382 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 3383 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 3384 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 3385 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 3386 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 3387 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x1f, 3388 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 3389 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 3390 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 3391 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 3392 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 3393 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 3394 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 3395 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 3396 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 3397 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 3398 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 3399 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 3400 0x67, 0x22, 0xce, 0x01, 0x0a, 0x17, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 3401 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x4b, 0x0a, 3402 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 3403 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 3404 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 3405 0x65, 0x78, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 3406 0x52, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x0d, 0x41, 0x72, 3407 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 3408 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 3409 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 3410 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 3411 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 3412 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 3413 0x38, 0x01, 0x22, 0x57, 0x0a, 0x1d, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 3414 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x49, 3415 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 3416 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 3417 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 3418 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9e, 0x01, 0x0a, 0x13, 3419 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 3420 0x64, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 3421 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 3422 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 3423 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x0a, 3424 0x73, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 3425 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x6f, 0x72, 3426 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 3427 0x73, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 3428 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0xe8, 0x01, 0x0a, 3429 0x09, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 3430 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 3431 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 3432 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 3433 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 3434 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 3435 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 3436 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 3437 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 3438 0x6c, 0x65, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 3439 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 3440 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 3441 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 3442 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 3443 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x4a, 0x0a, 0x25, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 3444 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x50, 0x65, 3445 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3446 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 3447 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3448 0x79, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 3449 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 3450 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3451 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 3452 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0xb9, 0x01, 0x0a, 3453 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3454 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x14, 3455 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 3456 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3457 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 3458 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 3459 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 3460 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 3461 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 3462 0x66, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3463 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 3464 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0xd6, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 3465 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 3466 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 3467 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 3468 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 3469 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3470 0x49, 0x64, 0x12, 0x42, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 3471 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 3472 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 3473 0x6e, 0x74, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 3474 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 3475 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 3476 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 3477 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 3478 0x01, 0x22, 0x5e, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x6e, 3479 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 3480 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 3481 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 3482 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 3483 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 3484 0x73, 0x22, 0x44, 0x0a, 0x1f, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x53, 0x68, 3485 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 3486 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 3487 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 3488 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x20, 0x43, 0x6f, 0x6d, 0x6d, 3489 0x75, 0x6e, 0x69, 0x74, 0x79, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 3490 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 3491 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 3492 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 3493 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 3494 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 3495 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 3496 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 3497 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 3498 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 3499 } 3500 3501 var ( 3502 file_communities_proto_rawDescOnce sync.Once 3503 file_communities_proto_rawDescData = file_communities_proto_rawDesc 3504 ) 3505 3506 func file_communities_proto_rawDescGZIP() []byte { 3507 file_communities_proto_rawDescOnce.Do(func() { 3508 file_communities_proto_rawDescData = protoimpl.X.CompressGZIP(file_communities_proto_rawDescData) 3509 }) 3510 return file_communities_proto_rawDescData 3511 } 3512 3513 var file_communities_proto_enumTypes = make([]protoimpl.EnumInfo, 5) 3514 var file_communities_proto_msgTypes = make([]protoimpl.MessageInfo, 47) 3515 var file_communities_proto_goTypes = []interface{}{ 3516 (CommunityMember_Roles)(0), // 0: protobuf.CommunityMember.Roles 3517 (CommunityMember_ChannelRole)(0), // 1: protobuf.CommunityMember.ChannelRole 3518 (CommunityTokenAction_ActionType)(0), // 2: protobuf.CommunityTokenAction.ActionType 3519 (CommunityPermissions_Access)(0), // 3: protobuf.CommunityPermissions.Access 3520 (CommunityTokenPermission_Type)(0), // 4: protobuf.CommunityTokenPermission.Type 3521 (*Grant)(nil), // 5: protobuf.Grant 3522 (*CommunityMember)(nil), // 6: protobuf.CommunityMember 3523 (*CommunityTokenMetadata)(nil), // 7: protobuf.CommunityTokenMetadata 3524 (*CommunityTokenAction)(nil), // 8: protobuf.CommunityTokenAction 3525 (*CommunityPermissions)(nil), // 9: protobuf.CommunityPermissions 3526 (*TokenCriteria)(nil), // 10: protobuf.TokenCriteria 3527 (*CommunityTokenPermission)(nil), // 11: protobuf.CommunityTokenPermission 3528 (*CommunityDescription)(nil), // 12: protobuf.CommunityDescription 3529 (*CommunityBanInfo)(nil), // 13: protobuf.CommunityBanInfo 3530 (*CommunityAdminSettings)(nil), // 14: protobuf.CommunityAdminSettings 3531 (*CommunityChat)(nil), // 15: protobuf.CommunityChat 3532 (*CommunityBloomFilter)(nil), // 16: protobuf.CommunityBloomFilter 3533 (*CommunityCategory)(nil), // 17: protobuf.CommunityCategory 3534 (*RevealedAccount)(nil), // 18: protobuf.RevealedAccount 3535 (*CommunityRequestToJoin)(nil), // 19: protobuf.CommunityRequestToJoin 3536 (*CommunityEditSharedAddresses)(nil), // 20: protobuf.CommunityEditSharedAddresses 3537 (*CommunityCancelRequestToJoin)(nil), // 21: protobuf.CommunityCancelRequestToJoin 3538 (*CommunityUserKicked)(nil), // 22: protobuf.CommunityUserKicked 3539 (*CommunityRequestToJoinResponse)(nil), // 23: protobuf.CommunityRequestToJoinResponse 3540 (*CommunityRequestToLeave)(nil), // 24: protobuf.CommunityRequestToLeave 3541 (*CommunityMessageArchiveMagnetlink)(nil), // 25: protobuf.CommunityMessageArchiveMagnetlink 3542 (*WakuMessage)(nil), // 26: protobuf.WakuMessage 3543 (*WakuMessageArchiveMetadata)(nil), // 27: protobuf.WakuMessageArchiveMetadata 3544 (*WakuMessageArchive)(nil), // 28: protobuf.WakuMessageArchive 3545 (*WakuMessageArchiveIndexMetadata)(nil), // 29: protobuf.WakuMessageArchiveIndexMetadata 3546 (*WakuMessageArchiveIndex)(nil), // 30: protobuf.WakuMessageArchiveIndex 3547 (*CommunityPublicStorenodesInfo)(nil), // 31: protobuf.CommunityPublicStorenodesInfo 3548 (*CommunityStorenodes)(nil), // 32: protobuf.CommunityStorenodes 3549 (*Storenode)(nil), // 33: protobuf.Storenode 3550 (*CommunityReevaluatePermissionsRequest)(nil), // 34: protobuf.CommunityReevaluatePermissionsRequest 3551 (*DeleteCommunityMemberMessage)(nil), // 35: protobuf.DeleteCommunityMemberMessage 3552 (*DeleteCommunityMemberMessages)(nil), // 36: protobuf.DeleteCommunityMemberMessages 3553 (*CommunityUpdateGrant)(nil), // 37: protobuf.CommunityUpdateGrant 3554 (*CommunityEncryptionKeysRequest)(nil), // 38: protobuf.CommunityEncryptionKeysRequest 3555 (*CommunitySharedAddressesRequest)(nil), // 39: protobuf.CommunitySharedAddressesRequest 3556 (*CommunitySharedAddressesResponse)(nil), // 40: protobuf.CommunitySharedAddressesResponse 3557 nil, // 41: protobuf.CommunityTokenMetadata.ContractAddressesEntry 3558 nil, // 42: protobuf.TokenCriteria.ContractAddressesEntry 3559 nil, // 43: protobuf.CommunityDescription.MembersEntry 3560 nil, // 44: protobuf.CommunityDescription.ChatsEntry 3561 nil, // 45: protobuf.CommunityDescription.CategoriesEntry 3562 nil, // 46: protobuf.CommunityDescription.TokenPermissionsEntry 3563 nil, // 47: protobuf.CommunityDescription.BannedMembersEntry 3564 nil, // 48: protobuf.CommunityDescription.PrivateDataEntry 3565 nil, // 49: protobuf.CommunityChat.MembersEntry 3566 nil, // 50: protobuf.WakuMessageArchiveIndex.ArchivesEntry 3567 nil, // 51: protobuf.CommunityUpdateGrant.GrantsEntry 3568 (CommunityTokenType)(0), // 52: protobuf.CommunityTokenType 3569 (*ChatIdentity)(nil), // 53: protobuf.ChatIdentity 3570 (*Shard)(nil), // 54: protobuf.Shard 3571 } 3572 var file_communities_proto_depIdxs = []int32{ 3573 0, // 0: protobuf.CommunityMember.roles:type_name -> protobuf.CommunityMember.Roles 3574 18, // 1: protobuf.CommunityMember.revealed_accounts:type_name -> protobuf.RevealedAccount 3575 1, // 2: protobuf.CommunityMember.channel_role:type_name -> protobuf.CommunityMember.ChannelRole 3576 41, // 3: protobuf.CommunityTokenMetadata.contract_addresses:type_name -> protobuf.CommunityTokenMetadata.ContractAddressesEntry 3577 52, // 4: protobuf.CommunityTokenMetadata.tokenType:type_name -> protobuf.CommunityTokenType 3578 2, // 5: protobuf.CommunityTokenAction.action_type:type_name -> protobuf.CommunityTokenAction.ActionType 3579 3, // 6: protobuf.CommunityPermissions.access:type_name -> protobuf.CommunityPermissions.Access 3580 42, // 7: protobuf.TokenCriteria.contract_addresses:type_name -> protobuf.TokenCriteria.ContractAddressesEntry 3581 52, // 8: protobuf.TokenCriteria.type:type_name -> protobuf.CommunityTokenType 3582 4, // 9: protobuf.CommunityTokenPermission.type:type_name -> protobuf.CommunityTokenPermission.Type 3583 10, // 10: protobuf.CommunityTokenPermission.token_criteria:type_name -> protobuf.TokenCriteria 3584 43, // 11: protobuf.CommunityDescription.members:type_name -> protobuf.CommunityDescription.MembersEntry 3585 9, // 12: protobuf.CommunityDescription.permissions:type_name -> protobuf.CommunityPermissions 3586 53, // 13: protobuf.CommunityDescription.identity:type_name -> protobuf.ChatIdentity 3587 44, // 14: protobuf.CommunityDescription.chats:type_name -> protobuf.CommunityDescription.ChatsEntry 3588 45, // 15: protobuf.CommunityDescription.categories:type_name -> protobuf.CommunityDescription.CategoriesEntry 3589 14, // 16: protobuf.CommunityDescription.admin_settings:type_name -> protobuf.CommunityAdminSettings 3590 46, // 17: protobuf.CommunityDescription.token_permissions:type_name -> protobuf.CommunityDescription.TokenPermissionsEntry 3591 7, // 18: protobuf.CommunityDescription.community_tokens_metadata:type_name -> protobuf.CommunityTokenMetadata 3592 47, // 19: protobuf.CommunityDescription.banned_members:type_name -> protobuf.CommunityDescription.BannedMembersEntry 3593 48, // 20: protobuf.CommunityDescription.privateData:type_name -> protobuf.CommunityDescription.PrivateDataEntry 3594 49, // 21: protobuf.CommunityChat.members:type_name -> protobuf.CommunityChat.MembersEntry 3595 9, // 22: protobuf.CommunityChat.permissions:type_name -> protobuf.CommunityPermissions 3596 53, // 23: protobuf.CommunityChat.identity:type_name -> protobuf.ChatIdentity 3597 16, // 24: protobuf.CommunityChat.members_list:type_name -> protobuf.CommunityBloomFilter 3598 18, // 25: protobuf.CommunityRequestToJoin.revealed_accounts:type_name -> protobuf.RevealedAccount 3599 18, // 26: protobuf.CommunityEditSharedAddresses.revealed_accounts:type_name -> protobuf.RevealedAccount 3600 12, // 27: protobuf.CommunityRequestToJoinResponse.community:type_name -> protobuf.CommunityDescription 3601 54, // 28: protobuf.CommunityRequestToJoinResponse.shard:type_name -> protobuf.Shard 3602 27, // 29: protobuf.WakuMessageArchive.metadata:type_name -> protobuf.WakuMessageArchiveMetadata 3603 26, // 30: protobuf.WakuMessageArchive.messages:type_name -> protobuf.WakuMessage 3604 27, // 31: protobuf.WakuMessageArchiveIndexMetadata.metadata:type_name -> protobuf.WakuMessageArchiveMetadata 3605 50, // 32: protobuf.WakuMessageArchiveIndex.archives:type_name -> protobuf.WakuMessageArchiveIndex.ArchivesEntry 3606 33, // 33: protobuf.CommunityStorenodes.storenodes:type_name -> protobuf.Storenode 3607 35, // 34: protobuf.DeleteCommunityMemberMessages.messages:type_name -> protobuf.DeleteCommunityMemberMessage 3608 51, // 35: protobuf.CommunityUpdateGrant.grants:type_name -> protobuf.CommunityUpdateGrant.GrantsEntry 3609 18, // 36: protobuf.CommunitySharedAddressesResponse.revealed_accounts:type_name -> protobuf.RevealedAccount 3610 6, // 37: protobuf.CommunityDescription.MembersEntry.value:type_name -> protobuf.CommunityMember 3611 15, // 38: protobuf.CommunityDescription.ChatsEntry.value:type_name -> protobuf.CommunityChat 3612 17, // 39: protobuf.CommunityDescription.CategoriesEntry.value:type_name -> protobuf.CommunityCategory 3613 11, // 40: protobuf.CommunityDescription.TokenPermissionsEntry.value:type_name -> protobuf.CommunityTokenPermission 3614 13, // 41: protobuf.CommunityDescription.BannedMembersEntry.value:type_name -> protobuf.CommunityBanInfo 3615 6, // 42: protobuf.CommunityChat.MembersEntry.value:type_name -> protobuf.CommunityMember 3616 29, // 43: protobuf.WakuMessageArchiveIndex.ArchivesEntry.value:type_name -> protobuf.WakuMessageArchiveIndexMetadata 3617 44, // [44:44] is the sub-list for method output_type 3618 44, // [44:44] is the sub-list for method input_type 3619 44, // [44:44] is the sub-list for extension type_name 3620 44, // [44:44] is the sub-list for extension extendee 3621 0, // [0:44] is the sub-list for field type_name 3622 } 3623 3624 func init() { file_communities_proto_init() } 3625 func file_communities_proto_init() { 3626 if File_communities_proto != nil { 3627 return 3628 } 3629 file_chat_identity_proto_init() 3630 file_enums_proto_init() 3631 file_shard_proto_init() 3632 if !protoimpl.UnsafeEnabled { 3633 file_communities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 3634 switch v := v.(*Grant); i { 3635 case 0: 3636 return &v.state 3637 case 1: 3638 return &v.sizeCache 3639 case 2: 3640 return &v.unknownFields 3641 default: 3642 return nil 3643 } 3644 } 3645 file_communities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 3646 switch v := v.(*CommunityMember); i { 3647 case 0: 3648 return &v.state 3649 case 1: 3650 return &v.sizeCache 3651 case 2: 3652 return &v.unknownFields 3653 default: 3654 return nil 3655 } 3656 } 3657 file_communities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 3658 switch v := v.(*CommunityTokenMetadata); i { 3659 case 0: 3660 return &v.state 3661 case 1: 3662 return &v.sizeCache 3663 case 2: 3664 return &v.unknownFields 3665 default: 3666 return nil 3667 } 3668 } 3669 file_communities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 3670 switch v := v.(*CommunityTokenAction); i { 3671 case 0: 3672 return &v.state 3673 case 1: 3674 return &v.sizeCache 3675 case 2: 3676 return &v.unknownFields 3677 default: 3678 return nil 3679 } 3680 } 3681 file_communities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 3682 switch v := v.(*CommunityPermissions); i { 3683 case 0: 3684 return &v.state 3685 case 1: 3686 return &v.sizeCache 3687 case 2: 3688 return &v.unknownFields 3689 default: 3690 return nil 3691 } 3692 } 3693 file_communities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 3694 switch v := v.(*TokenCriteria); i { 3695 case 0: 3696 return &v.state 3697 case 1: 3698 return &v.sizeCache 3699 case 2: 3700 return &v.unknownFields 3701 default: 3702 return nil 3703 } 3704 } 3705 file_communities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 3706 switch v := v.(*CommunityTokenPermission); i { 3707 case 0: 3708 return &v.state 3709 case 1: 3710 return &v.sizeCache 3711 case 2: 3712 return &v.unknownFields 3713 default: 3714 return nil 3715 } 3716 } 3717 file_communities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 3718 switch v := v.(*CommunityDescription); i { 3719 case 0: 3720 return &v.state 3721 case 1: 3722 return &v.sizeCache 3723 case 2: 3724 return &v.unknownFields 3725 default: 3726 return nil 3727 } 3728 } 3729 file_communities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3730 switch v := v.(*CommunityBanInfo); i { 3731 case 0: 3732 return &v.state 3733 case 1: 3734 return &v.sizeCache 3735 case 2: 3736 return &v.unknownFields 3737 default: 3738 return nil 3739 } 3740 } 3741 file_communities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3742 switch v := v.(*CommunityAdminSettings); i { 3743 case 0: 3744 return &v.state 3745 case 1: 3746 return &v.sizeCache 3747 case 2: 3748 return &v.unknownFields 3749 default: 3750 return nil 3751 } 3752 } 3753 file_communities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3754 switch v := v.(*CommunityChat); i { 3755 case 0: 3756 return &v.state 3757 case 1: 3758 return &v.sizeCache 3759 case 2: 3760 return &v.unknownFields 3761 default: 3762 return nil 3763 } 3764 } 3765 file_communities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3766 switch v := v.(*CommunityBloomFilter); i { 3767 case 0: 3768 return &v.state 3769 case 1: 3770 return &v.sizeCache 3771 case 2: 3772 return &v.unknownFields 3773 default: 3774 return nil 3775 } 3776 } 3777 file_communities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3778 switch v := v.(*CommunityCategory); i { 3779 case 0: 3780 return &v.state 3781 case 1: 3782 return &v.sizeCache 3783 case 2: 3784 return &v.unknownFields 3785 default: 3786 return nil 3787 } 3788 } 3789 file_communities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3790 switch v := v.(*RevealedAccount); i { 3791 case 0: 3792 return &v.state 3793 case 1: 3794 return &v.sizeCache 3795 case 2: 3796 return &v.unknownFields 3797 default: 3798 return nil 3799 } 3800 } 3801 file_communities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3802 switch v := v.(*CommunityRequestToJoin); i { 3803 case 0: 3804 return &v.state 3805 case 1: 3806 return &v.sizeCache 3807 case 2: 3808 return &v.unknownFields 3809 default: 3810 return nil 3811 } 3812 } 3813 file_communities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3814 switch v := v.(*CommunityEditSharedAddresses); i { 3815 case 0: 3816 return &v.state 3817 case 1: 3818 return &v.sizeCache 3819 case 2: 3820 return &v.unknownFields 3821 default: 3822 return nil 3823 } 3824 } 3825 file_communities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3826 switch v := v.(*CommunityCancelRequestToJoin); i { 3827 case 0: 3828 return &v.state 3829 case 1: 3830 return &v.sizeCache 3831 case 2: 3832 return &v.unknownFields 3833 default: 3834 return nil 3835 } 3836 } 3837 file_communities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3838 switch v := v.(*CommunityUserKicked); i { 3839 case 0: 3840 return &v.state 3841 case 1: 3842 return &v.sizeCache 3843 case 2: 3844 return &v.unknownFields 3845 default: 3846 return nil 3847 } 3848 } 3849 file_communities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 3850 switch v := v.(*CommunityRequestToJoinResponse); i { 3851 case 0: 3852 return &v.state 3853 case 1: 3854 return &v.sizeCache 3855 case 2: 3856 return &v.unknownFields 3857 default: 3858 return nil 3859 } 3860 } 3861 file_communities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 3862 switch v := v.(*CommunityRequestToLeave); i { 3863 case 0: 3864 return &v.state 3865 case 1: 3866 return &v.sizeCache 3867 case 2: 3868 return &v.unknownFields 3869 default: 3870 return nil 3871 } 3872 } 3873 file_communities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 3874 switch v := v.(*CommunityMessageArchiveMagnetlink); i { 3875 case 0: 3876 return &v.state 3877 case 1: 3878 return &v.sizeCache 3879 case 2: 3880 return &v.unknownFields 3881 default: 3882 return nil 3883 } 3884 } 3885 file_communities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 3886 switch v := v.(*WakuMessage); i { 3887 case 0: 3888 return &v.state 3889 case 1: 3890 return &v.sizeCache 3891 case 2: 3892 return &v.unknownFields 3893 default: 3894 return nil 3895 } 3896 } 3897 file_communities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 3898 switch v := v.(*WakuMessageArchiveMetadata); i { 3899 case 0: 3900 return &v.state 3901 case 1: 3902 return &v.sizeCache 3903 case 2: 3904 return &v.unknownFields 3905 default: 3906 return nil 3907 } 3908 } 3909 file_communities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 3910 switch v := v.(*WakuMessageArchive); i { 3911 case 0: 3912 return &v.state 3913 case 1: 3914 return &v.sizeCache 3915 case 2: 3916 return &v.unknownFields 3917 default: 3918 return nil 3919 } 3920 } 3921 file_communities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 3922 switch v := v.(*WakuMessageArchiveIndexMetadata); i { 3923 case 0: 3924 return &v.state 3925 case 1: 3926 return &v.sizeCache 3927 case 2: 3928 return &v.unknownFields 3929 default: 3930 return nil 3931 } 3932 } 3933 file_communities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 3934 switch v := v.(*WakuMessageArchiveIndex); i { 3935 case 0: 3936 return &v.state 3937 case 1: 3938 return &v.sizeCache 3939 case 2: 3940 return &v.unknownFields 3941 default: 3942 return nil 3943 } 3944 } 3945 file_communities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 3946 switch v := v.(*CommunityPublicStorenodesInfo); i { 3947 case 0: 3948 return &v.state 3949 case 1: 3950 return &v.sizeCache 3951 case 2: 3952 return &v.unknownFields 3953 default: 3954 return nil 3955 } 3956 } 3957 file_communities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 3958 switch v := v.(*CommunityStorenodes); i { 3959 case 0: 3960 return &v.state 3961 case 1: 3962 return &v.sizeCache 3963 case 2: 3964 return &v.unknownFields 3965 default: 3966 return nil 3967 } 3968 } 3969 file_communities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 3970 switch v := v.(*Storenode); i { 3971 case 0: 3972 return &v.state 3973 case 1: 3974 return &v.sizeCache 3975 case 2: 3976 return &v.unknownFields 3977 default: 3978 return nil 3979 } 3980 } 3981 file_communities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 3982 switch v := v.(*CommunityReevaluatePermissionsRequest); i { 3983 case 0: 3984 return &v.state 3985 case 1: 3986 return &v.sizeCache 3987 case 2: 3988 return &v.unknownFields 3989 default: 3990 return nil 3991 } 3992 } 3993 file_communities_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 3994 switch v := v.(*DeleteCommunityMemberMessage); i { 3995 case 0: 3996 return &v.state 3997 case 1: 3998 return &v.sizeCache 3999 case 2: 4000 return &v.unknownFields 4001 default: 4002 return nil 4003 } 4004 } 4005 file_communities_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 4006 switch v := v.(*DeleteCommunityMemberMessages); i { 4007 case 0: 4008 return &v.state 4009 case 1: 4010 return &v.sizeCache 4011 case 2: 4012 return &v.unknownFields 4013 default: 4014 return nil 4015 } 4016 } 4017 file_communities_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { 4018 switch v := v.(*CommunityUpdateGrant); i { 4019 case 0: 4020 return &v.state 4021 case 1: 4022 return &v.sizeCache 4023 case 2: 4024 return &v.unknownFields 4025 default: 4026 return nil 4027 } 4028 } 4029 file_communities_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { 4030 switch v := v.(*CommunityEncryptionKeysRequest); i { 4031 case 0: 4032 return &v.state 4033 case 1: 4034 return &v.sizeCache 4035 case 2: 4036 return &v.unknownFields 4037 default: 4038 return nil 4039 } 4040 } 4041 file_communities_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { 4042 switch v := v.(*CommunitySharedAddressesRequest); i { 4043 case 0: 4044 return &v.state 4045 case 1: 4046 return &v.sizeCache 4047 case 2: 4048 return &v.unknownFields 4049 default: 4050 return nil 4051 } 4052 } 4053 file_communities_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { 4054 switch v := v.(*CommunitySharedAddressesResponse); i { 4055 case 0: 4056 return &v.state 4057 case 1: 4058 return &v.sizeCache 4059 case 2: 4060 return &v.unknownFields 4061 default: 4062 return nil 4063 } 4064 } 4065 } 4066 type x struct{} 4067 out := protoimpl.TypeBuilder{ 4068 File: protoimpl.DescBuilder{ 4069 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4070 RawDescriptor: file_communities_proto_rawDesc, 4071 NumEnums: 5, 4072 NumMessages: 47, 4073 NumExtensions: 0, 4074 NumServices: 0, 4075 }, 4076 GoTypes: file_communities_proto_goTypes, 4077 DependencyIndexes: file_communities_proto_depIdxs, 4078 EnumInfos: file_communities_proto_enumTypes, 4079 MessageInfos: file_communities_proto_msgTypes, 4080 }.Build() 4081 File_communities_proto = out.File 4082 file_communities_proto_rawDesc = nil 4083 file_communities_proto_goTypes = nil 4084 file_communities_proto_depIdxs = nil 4085 }