1
1
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
2
- /* Generated from: sls_logstores .proto */
2
+ /* Generated from: log_logstores .proto */
3
3
4
4
/* Do not generate deprecated warnings for self */
5
5
#ifndef PROTOBUF_C__NO_DEPRECATED
6
6
#define PROTOBUF_C__NO_DEPRECATED
7
7
#endif
8
8
9
- #include "sls_logstores .pb-c.h"
10
- void sls_logstores__log__content__init
11
- (SlsLogstores__Log__Content * message )
9
+ #include "log_logstores .pb-c.h"
10
+ void log_logstores__log__content__init
11
+ (LogLogstores__Log__Content * message )
12
12
{
13
- static SlsLogstores__Log__Content init_value = SLS_LOGSTORES__LOG__CONTENT__INIT ;
13
+ static LogLogstores__Log__Content init_value = LOG_LOGSTORES__LOG__CONTENT__INIT ;
14
14
* message = init_value ;
15
15
}
16
- void sls_logstores__log__init
17
- (SlsLogstores__Log * message )
16
+ void log_logstores__log__init
17
+ (LogLogstores__Log * message )
18
18
{
19
- static SlsLogstores__Log init_value = SLS_LOGSTORES__LOG__INIT ;
19
+ static LogLogstores__Log init_value = LOG_LOGSTORES__LOG__INIT ;
20
20
* message = init_value ;
21
21
}
22
- size_t sls_logstores__log__get_packed_size
23
- (const SlsLogstores__Log * message )
22
+ size_t log_logstores__log__get_packed_size
23
+ (const LogLogstores__Log * message )
24
24
{
25
- assert (message -> base .descriptor == & sls_logstores__log__descriptor );
25
+ assert (message -> base .descriptor == & log_logstores__log__descriptor );
26
26
return protobuf_c_message_get_packed_size ((const ProtobufCMessage * )(message ));
27
27
}
28
- size_t sls_logstores__log__pack
29
- (const SlsLogstores__Log * message ,
28
+ size_t log_logstores__log__pack
29
+ (const LogLogstores__Log * message ,
30
30
uint8_t * out )
31
31
{
32
- assert (message -> base .descriptor == & sls_logstores__log__descriptor );
32
+ assert (message -> base .descriptor == & log_logstores__log__descriptor );
33
33
return protobuf_c_message_pack ((const ProtobufCMessage * )message , out );
34
34
}
35
- size_t sls_logstores__log__pack_to_buffer
36
- (const SlsLogstores__Log * message ,
35
+ size_t log_logstores__log__pack_to_buffer
36
+ (const LogLogstores__Log * message ,
37
37
ProtobufCBuffer * buffer )
38
38
{
39
- assert (message -> base .descriptor == & sls_logstores__log__descriptor );
39
+ assert (message -> base .descriptor == & log_logstores__log__descriptor );
40
40
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage * )message , buffer );
41
41
}
42
- SlsLogstores__Log *
43
- sls_logstores__log__unpack
42
+ LogLogstores__Log *
43
+ log_logstores__log__unpack
44
44
(ProtobufCAllocator * allocator ,
45
45
size_t len ,
46
46
const uint8_t * data )
47
47
{
48
- return (SlsLogstores__Log * )
49
- protobuf_c_message_unpack (& sls_logstores__log__descriptor ,
48
+ return (LogLogstores__Log * )
49
+ protobuf_c_message_unpack (& log_logstores__log__descriptor ,
50
50
allocator , len , data );
51
51
}
52
- void sls_logstores__log__free_unpacked
53
- (SlsLogstores__Log * message ,
52
+ void log_logstores__log__free_unpacked
53
+ (LogLogstores__Log * message ,
54
54
ProtobufCAllocator * allocator )
55
55
{
56
- assert (message -> base .descriptor == & sls_logstores__log__descriptor );
56
+ assert (message -> base .descriptor == & log_logstores__log__descriptor );
57
57
protobuf_c_message_free_unpacked ((ProtobufCMessage * )message , allocator );
58
58
}
59
- void sls_logstores__log_group__init
60
- (SlsLogstores__LogGroup * message )
59
+ void log_logstores__log_group__init
60
+ (LogLogstores__LogGroup * message )
61
61
{
62
- static SlsLogstores__LogGroup init_value = SLS_LOGSTORES__LOG_GROUP__INIT ;
62
+ static LogLogstores__LogGroup init_value = LOG_LOGSTORES__LOG_GROUP__INIT ;
63
63
* message = init_value ;
64
64
}
65
- size_t sls_logstores__log_group__get_packed_size
66
- (const SlsLogstores__LogGroup * message )
65
+ size_t log_logstores__log_group__get_packed_size
66
+ (const LogLogstores__LogGroup * message )
67
67
{
68
- assert (message -> base .descriptor == & sls_logstores__log_group__descriptor );
68
+ assert (message -> base .descriptor == & log_logstores__log_group__descriptor );
69
69
return protobuf_c_message_get_packed_size ((const ProtobufCMessage * )(message ));
70
70
}
71
- size_t sls_logstores__log_group__pack
72
- (const SlsLogstores__LogGroup * message ,
71
+ size_t log_logstores__log_group__pack
72
+ (const LogLogstores__LogGroup * message ,
73
73
uint8_t * out )
74
74
{
75
- assert (message -> base .descriptor == & sls_logstores__log_group__descriptor );
75
+ assert (message -> base .descriptor == & log_logstores__log_group__descriptor );
76
76
return protobuf_c_message_pack ((const ProtobufCMessage * )message , out );
77
77
}
78
- size_t sls_logstores__log_group__pack_to_buffer
79
- (const SlsLogstores__LogGroup * message ,
78
+ size_t log_logstores__log_group__pack_to_buffer
79
+ (const LogLogstores__LogGroup * message ,
80
80
ProtobufCBuffer * buffer )
81
81
{
82
- assert (message -> base .descriptor == & sls_logstores__log_group__descriptor );
82
+ assert (message -> base .descriptor == & log_logstores__log_group__descriptor );
83
83
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage * )message , buffer );
84
84
}
85
- SlsLogstores__LogGroup *
86
- sls_logstores__log_group__unpack
85
+ LogLogstores__LogGroup *
86
+ log_logstores__log_group__unpack
87
87
(ProtobufCAllocator * allocator ,
88
88
size_t len ,
89
89
const uint8_t * data )
90
90
{
91
- return (SlsLogstores__LogGroup * )
92
- protobuf_c_message_unpack (& sls_logstores__log_group__descriptor ,
91
+ return (LogLogstores__LogGroup * )
92
+ protobuf_c_message_unpack (& log_logstores__log_group__descriptor ,
93
93
allocator , len , data );
94
94
}
95
- void sls_logstores__log_group__free_unpacked
96
- (SlsLogstores__LogGroup * message ,
95
+ void log_logstores__log_group__free_unpacked
96
+ (LogLogstores__LogGroup * message ,
97
97
ProtobufCAllocator * allocator )
98
98
{
99
- assert (message -> base .descriptor == & sls_logstores__log_group__descriptor );
99
+ assert (message -> base .descriptor == & log_logstores__log_group__descriptor );
100
100
protobuf_c_message_free_unpacked ((ProtobufCMessage * )message , allocator );
101
101
}
102
- static const ProtobufCFieldDescriptor sls_logstores__log__content__field_descriptors [2 ] =
102
+ static const ProtobufCFieldDescriptor log_logstores__log__content__field_descriptors [2 ] =
103
103
{
104
104
{
105
105
"key" ,
106
106
1 ,
107
107
PROTOBUF_C_LABEL_REQUIRED ,
108
108
PROTOBUF_C_TYPE_STRING ,
109
109
0 , /* quantifier_offset */
110
- offsetof(SlsLogstores__Log__Content , key ),
110
+ offsetof(LogLogstores__Log__Content , key ),
111
111
NULL ,
112
112
NULL ,
113
113
0 , /* flags */
@@ -119,46 +119,46 @@ static const ProtobufCFieldDescriptor sls_logstores__log__content__field_descrip
119
119
PROTOBUF_C_LABEL_REQUIRED ,
120
120
PROTOBUF_C_TYPE_STRING ,
121
121
0 , /* quantifier_offset */
122
- offsetof(SlsLogstores__Log__Content , value ),
122
+ offsetof(LogLogstores__Log__Content , value ),
123
123
NULL ,
124
124
NULL ,
125
125
0 , /* flags */
126
126
0 ,NULL ,NULL /* reserved1,reserved2, etc */
127
127
},
128
128
};
129
- static const unsigned sls_logstores__log__content__field_indices_by_name [] = {
129
+ static const unsigned log_logstores__log__content__field_indices_by_name [] = {
130
130
0 , /* field[0] = key */
131
131
1 , /* field[1] = value */
132
132
};
133
- static const ProtobufCIntRange sls_logstores__log__content__number_ranges [1 + 1 ] =
133
+ static const ProtobufCIntRange log_logstores__log__content__number_ranges [1 + 1 ] =
134
134
{
135
135
{ 1 , 0 },
136
136
{ 0 , 2 }
137
137
};
138
- const ProtobufCMessageDescriptor sls_logstores__log__content__descriptor =
138
+ const ProtobufCMessageDescriptor log_logstores__log__content__descriptor =
139
139
{
140
140
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC ,
141
- "sls_logstores .Log.Content" ,
141
+ "log_logstores .Log.Content" ,
142
142
"Content" ,
143
- "SlsLogstores__Log__Content " ,
144
- "sls_logstores " ,
145
- sizeof (SlsLogstores__Log__Content ),
143
+ "LogLogstores__Log__Content " ,
144
+ "log_logstores " ,
145
+ sizeof (LogLogstores__Log__Content ),
146
146
2 ,
147
- sls_logstores__log__content__field_descriptors ,
148
- sls_logstores__log__content__field_indices_by_name ,
149
- 1 , sls_logstores__log__content__number_ranges ,
150
- (ProtobufCMessageInit ) sls_logstores__log__content__init ,
147
+ log_logstores__log__content__field_descriptors ,
148
+ log_logstores__log__content__field_indices_by_name ,
149
+ 1 , log_logstores__log__content__number_ranges ,
150
+ (ProtobufCMessageInit ) log_logstores__log__content__init ,
151
151
NULL ,NULL ,NULL /* reserved[123] */
152
152
};
153
- static const ProtobufCFieldDescriptor sls_logstores__log__field_descriptors [2 ] =
153
+ static const ProtobufCFieldDescriptor log_logstores__log__field_descriptors [2 ] =
154
154
{
155
155
{
156
156
"time" ,
157
157
1 ,
158
158
PROTOBUF_C_LABEL_REQUIRED ,
159
159
PROTOBUF_C_TYPE_UINT32 ,
160
160
0 , /* quantifier_offset */
161
- offsetof(SlsLogstores__Log , time ),
161
+ offsetof(LogLogstores__Log , time ),
162
162
NULL ,
163
163
NULL ,
164
164
0 , /* flags */
@@ -169,48 +169,48 @@ static const ProtobufCFieldDescriptor sls_logstores__log__field_descriptors[2] =
169
169
2 ,
170
170
PROTOBUF_C_LABEL_REPEATED ,
171
171
PROTOBUF_C_TYPE_MESSAGE ,
172
- offsetof(SlsLogstores__Log , n_contents ),
173
- offsetof(SlsLogstores__Log , contents ),
174
- & sls_logstores__log__content__descriptor ,
172
+ offsetof(LogLogstores__Log , n_contents ),
173
+ offsetof(LogLogstores__Log , contents ),
174
+ & log_logstores__log__content__descriptor ,
175
175
NULL ,
176
176
0 , /* flags */
177
177
0 ,NULL ,NULL /* reserved1,reserved2, etc */
178
178
},
179
179
};
180
- static const unsigned sls_logstores__log__field_indices_by_name [] = {
180
+ static const unsigned log_logstores__log__field_indices_by_name [] = {
181
181
1 , /* field[1] = contents */
182
182
0 , /* field[0] = time */
183
183
};
184
- static const ProtobufCIntRange sls_logstores__log__number_ranges [1 + 1 ] =
184
+ static const ProtobufCIntRange log_logstores__log__number_ranges [1 + 1 ] =
185
185
{
186
186
{ 1 , 0 },
187
187
{ 0 , 2 }
188
188
};
189
- const ProtobufCMessageDescriptor sls_logstores__log__descriptor =
189
+ const ProtobufCMessageDescriptor log_logstores__log__descriptor =
190
190
{
191
191
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC ,
192
- "sls_logstores .Log" ,
192
+ "log_logstores .Log" ,
193
193
"Log" ,
194
- "SlsLogstores__Log " ,
195
- "sls_logstores " ,
196
- sizeof (SlsLogstores__Log ),
194
+ "LogLogstores__Log " ,
195
+ "log_logstores " ,
196
+ sizeof (LogLogstores__Log ),
197
197
2 ,
198
- sls_logstores__log__field_descriptors ,
199
- sls_logstores__log__field_indices_by_name ,
200
- 1 , sls_logstores__log__number_ranges ,
201
- (ProtobufCMessageInit ) sls_logstores__log__init ,
198
+ log_logstores__log__field_descriptors ,
199
+ log_logstores__log__field_indices_by_name ,
200
+ 1 , log_logstores__log__number_ranges ,
201
+ (ProtobufCMessageInit ) log_logstores__log__init ,
202
202
NULL ,NULL ,NULL /* reserved[123] */
203
203
};
204
- static const ProtobufCFieldDescriptor sls_logstores__log_group__field_descriptors [4 ] =
204
+ static const ProtobufCFieldDescriptor log_logstores__log_group__field_descriptors [4 ] =
205
205
{
206
206
{
207
207
"logs" ,
208
208
1 ,
209
209
PROTOBUF_C_LABEL_REPEATED ,
210
210
PROTOBUF_C_TYPE_MESSAGE ,
211
- offsetof(SlsLogstores__LogGroup , n_logs ),
212
- offsetof(SlsLogstores__LogGroup , logs ),
213
- & sls_logstores__log__descriptor ,
211
+ offsetof(LogLogstores__LogGroup , n_logs ),
212
+ offsetof(LogLogstores__LogGroup , logs ),
213
+ & log_logstores__log__descriptor ,
214
214
NULL ,
215
215
0 , /* flags */
216
216
0 ,NULL ,NULL /* reserved1,reserved2, etc */
@@ -221,7 +221,7 @@ static const ProtobufCFieldDescriptor sls_logstores__log_group__field_descriptor
221
221
PROTOBUF_C_LABEL_OPTIONAL ,
222
222
PROTOBUF_C_TYPE_STRING ,
223
223
0 , /* quantifier_offset */
224
- offsetof(SlsLogstores__LogGroup , reserved ),
224
+ offsetof(LogLogstores__LogGroup , reserved ),
225
225
NULL ,
226
226
NULL ,
227
227
0 , /* flags */
@@ -233,7 +233,7 @@ static const ProtobufCFieldDescriptor sls_logstores__log_group__field_descriptor
233
233
PROTOBUF_C_LABEL_OPTIONAL ,
234
234
PROTOBUF_C_TYPE_STRING ,
235
235
0 , /* quantifier_offset */
236
- offsetof(SlsLogstores__LogGroup , topic ),
236
+ offsetof(LogLogstores__LogGroup , topic ),
237
237
NULL ,
238
238
NULL ,
239
239
0 , /* flags */
@@ -245,36 +245,36 @@ static const ProtobufCFieldDescriptor sls_logstores__log_group__field_descriptor
245
245
PROTOBUF_C_LABEL_OPTIONAL ,
246
246
PROTOBUF_C_TYPE_STRING ,
247
247
0 , /* quantifier_offset */
248
- offsetof(SlsLogstores__LogGroup , source ),
248
+ offsetof(LogLogstores__LogGroup , source ),
249
249
NULL ,
250
250
NULL ,
251
251
0 , /* flags */
252
252
0 ,NULL ,NULL /* reserved1,reserved2, etc */
253
253
},
254
254
};
255
- static const unsigned sls_logstores__log_group__field_indices_by_name [] = {
255
+ static const unsigned log_logstores__log_group__field_indices_by_name [] = {
256
256
0 , /* field[0] = logs */
257
257
1 , /* field[1] = reserved */
258
258
3 , /* field[3] = source */
259
259
2 , /* field[2] = topic */
260
260
};
261
- static const ProtobufCIntRange sls_logstores__log_group__number_ranges [1 + 1 ] =
261
+ static const ProtobufCIntRange log_logstores__log_group__number_ranges [1 + 1 ] =
262
262
{
263
263
{ 1 , 0 },
264
264
{ 0 , 4 }
265
265
};
266
- const ProtobufCMessageDescriptor sls_logstores__log_group__descriptor =
266
+ const ProtobufCMessageDescriptor log_logstores__log_group__descriptor =
267
267
{
268
268
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC ,
269
- "sls_logstores .LogGroup" ,
269
+ "log_logstores .LogGroup" ,
270
270
"LogGroup" ,
271
- "SlsLogstores__LogGroup " ,
272
- "sls_logstores " ,
273
- sizeof (SlsLogstores__LogGroup ),
271
+ "LogLogstores__LogGroup " ,
272
+ "log_logstores " ,
273
+ sizeof (LogLogstores__LogGroup ),
274
274
4 ,
275
- sls_logstores__log_group__field_descriptors ,
276
- sls_logstores__log_group__field_indices_by_name ,
277
- 1 , sls_logstores__log_group__number_ranges ,
278
- (ProtobufCMessageInit ) sls_logstores__log_group__init ,
275
+ log_logstores__log_group__field_descriptors ,
276
+ log_logstores__log_group__field_indices_by_name ,
277
+ 1 , log_logstores__log_group__number_ranges ,
278
+ (ProtobufCMessageInit ) log_logstores__log_group__init ,
279
279
NULL ,NULL ,NULL /* reserved[123] */
280
280
};
0 commit comments