// Code generated by protoc-gen-go. DO NOT EDIT. // source: events.proto package grpcapi import ( fmt "fmt" proto "github.com/golang/protobuf/proto" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Owners []string `protobuf:"bytes,4,rep,name=owners,proto3" json:"owners,omitempty"` RestrictedTo []string `protobuf:"bytes,5,rep,name=restricted_to,json=restrictedTo,proto3" json:"restricted_to,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Startdate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=startdate,proto3" json:"startdate,omitempty"` Enddate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=enddate,proto3" json:"enddate,omitempty"` Allday bool `protobuf:"varint,10,opt,name=allday,proto3" json:"allday,omitempty"` Starttime string `protobuf:"bytes,11,opt,name=starttime,proto3" json:"starttime,omitempty"` Endtime string `protobuf:"bytes,12,opt,name=endtime,proto3" json:"endtime,omitempty"` MaxSubscribers int64 `protobuf:"varint,13,opt,name=max_subscribers,json=maxSubscribers,proto3" json:"max_subscribers,omitempty"` Subscriptions []*Subscription `protobuf:"bytes,14,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` DeletedSubscription []*Subscription `protobuf:"bytes,16,rep,name=deleted_subscription,json=deletedSubscription,proto3" json:"deleted_subscription,omitempty"` Data *structpb.Struct `protobuf:"bytes,15,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0} } func (m *Event) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event.Unmarshal(m, b) } func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Event.Marshal(b, m, deterministic) } func (m *Event) XXX_Merge(src proto.Message) { xxx_messageInfo_Event.Merge(m, src) } func (m *Event) XXX_Size() int { return xxx_messageInfo_Event.Size(m) } func (m *Event) XXX_DiscardUnknown() { xxx_messageInfo_Event.DiscardUnknown(m) } var xxx_messageInfo_Event proto.InternalMessageInfo func (m *Event) GetId() string { if m != nil { return m.Id } return "" } func (m *Event) GetNamespace() string { if m != nil { return m.Namespace } return "" } func (m *Event) GetType() string { if m != nil { return m.Type } return "" } func (m *Event) GetOwners() []string { if m != nil { return m.Owners } return nil } func (m *Event) GetRestrictedTo() []string { if m != nil { return m.RestrictedTo } return nil } func (m *Event) GetName() string { if m != nil { return m.Name } return "" } func (m *Event) GetDescription() string { if m != nil { return m.Description } return "" } func (m *Event) GetStartdate() *timestamppb.Timestamp { if m != nil { return m.Startdate } return nil } func (m *Event) GetEnddate() *timestamppb.Timestamp { if m != nil { return m.Enddate } return nil } func (m *Event) GetAllday() bool { if m != nil { return m.Allday } return false } func (m *Event) GetStarttime() string { if m != nil { return m.Starttime } return "" } func (m *Event) GetEndtime() string { if m != nil { return m.Endtime } return "" } func (m *Event) GetMaxSubscribers() int64 { if m != nil { return m.MaxSubscribers } return 0 } func (m *Event) GetSubscriptions() []*Subscription { if m != nil { return m.Subscriptions } return nil } func (m *Event) GetDeletedSubscription() []*Subscription { if m != nil { return m.DeletedSubscription } return nil } func (m *Event) GetData() *structpb.Struct { if m != nil { return m.Data } return nil } type Subscription struct { Id string `protobuf:"bytes,20,opt,name=id,proto3" json:"id,omitempty"` Subscriber string `protobuf:"bytes,21,opt,name=subscriber,proto3" json:"subscriber,omitempty"` Tags []string `protobuf:"bytes,22,rep,name=tags,proto3" json:"tags,omitempty"` Data *structpb.Struct `protobuf:"bytes,23,opt,name=data,proto3" json:"data,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Subscription) Reset() { *m = Subscription{} } func (m *Subscription) String() string { return proto.CompactTextString(m) } func (*Subscription) ProtoMessage() {} func (*Subscription) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{1} } func (m *Subscription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Subscription.Unmarshal(m, b) } func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Subscription.Marshal(b, m, deterministic) } func (m *Subscription) XXX_Merge(src proto.Message) { xxx_messageInfo_Subscription.Merge(m, src) } func (m *Subscription) XXX_Size() int { return xxx_messageInfo_Subscription.Size(m) } func (m *Subscription) XXX_DiscardUnknown() { xxx_messageInfo_Subscription.DiscardUnknown(m) } var xxx_messageInfo_Subscription proto.InternalMessageInfo func (m *Subscription) GetId() string { if m != nil { return m.Id } return "" } func (m *Subscription) GetSubscriber() string { if m != nil { return m.Subscriber } return "" } func (m *Subscription) GetTags() []string { if m != nil { return m.Tags } return nil } func (m *Subscription) GetData() *structpb.Struct { if m != nil { return m.Data } return nil } func (m *Subscription) GetCreatedAt() *timestamppb.Timestamp { if m != nil { return m.CreatedAt } return nil } func init() { proto.RegisterType((*Event)(nil), "Event") proto.RegisterType((*Subscription)(nil), "Subscription") } func init() { proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9) } var fileDescriptor_8f22242cb04491f9 = []byte{ // 458 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6f, 0xd4, 0x30, 0x10, 0x55, 0x76, 0xb7, 0xdb, 0x66, 0xf6, 0xa3, 0xc8, 0x94, 0xd6, 0xaa, 0x2a, 0x88, 0xca, 0x81, 0x48, 0x40, 0x22, 0xb5, 0x1c, 0xe0, 0x06, 0x48, 0xfc, 0x81, 0x6c, 0x4f, 0x5c, 0x2a, 0x6f, 0xec, 0x46, 0x91, 0x92, 0xd8, 0xb2, 0x67, 0xa1, 0xfd, 0x6b, 0xfc, 0x03, 0xfe, 0x15, 0xf2, 0x24, 0xbb, 0x49, 0x01, 0x69, 0x7b, 0x9b, 0x79, 0xef, 0xcd, 0xd8, 0xef, 0x69, 0x60, 0xae, 0x7e, 0xa8, 0x06, 0x5d, 0x62, 0xac, 0x46, 0x7d, 0x7e, 0x51, 0x68, 0x5d, 0x54, 0x2a, 0xa5, 0x6e, 0xbd, 0xb9, 0x4b, 0x1d, 0xda, 0x4d, 0x8e, 0x1d, 0xfb, 0xea, 0x6f, 0x16, 0xcb, 0x5a, 0x39, 0x14, 0xb5, 0x69, 0x05, 0x97, 0xbf, 0x27, 0x70, 0xf0, 0xcd, 0xef, 0x63, 0x4b, 0x18, 0x95, 0x92, 0x07, 0x51, 0x10, 0x87, 0xd9, 0xa8, 0x94, 0xec, 0x02, 0xc2, 0x46, 0xd4, 0xca, 0x19, 0x91, 0x2b, 0x3e, 0x22, 0xb8, 0x07, 0x18, 0x83, 0x09, 0x3e, 0x18, 0xc5, 0xc7, 0x44, 0x50, 0xcd, 0x4e, 0x61, 0xaa, 0x7f, 0x36, 0xca, 0x3a, 0x3e, 0x89, 0xc6, 0x71, 0x98, 0x75, 0x1d, 0x7b, 0x0d, 0x0b, 0xab, 0x1c, 0xda, 0x32, 0x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