// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v4.25.1 // source: ticket.proto package ticket import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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) ) type MessageProvider int32 const ( MessageProvider_UnknownMessageProvider MessageProvider = 0 MessageProvider_EmailMessageProvider MessageProvider = 1 MessageProvider_ChatMessageProvider MessageProvider = 2 MessageProvider_GptMessageProvider MessageProvider = 3 MessageProvider_ApiMessageProvider MessageProvider = 4 MessageProvider_FunctionProvider MessageProvider = 5 ) // Enum value maps for MessageProvider. var ( MessageProvider_name = map[int32]string{ 0: "UnknownMessageProvider", 1: "EmailMessageProvider", 2: "ChatMessageProvider", 3: "GptMessageProvider", 4: "ApiMessageProvider", 5: "FunctionProvider", } MessageProvider_value = map[string]int32{ "UnknownMessageProvider": 0, "EmailMessageProvider": 1, "ChatMessageProvider": 2, "GptMessageProvider": 3, "ApiMessageProvider": 4, "FunctionProvider": 5, } ) func (x MessageProvider) Enum() *MessageProvider { p := new(MessageProvider) *p = x return p } func (x MessageProvider) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (MessageProvider) Descriptor() protoreflect.EnumDescriptor { return file_ticket_proto_enumTypes[0].Descriptor() } func (MessageProvider) Type() protoreflect.EnumType { return &file_ticket_proto_enumTypes[0] } func (x MessageProvider) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use MessageProvider.Descriptor instead. func (MessageProvider) EnumDescriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{0} } type Message struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TicketId string `protobuf:"bytes,1,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"` Provider MessageProvider `protobuf:"varint,2,opt,name=provider,proto3,enum=ticket.MessageProvider" json:"provider,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Date int64 `protobuf:"varint,4,opt,name=date,proto3" json:"date,omitempty"` Raw string `protobuf:"bytes,5,opt,name=raw,proto3" json:"raw,omitempty"` Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` Flags []byte `protobuf:"bytes,7,opt,name=flags,proto3" json:"flags,omitempty"` Headers []*Message_Header `protobuf:"bytes,10,rep,name=headers,proto3" json:"headers,omitempty"` Attachments []*Message_Attachment `protobuf:"bytes,11,rep,name=attachments,proto3" json:"attachments,omitempty"` } func (x *Message) Reset() { *x = Message{} if protoimpl.UnsafeEnabled { mi := &file_ticket_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Message) String() string { return protoimpl.X.MessageStringOf(x) } func (*Message) ProtoMessage() {} func (x *Message) ProtoReflect() protoreflect.Message { mi := &file_ticket_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) } // Deprecated: Use Message.ProtoReflect.Descriptor instead. func (*Message) Descriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{0} } func (x *Message) GetTicketId() string { if x != nil { return x.TicketId } return "" } func (x *Message) GetProvider() MessageProvider { if x != nil { return x.Provider } return MessageProvider_UnknownMessageProvider } func (x *Message) GetBody() string { if x != nil { return x.Body } return "" } func (x *Message) GetDate() int64 { if x != nil { return x.Date } return 0 } func (x *Message) GetRaw() string { if x != nil { return x.Raw } return "" } func (x *Message) GetId() string { if x != nil { return x.Id } return "" } func (x *Message) GetFlags() []byte { if x != nil { return x.Flags } return nil } func (x *Message) GetHeaders() []*Message_Header { if x != nil { return x.Headers } return nil } func (x *Message) GetAttachments() []*Message_Attachment { if x != nil { return x.Attachments } return nil } type Ticket struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Thread []*Message `protobuf:"bytes,10,rep,name=thread,proto3" json:"thread,omitempty"` } func (x *Ticket) Reset() { *x = Ticket{} if protoimpl.UnsafeEnabled { mi := &file_ticket_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Ticket) String() string { return protoimpl.X.MessageStringOf(x) } func (*Ticket) ProtoMessage() {} func (x *Ticket) ProtoReflect() protoreflect.Message { mi := &file_ticket_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) } // Deprecated: Use Ticket.ProtoReflect.Descriptor instead. func (*Ticket) Descriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{1} } func (x *Ticket) GetId() string { if x != nil { return x.Id } return "" } func (x *Ticket) GetThread() []*Message { if x != nil { return x.Thread } return nil } type Message_Header struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *Message_Header) Reset() { *x = Message_Header{} if protoimpl.UnsafeEnabled { mi := &file_ticket_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Message_Header) String() string { return protoimpl.X.MessageStringOf(x) } func (*Message_Header) ProtoMessage() {} func (x *Message_Header) ProtoReflect() protoreflect.Message { mi := &file_ticket_proto_msgTypes[2] 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) } // Deprecated: Use Message_Header.ProtoReflect.Descriptor instead. func (*Message_Header) Descriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{0, 0} } func (x *Message_Header) GetKey() string { if x != nil { return x.Key } return "" } func (x *Message_Header) GetValue() string { if x != nil { return x.Value } return "" } type Message_Attachment struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` ContentEncoding string `protobuf:"bytes,4,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"` Upload *Message_Attachment_Upload `protobuf:"bytes,5,opt,name=upload,proto3" json:"upload,omitempty"` } func (x *Message_Attachment) Reset() { *x = Message_Attachment{} if protoimpl.UnsafeEnabled { mi := &file_ticket_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Message_Attachment) String() string { return protoimpl.X.MessageStringOf(x) } func (*Message_Attachment) ProtoMessage() {} func (x *Message_Attachment) ProtoReflect() protoreflect.Message { mi := &file_ticket_proto_msgTypes[3] 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) } // Deprecated: Use Message_Attachment.ProtoReflect.Descriptor instead. func (*Message_Attachment) Descriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{0, 1} } func (x *Message_Attachment) GetId() string { if x != nil { return x.Id } return "" } func (x *Message_Attachment) GetFilename() string { if x != nil { return x.Filename } return "" } func (x *Message_Attachment) GetContentType() string { if x != nil { return x.ContentType } return "" } func (x *Message_Attachment) GetContentEncoding() string { if x != nil { return x.ContentEncoding } return "" } func (x *Message_Attachment) GetUpload() *Message_Attachment_Upload { if x != nil { return x.Upload } return nil } type Message_Attachment_Upload struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` LastModified int64 `protobuf:"varint,5,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` } func (x *Message_Attachment_Upload) Reset() { *x = Message_Attachment_Upload{} if protoimpl.UnsafeEnabled { mi := &file_ticket_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Message_Attachment_Upload) String() string { return protoimpl.X.MessageStringOf(x) } func (*Message_Attachment_Upload) ProtoMessage() {} func (x *Message_Attachment_Upload) ProtoReflect() protoreflect.Message { mi := &file_ticket_proto_msgTypes[4] 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) } // Deprecated: Use Message_Attachment_Upload.ProtoReflect.Descriptor instead. func (*Message_Attachment_Upload) Descriptor() ([]byte, []int) { return file_ticket_proto_rawDescGZIP(), []int{0, 1, 0} } func (x *Message_Attachment_Upload) GetBucket() string { if x != nil { return x.Bucket } return "" } func (x *Message_Attachment_Upload) GetKey() string { if x != nil { return x.Key } return "" } func (x *Message_Attachment_Upload) GetEtag() string { if x != nil { return x.Etag } return "" } func (x *Message_Attachment_Upload) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *Message_Attachment_Upload) GetLastModified() int64 { if x != nil { return x.LastModified } return 0 } func (x *Message_Attachment_Upload) GetLocation() string { if x != nil { return x.Location } return "" } func (x *Message_Attachment_Upload) GetVersion() string { if x != nil { return x.Version } return "" } var File_ticket_proto protoreflect.FileDescriptor var file_ticket_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x22, 0xda, 0x05, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x30, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xf9, 0x02, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x39, 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0xb5, 0x01, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x06, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x2a, 0xa6, 0x01, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x70, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x70, 0x69, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x10, 0x05, 0x42, 0x2a, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e, 0x2f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_ticket_proto_rawDescOnce sync.Once file_ticket_proto_rawDescData = file_ticket_proto_rawDesc ) func file_ticket_proto_rawDescGZIP() []byte { file_ticket_proto_rawDescOnce.Do(func() { file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData) }) return file_ticket_proto_rawDescData } var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_ticket_proto_goTypes = []interface{}{ (MessageProvider)(0), // 0: ticket.MessageProvider (*Message)(nil), // 1: ticket.Message (*Ticket)(nil), // 2: ticket.Ticket (*Message_Header)(nil), // 3: ticket.Message.Header (*Message_Attachment)(nil), // 4: ticket.Message.Attachment (*Message_Attachment_Upload)(nil), // 5: ticket.Message.Attachment.Upload } var file_ticket_proto_depIdxs = []int32{ 0, // 0: ticket.Message.provider:type_name -> ticket.MessageProvider 3, // 1: ticket.Message.headers:type_name -> ticket.Message.Header 4, // 2: ticket.Message.attachments:type_name -> ticket.Message.Attachment 1, // 3: ticket.Ticket.thread:type_name -> ticket.Message 5, // 4: ticket.Message.Attachment.upload:type_name -> ticket.Message.Attachment.Upload 5, // [5:5] is the sub-list for method output_type 5, // [5:5] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_ticket_proto_init() } func file_ticket_proto_init() { if File_ticket_proto != nil { return } if !protoimpl.UnsafeEnabled { file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Message); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Ticket); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Message_Header); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ticket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Message_Attachment); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ticket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Message_Attachment_Upload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ticket_proto_rawDesc, NumEnums: 1, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, GoTypes: file_ticket_proto_goTypes, DependencyIndexes: file_ticket_proto_depIdxs, EnumInfos: file_ticket_proto_enumTypes, MessageInfos: file_ticket_proto_msgTypes, }.Build() File_ticket_proto = out.File file_ticket_proto_rawDesc = nil file_ticket_proto_goTypes = nil file_ticket_proto_depIdxs = nil }