2022-09-05 05:27:52 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-09-06 11:34:43 +00:00
|
|
|
// protoc-gen-go v1.31.0
|
2023-02-01 08:58:37 +00:00
|
|
|
// protoc v3.12.4
|
2022-09-05 05:27:52 +00:00
|
|
|
// source: events.proto
|
|
|
|
|
|
|
|
package grpcapi
|
|
|
|
|
|
|
|
import (
|
2023-02-01 08:58:37 +00:00
|
|
|
_struct "github.com/golang/protobuf/ptypes/struct"
|
|
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
2022-09-05 05:27:52 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2022-09-05 05:27:52 +00:00
|
|
|
|
|
|
|
type Event struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
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 *timestamp.Timestamp `protobuf:"bytes,8,opt,name=startdate,proto3" json:"startdate,omitempty"`
|
|
|
|
Enddate *timestamp.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 *_struct.Struct `protobuf:"bytes,15,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Deleted bool `protobuf:"varint,17,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Event) Reset() {
|
|
|
|
*x = Event{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_events_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2023-02-15 09:14:06 +00:00
|
|
|
}
|
2023-02-22 13:55:43 +00:00
|
|
|
|
|
|
|
func (*Event) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Event) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_events_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
// Deprecated: Use Event.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
|
|
return file_events_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2023-02-15 09:14:06 +00:00
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetNamespace() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Namespace
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetOwners() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Owners
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetRestrictedTo() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RestrictedTo
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetDescription() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Description
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Event) GetStartdate() *timestamp.Timestamp {
|
2022-09-05 05:27:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Startdate
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Event) GetEnddate() *timestamp.Timestamp {
|
2022-09-05 05:27:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Enddate
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetAllday() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Allday
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetStarttime() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Starttime
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetEndtime() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Endtime
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetMaxSubscribers() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MaxSubscribers
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetSubscriptions() []*Subscription {
|
|
|
|
if x != nil {
|
|
|
|
return x.Subscriptions
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Event) GetDeletedSubscription() []*Subscription {
|
|
|
|
if x != nil {
|
|
|
|
return x.DeletedSubscription
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Event) GetData() *_struct.Struct {
|
2022-09-05 05:27:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
2023-02-15 09:14:06 +00:00
|
|
|
return nil
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Event) GetDeleted() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Deleted
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-02-15 09:14:06 +00:00
|
|
|
type Subscription struct {
|
2022-10-17 03:00:35 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
Id string `protobuf:"bytes,20,opt,name=id,proto3" json:"id,omitempty"`
|
2023-09-06 11:34:43 +00:00
|
|
|
Eventid string `protobuf:"bytes,21,opt,name=eventid,proto3" json:"eventid,omitempty"`
|
|
|
|
Subscriber string `protobuf:"bytes,22,opt,name=subscriber,proto3" json:"subscriber,omitempty"`
|
|
|
|
Tags []string `protobuf:"bytes,23,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
|
|
Data *_struct.Struct `protobuf:"bytes,24,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
CreatedAt *timestamp.Timestamp `protobuf:"bytes,25,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
2023-02-15 09:14:06 +00:00
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Subscription) Reset() {
|
|
|
|
*x = Subscription{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_events_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Subscription) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2023-02-15 09:14:06 +00:00
|
|
|
}
|
2023-02-22 13:55:43 +00:00
|
|
|
|
|
|
|
func (*Subscription) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Subscription) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_events_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
// Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Subscription) Descriptor() ([]byte, []int) {
|
|
|
|
return file_events_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2023-02-15 09:14:06 +00:00
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Subscription) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2022-12-05 16:21:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-09-06 11:34:43 +00:00
|
|
|
func (x *Subscription) GetEventid() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Eventid
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Subscription) GetSubscriber() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Subscriber
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-22 13:55:43 +00:00
|
|
|
func (x *Subscription) GetTags() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Tags
|
2022-10-17 03:00:35 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Subscription) GetData() *_struct.Struct {
|
2022-10-17 03:00:35 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-01 08:58:37 +00:00
|
|
|
func (x *Subscription) GetCreatedAt() *timestamp.Timestamp {
|
2022-12-05 16:21:12 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.CreatedAt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-05 05:27:52 +00:00
|
|
|
var File_events_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_events_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
|
|
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
|
|
|
0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
|
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
|
2023-02-22 13:55:43 +00:00
|
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x04,
|
2022-09-05 05:27:52 +00:00
|
|
|
0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
|
|
|
|
0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x77, 0x6e,
|
|
|
|
0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72,
|
|
|
|
0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x65, 0x64, 0x5f,
|
|
|
|
0x74, 0x6f, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69,
|
|
|
|
0x63, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x09,
|
|
|
|
0x73, 0x74, 0x61, 0x72, 0x74, 0x64, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61,
|
|
|
|
0x72, 0x74, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x64, 0x61, 0x74,
|
|
|
|
0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
|
|
0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x61, 0x6c, 0x6c, 0x64, 0x61, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x6c,
|
|
|
|
0x6c, 0x64, 0x61, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x74, 0x69, 0x6d,
|
|
|
|
0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x74, 0x69,
|
|
|
|
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f,
|
|
|
|
0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x18,
|
|
|
|
0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
|
2022-10-17 03:00:35 +00:00
|
|
|
0x69, 0x62, 0x65, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53,
|
|
|
|
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x75, 0x62,
|
2023-02-22 13:55:43 +00:00
|
|
|
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x14, 0x64, 0x65,
|
|
|
|
0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
|
|
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,
|
|
|
|
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x04,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,
|
|
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
|
|
|
|
0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c,
|
|
|
|
0x65, 0x74, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65,
|
2023-09-06 11:34:43 +00:00
|
|
|
0x74, 0x65, 0x64, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
|
2023-02-22 13:55:43 +00:00
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09,
|
2023-09-06 11:34:43 +00:00
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18,
|
|
|
|
0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x1e,
|
|
|
|
0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x18, 0x16, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x12, 0x12,
|
|
|
|
0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61,
|
|
|
|
0x67, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12,
|
|
|
|
0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x19, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
|
|
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69,
|
|
|
|
0x74, 0x2e, 0x63, 0x6f, 0x6f, 0x70, 0x67, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x6f, 0x70,
|
|
|
|
0x67, 0x6f, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x67, 0x65, 0x6e,
|
|
|
|
0x64, 0x61, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x33,
|
2023-02-22 13:55:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_events_proto_rawDescOnce sync.Once
|
|
|
|
file_events_proto_rawDescData = file_events_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_events_proto_rawDescGZIP() []byte {
|
|
|
|
file_events_proto_rawDescOnce.Do(func() {
|
|
|
|
file_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_events_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_events_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2022-10-17 03:00:35 +00:00
|
|
|
var file_events_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
2022-09-05 05:27:52 +00:00
|
|
|
var file_events_proto_goTypes = []interface{}{
|
2023-02-01 08:58:37 +00:00
|
|
|
(*Event)(nil), // 0: Event
|
|
|
|
(*Subscription)(nil), // 1: Subscription
|
|
|
|
(*timestamp.Timestamp)(nil), // 2: google.protobuf.Timestamp
|
|
|
|
(*_struct.Struct)(nil), // 3: google.protobuf.Struct
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
var file_events_proto_depIdxs = []int32{
|
2022-10-17 03:00:35 +00:00
|
|
|
2, // 0: Event.startdate:type_name -> google.protobuf.Timestamp
|
|
|
|
2, // 1: Event.enddate:type_name -> google.protobuf.Timestamp
|
|
|
|
1, // 2: Event.subscriptions:type_name -> Subscription
|
2023-02-22 13:55:43 +00:00
|
|
|
1, // 3: Event.deleted_subscription:type_name -> Subscription
|
|
|
|
3, // 4: Event.data:type_name -> google.protobuf.Struct
|
|
|
|
3, // 5: Subscription.data:type_name -> google.protobuf.Struct
|
|
|
|
2, // 6: Subscription.created_at:type_name -> google.protobuf.Timestamp
|
|
|
|
7, // [7:7] is the sub-list for method output_type
|
|
|
|
7, // [7:7] is the sub-list for method input_type
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
|
|
0, // [0:7] is the sub-list for field type_name
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_events_proto_init() }
|
|
|
|
func file_events_proto_init() {
|
|
|
|
if File_events_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Event); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-10-17 03:00:35 +00:00
|
|
|
file_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Subscription); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-09-05 05:27:52 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_events_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2022-10-17 03:00:35 +00:00
|
|
|
NumMessages: 2,
|
2022-09-05 05:27:52 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_events_proto_goTypes,
|
|
|
|
DependencyIndexes: file_events_proto_depIdxs,
|
|
|
|
MessageInfos: file_events_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_events_proto = out.File
|
|
|
|
file_events_proto_rawDesc = nil
|
|
|
|
file_events_proto_goTypes = nil
|
|
|
|
file_events_proto_depIdxs = nil
|
|
|
|
}
|