go-lextwt-encoding/twt-pb/lextwt.pb.go
2025-03-07 17:26:55 -07:00

1253 lines
36 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc v3.19.6
// source: lextwt.proto
package twt_pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 Code_Type int32
const (
Code_CODE_UNSPECIFIED Code_Type = 0
Code_CODE_INLINE Code_Type = 1
Code_CODE_BLOCK Code_Type = 2
)
// Enum value maps for Code_Type.
var (
Code_Type_name = map[int32]string{
0: "CODE_UNSPECIFIED",
1: "CODE_INLINE",
2: "CODE_BLOCK",
}
Code_Type_value = map[string]int32{
"CODE_UNSPECIFIED": 0,
"CODE_INLINE": 1,
"CODE_BLOCK": 2,
}
)
func (x Code_Type) Enum() *Code_Type {
p := new(Code_Type)
*p = x
return p
}
func (x Code_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Code_Type) Descriptor() protoreflect.EnumDescriptor {
return file_lextwt_proto_enumTypes[0].Descriptor()
}
func (Code_Type) Type() protoreflect.EnumType {
return &file_lextwt_proto_enumTypes[0]
}
func (x Code_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Code_Type.Descriptor instead.
func (Code_Type) EnumDescriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{3, 0}
}
type Link_Type int32
const (
Link_LINK_UNSPECIFIED Link_Type = 0
Link_LINK_STANDARD Link_Type = 1
Link_LINK_MEDIA Link_Type = 2
Link_LINK_PLAIN Link_Type = 3
Link_LINK_NAKED Link_Type = 4
)
// Enum value maps for Link_Type.
var (
Link_Type_name = map[int32]string{
0: "LINK_UNSPECIFIED",
1: "LINK_STANDARD",
2: "LINK_MEDIA",
3: "LINK_PLAIN",
4: "LINK_NAKED",
}
Link_Type_value = map[string]int32{
"LINK_UNSPECIFIED": 0,
"LINK_STANDARD": 1,
"LINK_MEDIA": 2,
"LINK_PLAIN": 3,
"LINK_NAKED": 4,
}
)
func (x Link_Type) Enum() *Link_Type {
p := new(Link_Type)
*p = x
return p
}
func (x Link_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Link_Type) Descriptor() protoreflect.EnumDescriptor {
return file_lextwt_proto_enumTypes[1].Descriptor()
}
func (Link_Type) Type() protoreflect.EnumType {
return &file_lextwt_proto_enumTypes[1]
}
func (x Link_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Link_Type.Descriptor instead.
func (Link_Type) EnumDescriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{7, 0}
}
type LatestTwts struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LatestTwts) Reset() {
*x = LatestTwts{}
mi := &file_lextwt_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LatestTwts) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LatestTwts) ProtoMessage() {}
func (x *LatestTwts) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LatestTwts.ProtoReflect.Descriptor instead.
func (*LatestTwts) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{0}
}
type TwtRegistry struct {
state protoimpl.MessageState `protogen:"open.v1"`
Preamble []*Comment `protobuf:"bytes,1,rep,name=preamble,proto3" json:"preamble,omitempty"`
Twters []*Twter `protobuf:"bytes,2,rep,name=twters,proto3" json:"twters,omitempty"`
Twts []*Twt `protobuf:"bytes,3,rep,name=twts,proto3" json:"twts,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TwtRegistry) Reset() {
*x = TwtRegistry{}
mi := &file_lextwt_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TwtRegistry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TwtRegistry) ProtoMessage() {}
func (x *TwtRegistry) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TwtRegistry.ProtoReflect.Descriptor instead.
func (*TwtRegistry) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{1}
}
func (x *TwtRegistry) GetPreamble() []*Comment {
if x != nil {
return x.Preamble
}
return nil
}
func (x *TwtRegistry) GetTwters() []*Twter {
if x != nil {
return x.Twters
}
return nil
}
func (x *TwtRegistry) GetTwts() []*Twt {
if x != nil {
return x.Twts
}
return nil
}
type BangMention struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BangMention) Reset() {
*x = BangMention{}
mi := &file_lextwt_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BangMention) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BangMention) ProtoMessage() {}
func (x *BangMention) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BangMention.ProtoReflect.Descriptor instead.
func (*BangMention) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{2}
}
func (x *BangMention) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *BangMention) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
type Code struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type Code_Type `protobuf:"varint,1,opt,name=type,proto3,enum=Code_Type" json:"type,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Code) Reset() {
*x = Code{}
mi := &file_lextwt_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Code) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Code) ProtoMessage() {}
func (x *Code) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Code.ProtoReflect.Descriptor instead.
func (*Code) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{3}
}
func (x *Code) GetType() Code_Type {
if x != nil {
return x.Type
}
return Code_CODE_UNSPECIFIED
}
func (x *Code) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
type Comment struct {
state protoimpl.MessageState `protogen:"open.v1"`
Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Comment) Reset() {
*x = Comment{}
mi := &file_lextwt_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Comment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Comment) ProtoMessage() {}
func (x *Comment) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Comment.ProtoReflect.Descriptor instead.
func (*Comment) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{4}
}
func (x *Comment) GetComment() string {
if x != nil {
return x.Comment
}
return ""
}
func (x *Comment) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *Comment) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type DateTime struct {
state protoimpl.MessageState `protogen:"open.v1"`
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DateTime) Reset() {
*x = DateTime{}
mi := &file_lextwt_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DateTime) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DateTime) ProtoMessage() {}
func (x *DateTime) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DateTime.ProtoReflect.Descriptor instead.
func (*DateTime) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{5}
}
func (x *DateTime) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *DateTime) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *DateTime) GetZone() string {
if x != nil {
return x.Zone
}
return ""
}
type LineSeparator struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LineSeparator) Reset() {
*x = LineSeparator{}
mi := &file_lextwt_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LineSeparator) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LineSeparator) ProtoMessage() {}
func (x *LineSeparator) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LineSeparator.ProtoReflect.Descriptor instead.
func (*LineSeparator) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{6}
}
type Link struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type Link_Type `protobuf:"varint,1,opt,name=type,proto3,enum=Link_Type" json:"type,omitempty"`
Alt string `protobuf:"bytes,2,opt,name=alt,proto3" json:"alt,omitempty"`
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Link) Reset() {
*x = Link{}
mi := &file_lextwt_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Link) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Link) ProtoMessage() {}
func (x *Link) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Link.ProtoReflect.Descriptor instead.
func (*Link) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{7}
}
func (x *Link) GetType() Link_Type {
if x != nil {
return x.Type
}
return Link_LINK_UNSPECIFIED
}
func (x *Link) GetAlt() string {
if x != nil {
return x.Alt
}
return ""
}
func (x *Link) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
func (x *Link) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
type Mention struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Mention) Reset() {
*x = Mention{}
mi := &file_lextwt_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Mention) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Mention) ProtoMessage() {}
func (x *Mention) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Mention.ProtoReflect.Descriptor instead.
func (*Mention) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{8}
}
func (x *Mention) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Mention) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
type Subject struct {
state protoimpl.MessageState `protogen:"open.v1"`
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Subject) Reset() {
*x = Subject{}
mi := &file_lextwt_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Subject) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Subject) ProtoMessage() {}
func (x *Subject) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Subject.ProtoReflect.Descriptor instead.
func (*Subject) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{9}
}
func (x *Subject) GetSubject() string {
if x != nil {
return x.Subject
}
return ""
}
func (x *Subject) GetTag() *Tag {
if x != nil {
return x.Tag
}
return nil
}
type Tag struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Tag) Reset() {
*x = Tag{}
mi := &file_lextwt_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Tag) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Tag) ProtoMessage() {}
func (x *Tag) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (*Tag) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{10}
}
func (x *Tag) GetTag() string {
if x != nil {
return x.Tag
}
return ""
}
func (x *Tag) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
type Text struct {
state protoimpl.MessageState `protogen:"open.v1"`
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Text) Reset() {
*x = Text{}
mi := &file_lextwt_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Text) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Text) ProtoMessage() {}
func (x *Text) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Text.ProtoReflect.Descriptor instead.
func (*Text) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{11}
}
func (x *Text) GetText() string {
if x != nil {
return x.Text
}
return ""
}
type Twter struct {
state protoimpl.MessageState `protogen:"open.v1"`
Nick string `protobuf:"bytes,1,opt,name=nick,proto3" json:"nick,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Twter) Reset() {
*x = Twter{}
mi := &file_lextwt_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Twter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Twter) ProtoMessage() {}
func (x *Twter) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Twter.ProtoReflect.Descriptor instead.
func (*Twter) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{12}
}
func (x *Twter) GetNick() string {
if x != nil {
return x.Nick
}
return ""
}
func (x *Twter) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
type Elem struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Elem:
//
// *Elem_Bangmention
// *Elem_Code
// *Elem_Comment
// *Elem_Lineseparator
// *Elem_Link
// *Elem_Mention
// *Elem_Subject
// *Elem_Tag
// *Elem_Text
Elem isElem_Elem `protobuf_oneof:"elem"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Elem) Reset() {
*x = Elem{}
mi := &file_lextwt_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Elem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Elem) ProtoMessage() {}
func (x *Elem) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Elem.ProtoReflect.Descriptor instead.
func (*Elem) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{13}
}
func (x *Elem) GetElem() isElem_Elem {
if x != nil {
return x.Elem
}
return nil
}
func (x *Elem) GetBangmention() *BangMention {
if x != nil {
if x, ok := x.Elem.(*Elem_Bangmention); ok {
return x.Bangmention
}
}
return nil
}
func (x *Elem) GetCode() *Code {
if x != nil {
if x, ok := x.Elem.(*Elem_Code); ok {
return x.Code
}
}
return nil
}
func (x *Elem) GetComment() *Comment {
if x != nil {
if x, ok := x.Elem.(*Elem_Comment); ok {
return x.Comment
}
}
return nil
}
func (x *Elem) GetLineseparator() *LineSeparator {
if x != nil {
if x, ok := x.Elem.(*Elem_Lineseparator); ok {
return x.Lineseparator
}
}
return nil
}
func (x *Elem) GetLink() *Link {
if x != nil {
if x, ok := x.Elem.(*Elem_Link); ok {
return x.Link
}
}
return nil
}
func (x *Elem) GetMention() *Mention {
if x != nil {
if x, ok := x.Elem.(*Elem_Mention); ok {
return x.Mention
}
}
return nil
}
func (x *Elem) GetSubject() *Subject {
if x != nil {
if x, ok := x.Elem.(*Elem_Subject); ok {
return x.Subject
}
}
return nil
}
func (x *Elem) GetTag() *Tag {
if x != nil {
if x, ok := x.Elem.(*Elem_Tag); ok {
return x.Tag
}
}
return nil
}
func (x *Elem) GetText() *Text {
if x != nil {
if x, ok := x.Elem.(*Elem_Text); ok {
return x.Text
}
}
return nil
}
type isElem_Elem interface {
isElem_Elem()
}
type Elem_Bangmention struct {
Bangmention *BangMention `protobuf:"bytes,1,opt,name=bangmention,proto3,oneof"`
}
type Elem_Code struct {
Code *Code `protobuf:"bytes,2,opt,name=code,proto3,oneof"`
}
type Elem_Comment struct {
Comment *Comment `protobuf:"bytes,3,opt,name=comment,proto3,oneof"`
}
type Elem_Lineseparator struct {
Lineseparator *LineSeparator `protobuf:"bytes,4,opt,name=lineseparator,proto3,oneof"`
}
type Elem_Link struct {
Link *Link `protobuf:"bytes,5,opt,name=link,proto3,oneof"`
}
type Elem_Mention struct {
Mention *Mention `protobuf:"bytes,6,opt,name=mention,proto3,oneof"`
}
type Elem_Subject struct {
Subject *Subject `protobuf:"bytes,7,opt,name=subject,proto3,oneof"`
}
type Elem_Tag struct {
Tag *Tag `protobuf:"bytes,8,opt,name=tag,proto3,oneof"`
}
type Elem_Text struct {
Text *Text `protobuf:"bytes,9,opt,name=text,proto3,oneof"`
}
func (*Elem_Bangmention) isElem_Elem() {}
func (*Elem_Code) isElem_Elem() {}
func (*Elem_Comment) isElem_Elem() {}
func (*Elem_Lineseparator) isElem_Elem() {}
func (*Elem_Link) isElem_Elem() {}
func (*Elem_Mention) isElem_Elem() {}
func (*Elem_Subject) isElem_Elem() {}
func (*Elem_Tag) isElem_Elem() {}
func (*Elem_Text) isElem_Elem() {}
type Twt struct {
state protoimpl.MessageState `protogen:"open.v1"`
Twter *Twter `protobuf:"bytes,1,opt,name=twter,proto3" json:"twter,omitempty"`
Created *DateTime `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
Msg []*Elem `protobuf:"bytes,3,rep,name=msg,proto3" json:"msg,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Twt) Reset() {
*x = Twt{}
mi := &file_lextwt_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Twt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Twt) ProtoMessage() {}
func (x *Twt) ProtoReflect() protoreflect.Message {
mi := &file_lextwt_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Twt.ProtoReflect.Descriptor instead.
func (*Twt) Descriptor() ([]byte, []int) {
return file_lextwt_proto_rawDescGZIP(), []int{14}
}
func (x *Twt) GetTwter() *Twter {
if x != nil {
return x.Twter
}
return nil
}
func (x *Twt) GetCreated() *DateTime {
if x != nil {
return x.Created
}
return nil
}
func (x *Twt) GetMsg() []*Elem {
if x != nil {
return x.Msg
}
return nil
}
var File_lextwt_proto protoreflect.FileDescriptor
var file_lextwt_proto_rawDesc = string([]byte{
0x0a, 0x0c, 0x6c, 0x65, 0x78, 0x74, 0x77, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0c,
0x0a, 0x0a, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x77, 0x74, 0x73, 0x22, 0x6d, 0x0a, 0x0b,
0x54, 0x77, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x08, 0x70,
0x72, 0x65, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e,
0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x72, 0x65, 0x61, 0x6d, 0x62, 0x6c,
0x65, 0x12, 0x1e, 0x0a, 0x06, 0x74, 0x77, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x06, 0x2e, 0x54, 0x77, 0x74, 0x65, 0x72, 0x52, 0x06, 0x74, 0x77, 0x74, 0x65, 0x72,
0x73, 0x12, 0x18, 0x0a, 0x04, 0x74, 0x77, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x04, 0x2e, 0x54, 0x77, 0x74, 0x52, 0x04, 0x74, 0x77, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x0b, 0x42,
0x61, 0x6e, 0x67, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16,
0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x79, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x43,
0x6f, 0x64, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12,
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f,
0x64, 0x65, 0x22, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f,
0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10,
0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10,
0x02, 0x22, 0x4b, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x54,
0x0a, 0x08, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
0x12, 0x12, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x4c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x70, 0x61,
0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xc7, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1e,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4c,
0x69, 0x6e, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10,
0x0a, 0x03, 0x61, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x6c, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x5f,
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x55,
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12,
0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x10, 0x02, 0x12,
0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x03, 0x12,
0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x4e, 0x41, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x22,
0x35, 0x0a, 0x07, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16,
0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x3b, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63,
0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x03, 0x74,
0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03,
0x74, 0x61, 0x67, 0x22, 0x2f, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
0x72, 0x67, 0x65, 0x74, 0x22, 0x1a, 0x0a, 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04,
0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
0x22, 0x2d, 0x0a, 0x05, 0x54, 0x77, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63,
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x12, 0x10, 0x0a,
0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22,
0xdb, 0x02, 0x0a, 0x04, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x30, 0x0a, 0x0b, 0x62, 0x61, 0x6e, 0x67,
0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
0x42, 0x61, 0x6e, 0x67, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x62,
0x61, 0x6e, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x04, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x48,
0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a,
0x0d, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x70, 0x61, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x65, 0x70, 0x61,
0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x05, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69,
0x6e, 0x6b, 0x12, 0x24, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52,
0x07, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x53, 0x75, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18,
0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x54, 0x61,
0x67, 0x48, 0x00, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x1b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74,
0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52,
0x04, 0x74, 0x65, 0x78, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x65, 0x6c, 0x65, 0x6d, 0x22, 0x61, 0x0a,
0x03, 0x54, 0x77, 0x74, 0x12, 0x1c, 0x0a, 0x05, 0x74, 0x77, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x54, 0x77, 0x74, 0x65, 0x72, 0x52, 0x05, 0x74, 0x77, 0x74,
0x65, 0x72, 0x12, 0x23, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x07,
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x17, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x03,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x52, 0x03, 0x6d, 0x73, 0x67,
0x32, 0x3d, 0x0a, 0x12, 0x54, 0x77, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74,
0x54, 0x77, 0x74, 0x73, 0x12, 0x0b, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x77, 0x74,
0x73, 0x1a, 0x0c, 0x2e, 0x54, 0x77, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x42,
0x1c, 0x5a, 0x1a, 0x67, 0x6f, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x2e, 0x69, 0x73, 0x2f, 0x6c, 0x65,
0x78, 0x74, 0x77, 0x74, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
})
var (
file_lextwt_proto_rawDescOnce sync.Once
file_lextwt_proto_rawDescData []byte
)
func file_lextwt_proto_rawDescGZIP() []byte {
file_lextwt_proto_rawDescOnce.Do(func() {
file_lextwt_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_lextwt_proto_rawDesc), len(file_lextwt_proto_rawDesc)))
})
return file_lextwt_proto_rawDescData
}
var file_lextwt_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_lextwt_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_lextwt_proto_goTypes = []any{
(Code_Type)(0), // 0: Code.Type
(Link_Type)(0), // 1: Link.Type
(*LatestTwts)(nil), // 2: LatestTwts
(*TwtRegistry)(nil), // 3: TwtRegistry
(*BangMention)(nil), // 4: BangMention
(*Code)(nil), // 5: Code
(*Comment)(nil), // 6: Comment
(*DateTime)(nil), // 7: DateTime
(*LineSeparator)(nil), // 8: LineSeparator
(*Link)(nil), // 9: Link
(*Mention)(nil), // 10: Mention
(*Subject)(nil), // 11: Subject
(*Tag)(nil), // 12: Tag
(*Text)(nil), // 13: Text
(*Twter)(nil), // 14: Twter
(*Elem)(nil), // 15: Elem
(*Twt)(nil), // 16: Twt
}
var file_lextwt_proto_depIdxs = []int32{
6, // 0: TwtRegistry.preamble:type_name -> Comment
14, // 1: TwtRegistry.twters:type_name -> Twter
16, // 2: TwtRegistry.twts:type_name -> Twt
0, // 3: Code.type:type_name -> Code.Type
1, // 4: Link.type:type_name -> Link.Type
12, // 5: Subject.tag:type_name -> Tag
4, // 6: Elem.bangmention:type_name -> BangMention
5, // 7: Elem.code:type_name -> Code
6, // 8: Elem.comment:type_name -> Comment
8, // 9: Elem.lineseparator:type_name -> LineSeparator
9, // 10: Elem.link:type_name -> Link
10, // 11: Elem.mention:type_name -> Mention
11, // 12: Elem.subject:type_name -> Subject
12, // 13: Elem.tag:type_name -> Tag
13, // 14: Elem.text:type_name -> Text
14, // 15: Twt.twter:type_name -> Twter
7, // 16: Twt.created:type_name -> DateTime
15, // 17: Twt.msg:type_name -> Elem
2, // 18: TwtRegistryService.latestTwts:input_type -> LatestTwts
3, // 19: TwtRegistryService.latestTwts:output_type -> TwtRegistry
19, // [19:20] is the sub-list for method output_type
18, // [18:19] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name
18, // [18:18] is the sub-list for extension extendee
0, // [0:18] is the sub-list for field type_name
}
func init() { file_lextwt_proto_init() }
func file_lextwt_proto_init() {
if File_lextwt_proto != nil {
return
}
file_lextwt_proto_msgTypes[13].OneofWrappers = []any{
(*Elem_Bangmention)(nil),
(*Elem_Code)(nil),
(*Elem_Comment)(nil),
(*Elem_Lineseparator)(nil),
(*Elem_Link)(nil),
(*Elem_Mention)(nil),
(*Elem_Subject)(nil),
(*Elem_Tag)(nil),
(*Elem_Text)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_lextwt_proto_rawDesc), len(file_lextwt_proto_rawDesc)),
NumEnums: 2,
NumMessages: 15,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_lextwt_proto_goTypes,
DependencyIndexes: file_lextwt_proto_depIdxs,
EnumInfos: file_lextwt_proto_enumTypes,
MessageInfos: file_lextwt_proto_msgTypes,
}.Build()
File_lextwt_proto = out.File
file_lextwt_proto_goTypes = nil
file_lextwt_proto_depIdxs = nil
}