Debian Codegraph @

sls/sls.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go.
2 // source: sls.proto
3 // DO NOT EDIT!
4
5 /*
6 Package sls is a generated protocol buffer package.
7
8 It is generated from these files:
9 sls.proto
10
11 It has these top-level messages:
12 Log
13 LogGroup
14 LogGroupList
15 */
16 package sls
17
18 import proto "github.com/golang/protobuf/proto"
19 import fmt "fmt"
20 import math "math"
21
22 // Reference imports to suppress errors if they are not otherwise used.
23 var _ = proto.Marshal
24 var _ = fmt.Errorf
25 var _ = math.Inf
26
27 // This is a compile-time assertion to ensure that this generated file
28 // is compatible with the proto package it is being compiled against.
29 const _ = proto.ProtoPackageIsVersion1
30
31 type Log struct {
32 Time *uint32 `protobuf:"varint,1,req,name=time" json:"time,omitempty"`
33 Contents []*Log_Content `protobuf:"bytes,2,rep,name=contents" json:"contents,omitempty"`
34 XXX_unrecognized []byte `json:"-"`
35 }
36
37 func (m *Log) Reset() { *m = Log{} }
38 func (m *Log) String() string { return proto.CompactTextString(m) }
39 func (*Log) ProtoMessage() {}
40 func (*Log) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
41
42 func (m *Log) GetTime() uint32 {
43 if m != nil && m.Time != nil {
44 return *m.Time
45 }
46 return 0
47 }
48
49 func (m *Log) GetContents() []*Log_Content {
50 if m != nil {
51 return m.Contents
52 }
53 return nil
54 }
55
56 type Log_Content struct {
57 Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
58 Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
59 XXX_unrecognized []byte `json:"-"`
60 }
61
62 func (m *Log_Content) Reset() { *m = Log_Content{} }
63 func (m *Log_Content) String() string { return proto.CompactTextString(m) }
64 func (*Log_Content) ProtoMessage() {}
65 func (*Log_Content) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
66
67 func (m *Log_Content) GetKey() string {
68 if m != nil && m.Key != nil {
69 return *m.Key
70 }
71 return ""
72 }
73
74 func (m *Log_Content) GetValue() string {
75 if m != nil && m.Value != nil {
76 return *m.Value
77 }
78 return ""
79 }
80
81 type LogGroup struct {
82 Logs []*Log `protobuf:"bytes,1,rep,name=logs" json:"logs,omitempty"`
83 Reserved *string `protobuf:"bytes,2,opt,name=reserved" json:"reserved,omitempty"`
84 Topic *string `protobuf:"bytes,3,opt,name=topic" json:"topic,omitempty"`
85 Source *string `protobuf:"bytes,4,opt,name=source" json:"source,omitempty"`
86 XXX_unrecognized []byte `json:"-"`
87 }
88
89 func (m *LogGroup) Reset() { *m = LogGroup{} }
90 func (m *LogGroup) String() string { return proto.CompactTextString(m) }
91 func (*LogGroup) ProtoMessage() {}
92 func (*LogGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
93
94 func (m *LogGroup) GetLogs() []*Log {
95 if m != nil {
96 return m.Logs
97 }
98 return nil
99 }
100
101 func (m *LogGroup) GetReserved() string {
102 if m != nil && m.Reserved != nil {
103 return *m.Reserved
104 }
105 return ""
106 }
107
108 func (m *LogGroup) GetTopic() string {
109 if m != nil && m.Topic != nil {
110 return *m.Topic
111 }
112 return ""
113 }
114
115 func (m *LogGroup) GetSource() string {
116 if m != nil && m.Source != nil {
117 return *m.Source
118 }
119 return ""
120 }
121
122 type LogGroupList struct {
123 LogGroupList []*LogGroup `protobuf:"bytes,1,rep,name=logGroupList" json:"logGroupList,omitempty"`
124 XXX_unrecognized []byte `json:"-"`
125 }
126
127 func (m *LogGroupList) Reset() { *m = LogGroupList{} }
128 func (m *LogGroupList) String() string { return proto.CompactTextString(m) }
129 func (*LogGroupList) ProtoMessage() {}
130 func (*LogGroupList) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
131
132 func (m *LogGroupList) GetLogGroupList() []*LogGroup {
133 if m != nil {
134 return m.LogGroupList
135 }
136 return nil
137 }
138
139 func init() {
140 proto.RegisterType((*Log)(nil), "Log")
141 proto.RegisterType((*Log_Content)(nil), "Log.Content")
142 proto.RegisterType((*LogGroup)(nil), "LogGroup")
143 proto.RegisterType((*LogGroupList)(nil), "LogGroupList")
144 }
145
146 var fileDescriptor0 = []byte{
147 // 193 bytes of a gzipped FileDescriptorProto
148 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8c, 0xcd, 0x4a, 0xc5, 0x30,
149 0x10, 0x46, 0x69, 0x13, 0xb5, 0x9d, 0xa6, 0x22, 0xb3, 0x0a, 0x2e, 0xb4, 0x14, 0x84, 0xae, 0x22,
150 0xf8, 0x0a, 0x2e, 0xdc, 0x14, 0xdc, 0xbb, 0x93, 0x3a, 0x94, 0x62, 0xec, 0x94, 0x24, 0x2d, 0xf8,
151 0xf6, 0x37, 0xfd, 0x83, 0xbb, 0x9b, 0x33, 0x7c, 0xe7, 0x40, 0xee, 0xad, 0x37, 0x93, 0xe3, 0xc0,
152 0xf5, 0x17, 0x88, 0x96, 0x7b, 0x54, 0x20, 0xc3, 0xf0, 0x47, 0x3a, 0xa9, 0xd2, 0xa6, 0xc4, 0x27,
153 0xc8, 0x3a, 0x1e, 0x03, 0x8d, 0xc1, 0xeb, 0xb4, 0x12, 0x4d, 0xf1, 0xa6, 0x4c, 0x5c, 0x99, 0xf7,
154 0xfd, 0xf9, 0xf8, 0x02, 0x77, 0xc7, 0x89, 0x05, 0x88, 0x5f, 0xfa, 0xdf, 0xbc, 0x1c, 0x4b, 0xb8,
155 0x59, 0xbe, 0xed, 0x4c, 0x51, 0x8a, 0x58, 0x7f, 0x42, 0x16, 0xad, 0x0f, 0xc7, 0xf3, 0x84, 0x08,
156 0xd2, 0x72, 0xef, 0xe3, 0x70, 0xcd, 0xc9, 0x35, 0x87, 0x0f, 0x90, 0x39, 0xf2, 0xe4, 0x16, 0xfa,
157 0x89, 0x46, 0xb2, 0x07, 0x02, 0x4f, 0x43, 0xa7, 0xc5, 0x86, 0xf7, 0x70, 0xeb, 0x79, 0x76, 0x1d,
158 0x69, 0xb9, 0x72, 0xfd, 0x0a, 0xea, 0x0c, 0xb6, 0x83, 0x0f, 0xf8, 0x0c, 0xca, 0x5e, 0xf1, 0x11,
159 0xcf, 0xcd, 0x39, 0xba, 0x04, 0x00, 0x00, 0xff, 0xff, 0x77, 0xa0, 0x66, 0x2b, 0xe9, 0x00, 0x00,
160 0x00,
161 }