2023-08-15 15:27:01 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: community_privileged_user_sync_message.proto
|
|
|
|
|
|
|
|
package protobuf
|
|
|
|
|
|
|
|
import (
|
2023-12-04 10:18:05 +00:00
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
2023-08-15 15:27:01 +00:00
|
|
|
)
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
2023-08-15 15:27:01 +00:00
|
|
|
|
|
|
|
type CommunityPrivilegedUserSyncMessage_EventType int32
|
|
|
|
|
|
|
|
const (
|
2023-09-20 08:37:46 +00:00
|
|
|
CommunityPrivilegedUserSyncMessage_UNKNOWN CommunityPrivilegedUserSyncMessage_EventType = 0
|
|
|
|
CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 1
|
|
|
|
CommunityPrivilegedUserSyncMessage_CONTROL_NODE_REJECT_REQUEST_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 2
|
|
|
|
CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3
|
2023-08-18 11:39:59 +00:00
|
|
|
)
|
2023-08-15 15:27:01 +00:00
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN",
|
|
|
|
2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN",
|
|
|
|
3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN",
|
2023-10-22 09:41:20 +00:00
|
|
|
}
|
2023-10-29 08:04:01 +00:00
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
"CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1,
|
|
|
|
"CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2,
|
|
|
|
"CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3,
|
2023-10-29 08:04:01 +00:00
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (x CommunityPrivilegedUserSyncMessage_EventType) String() string {
|
|
|
|
return proto.EnumName(CommunityPrivilegedUserSyncMessage_EventType_name, int32(x))
|
2023-07-05 17:35:22 +00:00
|
|
|
}
|
2023-11-09 18:59:01 +00:00
|
|
|
|
|
|
|
func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) {
|
2023-12-04 10:18:05 +00:00
|
|
|
return fileDescriptor_158595055b4cfee2, []int{0, 0}
|
2023-10-25 13:03:26 +00:00
|
|
|
}
|
2023-11-09 18:59:01 +00:00
|
|
|
|
|
|
|
type CommunityPrivilegedUserSyncMessage struct {
|
2023-12-04 10:18:05 +00:00
|
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
|
|
Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"`
|
|
|
|
CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
|
|
|
|
RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) Reset() { *m = CommunityPrivilegedUserSyncMessage{} }
|
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {}
|
|
|
|
func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_158595055b4cfee2, []int{0}
|
2023-11-09 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Unmarshal(m, b)
|
2023-10-12 15:45:23 +00:00
|
|
|
}
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Marshal(b, m, deterministic)
|
2023-10-31 14:20:40 +00:00
|
|
|
}
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Merge(m, src)
|
2023-10-29 08:04:01 +00:00
|
|
|
}
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CommunityPrivilegedUserSyncMessage.DiscardUnknown(m)
|
2023-11-09 18:59:01 +00:00
|
|
|
}
|
2023-10-31 14:20:40 +00:00
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
var xxx_messageInfo_CommunityPrivilegedUserSyncMessage proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) GetClock() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Clock
|
2023-08-15 15:27:01 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
2023-08-15 15:27:01 +00:00
|
|
|
}
|
|
|
|
return CommunityPrivilegedUserSyncMessage_UNKNOWN
|
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommunityId
|
2023-08-15 15:27:01 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin {
|
|
|
|
if m != nil {
|
|
|
|
return m.RequestToJoin
|
2023-08-15 17:42:40 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func (m *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin {
|
|
|
|
if m != nil {
|
|
|
|
return m.SyncRequestsToJoin
|
2023-09-20 08:37:46 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-04 10:18:05 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("protobuf.CommunityPrivilegedUserSyncMessage_EventType", CommunityPrivilegedUserSyncMessage_EventType_name, CommunityPrivilegedUserSyncMessage_EventType_value)
|
|
|
|
proto.RegisterType((*CommunityPrivilegedUserSyncMessage)(nil), "protobuf.CommunityPrivilegedUserSyncMessage")
|
|
|
|
proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("community_privileged_user_sync_message.proto", fileDescriptor_158595055b4cfee2)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_158595055b4cfee2 = []byte{
|
|
|
|
// 407 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x5f, 0xab, 0xd3, 0x30,
|
|
|
|
0x18, 0xc6, 0xed, 0xda, 0xa9, 0x27, 0x3d, 0xd3, 0x19, 0x14, 0xca, 0xae, 0xea, 0x44, 0x2d, 0x22,
|
|
|
|
0x15, 0x26, 0x1c, 0x44, 0x2f, 0x44, 0x6b, 0x2e, 0x4e, 0x9d, 0xed, 0x31, 0xed, 0xf0, 0xcf, 0x4d,
|
|
|
|
0xd8, 0xba, 0x58, 0xe2, 0xb6, 0xa4, 0x26, 0xed, 0xa0, 0x5f, 0xc4, 0xef, 0xe8, 0xb7, 0x90, 0x35,
|
|
|
|
0x6b, 0xe7, 0x98, 0x20, 0x5e, 0xf5, 0x7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