// Code generated by protoc-gen-go. DO NOT EDIT. // source: community_privileged_user_sync_message.proto package protobuf import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // 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 type CommunityPrivilegedUserSyncMessage_EventType int32 const ( 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_ADD_COMMUNITY_TOKENS CommunityPrivilegedUserSyncMessage_EventType = 3 ) var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ 0: "UNKNOWN", 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", 3: "ADD_COMMUNITY_TOKENS", } var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ "UNKNOWN": 0, "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, "ADD_COMMUNITY_TOKENS": 3, } func (x CommunityPrivilegedUserSyncMessage_EventType) String() string { return proto.EnumName(CommunityPrivilegedUserSyncMessage_EventType_name, int32(x)) } func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_158595055b4cfee2, []int{0, 0} } type CommunityPrivilegedUserSyncMessage struct { 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"` CommunityTokens []*CommunityToken `protobuf:"bytes,5,rep,name=community_tokens,json=communityTokens,proto3" json:"community_tokens,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} } func (m *CommunityPrivilegedUserSyncMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Unmarshal(m, b) } func (m *CommunityPrivilegedUserSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Marshal(b, m, deterministic) } func (m *CommunityPrivilegedUserSyncMessage) XXX_Merge(src proto.Message) { xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Merge(m, src) } func (m *CommunityPrivilegedUserSyncMessage) XXX_Size() int { return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Size(m) } func (m *CommunityPrivilegedUserSyncMessage) XXX_DiscardUnknown() { xxx_messageInfo_CommunityPrivilegedUserSyncMessage.DiscardUnknown(m) } var xxx_messageInfo_CommunityPrivilegedUserSyncMessage proto.InternalMessageInfo func (m *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { if m != nil { return m.Clock } return 0 } func (m *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { if m != nil { return m.Type } return CommunityPrivilegedUserSyncMessage_UNKNOWN } func (m *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { if m != nil { return m.CommunityId } return nil } func (m *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { if m != nil { return m.RequestToJoin } return nil } func (m *CommunityPrivilegedUserSyncMessage) GetCommunityTokens() []*CommunityToken { if m != nil { return m.CommunityTokens } return nil } 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{ // 403 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x49, 0x93, 0x02, 0x73, 0x36, 0x16, 0xac, 0x21, 0x45, 0x3d, 0x85, 0x72, 0x20, 0x07, 0x14, 0xa4, 0x22, 0x4d, 0x08, 0x0e, 0x68, 0xa4, 0x3e, 0x34, 0xa3, 0xf6, 0x70, 0x1d, 0x21, 0xb8, 0x58, 0x6b, 0x6a, 0xaa, 0xd0, 0xd6, 0x0e, 0xb1, 0x53, 0x29, 0x77, 0x3e, 0x19, 0x9f, 0x0c, 0x2d, 0x51, 0x3a, 0x46, 0x2b, 0xa1, 0x9d, 0xfc,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