150 lines
7.3 KiB
Go
150 lines
7.3 KiB
Go
// 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
|
|
)
|
|
|
|
var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN",
|
|
2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN",
|
|
}
|
|
|
|
var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1,
|
|
"CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2,
|
|
}
|
|
|
|
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"`
|
|
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 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{
|
|
// 356 bytes of a gzipped FileDescriptorProto
|
|
0x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