diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/google.golang.org/appengine/internal/log | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/google.golang.org/appengine/internal/log')
-rw-r--r-- | vendor/google.golang.org/appengine/internal/log/log_service.pb.go | 1313 | ||||
-rw-r--r-- | vendor/google.golang.org/appengine/internal/log/log_service.proto | 150 |
2 files changed, 1463 insertions, 0 deletions
diff --git a/vendor/google.golang.org/appengine/internal/log/log_service.pb.go b/vendor/google.golang.org/appengine/internal/log/log_service.pb.go new file mode 100644 index 0000000..8545ac4 --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/log/log_service.pb.go | |||
@@ -0,0 +1,1313 @@ | |||
1 | // Code generated by protoc-gen-go. DO NOT EDIT. | ||
2 | // source: google.golang.org/appengine/internal/log/log_service.proto | ||
3 | |||
4 | package log | ||
5 | |||
6 | import proto "github.com/golang/protobuf/proto" | ||
7 | import fmt "fmt" | ||
8 | import math "math" | ||
9 | |||
10 | // Reference imports to suppress errors if they are not otherwise used. | ||
11 | var _ = proto.Marshal | ||
12 | var _ = fmt.Errorf | ||
13 | var _ = math.Inf | ||
14 | |||
15 | // This is a compile-time assertion to ensure that this generated file | ||
16 | // is compatible with the proto package it is being compiled against. | ||
17 | // A compilation error at this line likely means your copy of the | ||
18 | // proto package needs to be updated. | ||
19 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | ||
20 | |||
21 | type LogServiceError_ErrorCode int32 | ||
22 | |||
23 | const ( | ||
24 | LogServiceError_OK LogServiceError_ErrorCode = 0 | ||
25 | LogServiceError_INVALID_REQUEST LogServiceError_ErrorCode = 1 | ||
26 | LogServiceError_STORAGE_ERROR LogServiceError_ErrorCode = 2 | ||
27 | ) | ||
28 | |||
29 | var LogServiceError_ErrorCode_name = map[int32]string{ | ||
30 | 0: "OK", | ||
31 | 1: "INVALID_REQUEST", | ||
32 | 2: "STORAGE_ERROR", | ||
33 | } | ||
34 | var LogServiceError_ErrorCode_value = map[string]int32{ | ||
35 | "OK": 0, | ||
36 | "INVALID_REQUEST": 1, | ||
37 | "STORAGE_ERROR": 2, | ||
38 | } | ||
39 | |||
40 | func (x LogServiceError_ErrorCode) Enum() *LogServiceError_ErrorCode { | ||
41 | p := new(LogServiceError_ErrorCode) | ||
42 | *p = x | ||
43 | return p | ||
44 | } | ||
45 | func (x LogServiceError_ErrorCode) String() string { | ||
46 | return proto.EnumName(LogServiceError_ErrorCode_name, int32(x)) | ||
47 | } | ||
48 | func (x *LogServiceError_ErrorCode) UnmarshalJSON(data []byte) error { | ||
49 | value, err := proto.UnmarshalJSONEnum(LogServiceError_ErrorCode_value, data, "LogServiceError_ErrorCode") | ||
50 | if err != nil { | ||
51 | return err | ||
52 | } | ||
53 | *x = LogServiceError_ErrorCode(value) | ||
54 | return nil | ||
55 | } | ||
56 | func (LogServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) { | ||
57 | return fileDescriptor_log_service_f054fd4b5012319d, []int{0, 0} | ||
58 | } | ||
59 | |||
60 | type LogServiceError struct { | ||
61 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
62 | XXX_unrecognized []byte `json:"-"` | ||
63 | XXX_sizecache int32 `json:"-"` | ||
64 | } | ||
65 | |||
66 | func (m *LogServiceError) Reset() { *m = LogServiceError{} } | ||
67 | func (m *LogServiceError) String() string { return proto.CompactTextString(m) } | ||
68 | func (*LogServiceError) ProtoMessage() {} | ||
69 | func (*LogServiceError) Descriptor() ([]byte, []int) { | ||
70 | return fileDescriptor_log_service_f054fd4b5012319d, []int{0} | ||
71 | } | ||
72 | func (m *LogServiceError) XXX_Unmarshal(b []byte) error { | ||
73 | return xxx_messageInfo_LogServiceError.Unmarshal(m, b) | ||
74 | } | ||
75 | func (m *LogServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
76 | return xxx_messageInfo_LogServiceError.Marshal(b, m, deterministic) | ||
77 | } | ||
78 | func (dst *LogServiceError) XXX_Merge(src proto.Message) { | ||
79 | xxx_messageInfo_LogServiceError.Merge(dst, src) | ||
80 | } | ||
81 | func (m *LogServiceError) XXX_Size() int { | ||
82 | return xxx_messageInfo_LogServiceError.Size(m) | ||
83 | } | ||
84 | func (m *LogServiceError) XXX_DiscardUnknown() { | ||
85 | xxx_messageInfo_LogServiceError.DiscardUnknown(m) | ||
86 | } | ||
87 | |||
88 | var xxx_messageInfo_LogServiceError proto.InternalMessageInfo | ||
89 | |||
90 | type UserAppLogLine struct { | ||
91 | TimestampUsec *int64 `protobuf:"varint,1,req,name=timestamp_usec,json=timestampUsec" json:"timestamp_usec,omitempty"` | ||
92 | Level *int64 `protobuf:"varint,2,req,name=level" json:"level,omitempty"` | ||
93 | Message *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"` | ||
94 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
95 | XXX_unrecognized []byte `json:"-"` | ||
96 | XXX_sizecache int32 `json:"-"` | ||
97 | } | ||
98 | |||
99 | func (m *UserAppLogLine) Reset() { *m = UserAppLogLine{} } | ||
100 | func (m *UserAppLogLine) String() string { return proto.CompactTextString(m) } | ||
101 | func (*UserAppLogLine) ProtoMessage() {} | ||
102 | func (*UserAppLogLine) Descriptor() ([]byte, []int) { | ||
103 | return fileDescriptor_log_service_f054fd4b5012319d, []int{1} | ||
104 | } | ||
105 | func (m *UserAppLogLine) XXX_Unmarshal(b []byte) error { | ||
106 | return xxx_messageInfo_UserAppLogLine.Unmarshal(m, b) | ||
107 | } | ||
108 | func (m *UserAppLogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
109 | return xxx_messageInfo_UserAppLogLine.Marshal(b, m, deterministic) | ||
110 | } | ||
111 | func (dst *UserAppLogLine) XXX_Merge(src proto.Message) { | ||
112 | xxx_messageInfo_UserAppLogLine.Merge(dst, src) | ||
113 | } | ||
114 | func (m *UserAppLogLine) XXX_Size() int { | ||
115 | return xxx_messageInfo_UserAppLogLine.Size(m) | ||
116 | } | ||
117 | func (m *UserAppLogLine) XXX_DiscardUnknown() { | ||
118 | xxx_messageInfo_UserAppLogLine.DiscardUnknown(m) | ||
119 | } | ||
120 | |||
121 | var xxx_messageInfo_UserAppLogLine proto.InternalMessageInfo | ||
122 | |||
123 | func (m *UserAppLogLine) GetTimestampUsec() int64 { | ||
124 | if m != nil && m.TimestampUsec != nil { | ||
125 | return *m.TimestampUsec | ||
126 | } | ||
127 | return 0 | ||
128 | } | ||
129 | |||
130 | func (m *UserAppLogLine) GetLevel() int64 { | ||
131 | if m != nil && m.Level != nil { | ||
132 | return *m.Level | ||
133 | } | ||
134 | return 0 | ||
135 | } | ||
136 | |||
137 | func (m *UserAppLogLine) GetMessage() string { | ||
138 | if m != nil && m.Message != nil { | ||
139 | return *m.Message | ||
140 | } | ||
141 | return "" | ||
142 | } | ||
143 | |||
144 | type UserAppLogGroup struct { | ||
145 | LogLine []*UserAppLogLine `protobuf:"bytes,2,rep,name=log_line,json=logLine" json:"log_line,omitempty"` | ||
146 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
147 | XXX_unrecognized []byte `json:"-"` | ||
148 | XXX_sizecache int32 `json:"-"` | ||
149 | } | ||
150 | |||
151 | func (m *UserAppLogGroup) Reset() { *m = UserAppLogGroup{} } | ||
152 | func (m *UserAppLogGroup) String() string { return proto.CompactTextString(m) } | ||
153 | func (*UserAppLogGroup) ProtoMessage() {} | ||
154 | func (*UserAppLogGroup) Descriptor() ([]byte, []int) { | ||
155 | return fileDescriptor_log_service_f054fd4b5012319d, []int{2} | ||
156 | } | ||
157 | func (m *UserAppLogGroup) XXX_Unmarshal(b []byte) error { | ||
158 | return xxx_messageInfo_UserAppLogGroup.Unmarshal(m, b) | ||
159 | } | ||
160 | func (m *UserAppLogGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
161 | return xxx_messageInfo_UserAppLogGroup.Marshal(b, m, deterministic) | ||
162 | } | ||
163 | func (dst *UserAppLogGroup) XXX_Merge(src proto.Message) { | ||
164 | xxx_messageInfo_UserAppLogGroup.Merge(dst, src) | ||
165 | } | ||
166 | func (m *UserAppLogGroup) XXX_Size() int { | ||
167 | return xxx_messageInfo_UserAppLogGroup.Size(m) | ||
168 | } | ||
169 | func (m *UserAppLogGroup) XXX_DiscardUnknown() { | ||
170 | xxx_messageInfo_UserAppLogGroup.DiscardUnknown(m) | ||
171 | } | ||
172 | |||
173 | var xxx_messageInfo_UserAppLogGroup proto.InternalMessageInfo | ||
174 | |||
175 | func (m *UserAppLogGroup) GetLogLine() []*UserAppLogLine { | ||
176 | if m != nil { | ||
177 | return m.LogLine | ||
178 | } | ||
179 | return nil | ||
180 | } | ||
181 | |||
182 | type FlushRequest struct { | ||
183 | Logs []byte `protobuf:"bytes,1,opt,name=logs" json:"logs,omitempty"` | ||
184 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
185 | XXX_unrecognized []byte `json:"-"` | ||
186 | XXX_sizecache int32 `json:"-"` | ||
187 | } | ||
188 | |||
189 | func (m *FlushRequest) Reset() { *m = FlushRequest{} } | ||
190 | func (m *FlushRequest) String() string { return proto.CompactTextString(m) } | ||
191 | func (*FlushRequest) ProtoMessage() {} | ||
192 | func (*FlushRequest) Descriptor() ([]byte, []int) { | ||
193 | return fileDescriptor_log_service_f054fd4b5012319d, []int{3} | ||
194 | } | ||
195 | func (m *FlushRequest) XXX_Unmarshal(b []byte) error { | ||
196 | return xxx_messageInfo_FlushRequest.Unmarshal(m, b) | ||
197 | } | ||
198 | func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
199 | return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic) | ||
200 | } | ||
201 | func (dst *FlushRequest) XXX_Merge(src proto.Message) { | ||
202 | xxx_messageInfo_FlushRequest.Merge(dst, src) | ||
203 | } | ||
204 | func (m *FlushRequest) XXX_Size() int { | ||
205 | return xxx_messageInfo_FlushRequest.Size(m) | ||
206 | } | ||
207 | func (m *FlushRequest) XXX_DiscardUnknown() { | ||
208 | xxx_messageInfo_FlushRequest.DiscardUnknown(m) | ||
209 | } | ||
210 | |||
211 | var xxx_messageInfo_FlushRequest proto.InternalMessageInfo | ||
212 | |||
213 | func (m *FlushRequest) GetLogs() []byte { | ||
214 | if m != nil { | ||
215 | return m.Logs | ||
216 | } | ||
217 | return nil | ||
218 | } | ||
219 | |||
220 | type SetStatusRequest struct { | ||
221 | Status *string `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` | ||
222 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
223 | XXX_unrecognized []byte `json:"-"` | ||
224 | XXX_sizecache int32 `json:"-"` | ||
225 | } | ||
226 | |||
227 | func (m *SetStatusRequest) Reset() { *m = SetStatusRequest{} } | ||
228 | func (m *SetStatusRequest) String() string { return proto.CompactTextString(m) } | ||
229 | func (*SetStatusRequest) ProtoMessage() {} | ||
230 | func (*SetStatusRequest) Descriptor() ([]byte, []int) { | ||
231 | return fileDescriptor_log_service_f054fd4b5012319d, []int{4} | ||
232 | } | ||
233 | func (m *SetStatusRequest) XXX_Unmarshal(b []byte) error { | ||
234 | return xxx_messageInfo_SetStatusRequest.Unmarshal(m, b) | ||
235 | } | ||
236 | func (m *SetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
237 | return xxx_messageInfo_SetStatusRequest.Marshal(b, m, deterministic) | ||
238 | } | ||
239 | func (dst *SetStatusRequest) XXX_Merge(src proto.Message) { | ||
240 | xxx_messageInfo_SetStatusRequest.Merge(dst, src) | ||
241 | } | ||
242 | func (m *SetStatusRequest) XXX_Size() int { | ||
243 | return xxx_messageInfo_SetStatusRequest.Size(m) | ||
244 | } | ||
245 | func (m *SetStatusRequest) XXX_DiscardUnknown() { | ||
246 | xxx_messageInfo_SetStatusRequest.DiscardUnknown(m) | ||
247 | } | ||
248 | |||
249 | var xxx_messageInfo_SetStatusRequest proto.InternalMessageInfo | ||
250 | |||
251 | func (m *SetStatusRequest) GetStatus() string { | ||
252 | if m != nil && m.Status != nil { | ||
253 | return *m.Status | ||
254 | } | ||
255 | return "" | ||
256 | } | ||
257 | |||
258 | type LogOffset struct { | ||
259 | RequestId []byte `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"` | ||
260 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
261 | XXX_unrecognized []byte `json:"-"` | ||
262 | XXX_sizecache int32 `json:"-"` | ||
263 | } | ||
264 | |||
265 | func (m *LogOffset) Reset() { *m = LogOffset{} } | ||
266 | func (m *LogOffset) String() string { return proto.CompactTextString(m) } | ||
267 | func (*LogOffset) ProtoMessage() {} | ||
268 | func (*LogOffset) Descriptor() ([]byte, []int) { | ||
269 | return fileDescriptor_log_service_f054fd4b5012319d, []int{5} | ||
270 | } | ||
271 | func (m *LogOffset) XXX_Unmarshal(b []byte) error { | ||
272 | return xxx_messageInfo_LogOffset.Unmarshal(m, b) | ||
273 | } | ||
274 | func (m *LogOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
275 | return xxx_messageInfo_LogOffset.Marshal(b, m, deterministic) | ||
276 | } | ||
277 | func (dst *LogOffset) XXX_Merge(src proto.Message) { | ||
278 | xxx_messageInfo_LogOffset.Merge(dst, src) | ||
279 | } | ||
280 | func (m *LogOffset) XXX_Size() int { | ||
281 | return xxx_messageInfo_LogOffset.Size(m) | ||
282 | } | ||
283 | func (m *LogOffset) XXX_DiscardUnknown() { | ||
284 | xxx_messageInfo_LogOffset.DiscardUnknown(m) | ||
285 | } | ||
286 | |||
287 | var xxx_messageInfo_LogOffset proto.InternalMessageInfo | ||
288 | |||
289 | func (m *LogOffset) GetRequestId() []byte { | ||
290 | if m != nil { | ||
291 | return m.RequestId | ||
292 | } | ||
293 | return nil | ||
294 | } | ||
295 | |||
296 | type LogLine struct { | ||
297 | Time *int64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"` | ||
298 | Level *int32 `protobuf:"varint,2,req,name=level" json:"level,omitempty"` | ||
299 | LogMessage *string `protobuf:"bytes,3,req,name=log_message,json=logMessage" json:"log_message,omitempty"` | ||
300 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
301 | XXX_unrecognized []byte `json:"-"` | ||
302 | XXX_sizecache int32 `json:"-"` | ||
303 | } | ||
304 | |||
305 | func (m *LogLine) Reset() { *m = LogLine{} } | ||
306 | func (m *LogLine) String() string { return proto.CompactTextString(m) } | ||
307 | func (*LogLine) ProtoMessage() {} | ||
308 | func (*LogLine) Descriptor() ([]byte, []int) { | ||
309 | return fileDescriptor_log_service_f054fd4b5012319d, []int{6} | ||
310 | } | ||
311 | func (m *LogLine) XXX_Unmarshal(b []byte) error { | ||
312 | return xxx_messageInfo_LogLine.Unmarshal(m, b) | ||
313 | } | ||
314 | func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
315 | return xxx_messageInfo_LogLine.Marshal(b, m, deterministic) | ||
316 | } | ||
317 | func (dst *LogLine) XXX_Merge(src proto.Message) { | ||
318 | xxx_messageInfo_LogLine.Merge(dst, src) | ||
319 | } | ||
320 | func (m *LogLine) XXX_Size() int { | ||
321 | return xxx_messageInfo_LogLine.Size(m) | ||
322 | } | ||
323 | func (m *LogLine) XXX_DiscardUnknown() { | ||
324 | xxx_messageInfo_LogLine.DiscardUnknown(m) | ||
325 | } | ||
326 | |||
327 | var xxx_messageInfo_LogLine proto.InternalMessageInfo | ||
328 | |||
329 | func (m *LogLine) GetTime() int64 { | ||
330 | if m != nil && m.Time != nil { | ||
331 | return *m.Time | ||
332 | } | ||
333 | return 0 | ||
334 | } | ||
335 | |||
336 | func (m *LogLine) GetLevel() int32 { | ||
337 | if m != nil && m.Level != nil { | ||
338 | return *m.Level | ||
339 | } | ||
340 | return 0 | ||
341 | } | ||
342 | |||
343 | func (m *LogLine) GetLogMessage() string { | ||
344 | if m != nil && m.LogMessage != nil { | ||
345 | return *m.LogMessage | ||
346 | } | ||
347 | return "" | ||
348 | } | ||
349 | |||
350 | type RequestLog struct { | ||
351 | AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"` | ||
352 | ModuleId *string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"` | ||
353 | VersionId *string `protobuf:"bytes,2,req,name=version_id,json=versionId" json:"version_id,omitempty"` | ||
354 | RequestId []byte `protobuf:"bytes,3,req,name=request_id,json=requestId" json:"request_id,omitempty"` | ||
355 | Offset *LogOffset `protobuf:"bytes,35,opt,name=offset" json:"offset,omitempty"` | ||
356 | Ip *string `protobuf:"bytes,4,req,name=ip" json:"ip,omitempty"` | ||
357 | Nickname *string `protobuf:"bytes,5,opt,name=nickname" json:"nickname,omitempty"` | ||
358 | StartTime *int64 `protobuf:"varint,6,req,name=start_time,json=startTime" json:"start_time,omitempty"` | ||
359 | EndTime *int64 `protobuf:"varint,7,req,name=end_time,json=endTime" json:"end_time,omitempty"` | ||
360 | Latency *int64 `protobuf:"varint,8,req,name=latency" json:"latency,omitempty"` | ||
361 | Mcycles *int64 `protobuf:"varint,9,req,name=mcycles" json:"mcycles,omitempty"` | ||
362 | Method *string `protobuf:"bytes,10,req,name=method" json:"method,omitempty"` | ||
363 | Resource *string `protobuf:"bytes,11,req,name=resource" json:"resource,omitempty"` | ||
364 | HttpVersion *string `protobuf:"bytes,12,req,name=http_version,json=httpVersion" json:"http_version,omitempty"` | ||
365 | Status *int32 `protobuf:"varint,13,req,name=status" json:"status,omitempty"` | ||
366 | ResponseSize *int64 `protobuf:"varint,14,req,name=response_size,json=responseSize" json:"response_size,omitempty"` | ||
367 | Referrer *string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"` | ||
368 | UserAgent *string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"` | ||
369 | UrlMapEntry *string `protobuf:"bytes,17,req,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"` | ||
370 | Combined *string `protobuf:"bytes,18,req,name=combined" json:"combined,omitempty"` | ||
371 | ApiMcycles *int64 `protobuf:"varint,19,opt,name=api_mcycles,json=apiMcycles" json:"api_mcycles,omitempty"` | ||
372 | Host *string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"` | ||
373 | Cost *float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"` | ||
374 | TaskQueueName *string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"` | ||
375 | TaskName *string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"` | ||
376 | WasLoadingRequest *bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"` | ||
377 | PendingTime *int64 `protobuf:"varint,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"` | ||
378 | ReplicaIndex *int32 `protobuf:"varint,26,opt,name=replica_index,json=replicaIndex,def=-1" json:"replica_index,omitempty"` | ||
379 | Finished *bool `protobuf:"varint,27,opt,name=finished,def=1" json:"finished,omitempty"` | ||
380 | CloneKey []byte `protobuf:"bytes,28,opt,name=clone_key,json=cloneKey" json:"clone_key,omitempty"` | ||
381 | Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"` | ||
382 | LinesIncomplete *bool `protobuf:"varint,36,opt,name=lines_incomplete,json=linesIncomplete" json:"lines_incomplete,omitempty"` | ||
383 | AppEngineRelease []byte `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"` | ||
384 | ExitReason *int32 `protobuf:"varint,30,opt,name=exit_reason,json=exitReason" json:"exit_reason,omitempty"` | ||
385 | WasThrottledForTime *bool `protobuf:"varint,31,opt,name=was_throttled_for_time,json=wasThrottledForTime" json:"was_throttled_for_time,omitempty"` | ||
386 | WasThrottledForRequests *bool `protobuf:"varint,32,opt,name=was_throttled_for_requests,json=wasThrottledForRequests" json:"was_throttled_for_requests,omitempty"` | ||
387 | ThrottledTime *int64 `protobuf:"varint,33,opt,name=throttled_time,json=throttledTime" json:"throttled_time,omitempty"` | ||
388 | ServerName []byte `protobuf:"bytes,34,opt,name=server_name,json=serverName" json:"server_name,omitempty"` | ||
389 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
390 | XXX_unrecognized []byte `json:"-"` | ||
391 | XXX_sizecache int32 `json:"-"` | ||
392 | } | ||
393 | |||
394 | func (m *RequestLog) Reset() { *m = RequestLog{} } | ||
395 | func (m *RequestLog) String() string { return proto.CompactTextString(m) } | ||
396 | func (*RequestLog) ProtoMessage() {} | ||
397 | func (*RequestLog) Descriptor() ([]byte, []int) { | ||
398 | return fileDescriptor_log_service_f054fd4b5012319d, []int{7} | ||
399 | } | ||
400 | func (m *RequestLog) XXX_Unmarshal(b []byte) error { | ||
401 | return xxx_messageInfo_RequestLog.Unmarshal(m, b) | ||
402 | } | ||
403 | func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
404 | return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic) | ||
405 | } | ||
406 | func (dst *RequestLog) XXX_Merge(src proto.Message) { | ||
407 | xxx_messageInfo_RequestLog.Merge(dst, src) | ||
408 | } | ||
409 | func (m *RequestLog) XXX_Size() int { | ||
410 | return xxx_messageInfo_RequestLog.Size(m) | ||
411 | } | ||
412 | func (m *RequestLog) XXX_DiscardUnknown() { | ||
413 | xxx_messageInfo_RequestLog.DiscardUnknown(m) | ||
414 | } | ||
415 | |||
416 | var xxx_messageInfo_RequestLog proto.InternalMessageInfo | ||
417 | |||
418 | const Default_RequestLog_ModuleId string = "default" | ||
419 | const Default_RequestLog_ReplicaIndex int32 = -1 | ||
420 | const Default_RequestLog_Finished bool = true | ||
421 | |||
422 | func (m *RequestLog) GetAppId() string { | ||
423 | if m != nil && m.AppId != nil { | ||
424 | return *m.AppId | ||
425 | } | ||
426 | return "" | ||
427 | } | ||
428 | |||
429 | func (m *RequestLog) GetModuleId() string { | ||
430 | if m != nil && m.ModuleId != nil { | ||
431 | return *m.ModuleId | ||
432 | } | ||
433 | return Default_RequestLog_ModuleId | ||
434 | } | ||
435 | |||
436 | func (m *RequestLog) GetVersionId() string { | ||
437 | if m != nil && m.VersionId != nil { | ||
438 | return *m.VersionId | ||
439 | } | ||
440 | return "" | ||
441 | } | ||
442 | |||
443 | func (m *RequestLog) GetRequestId() []byte { | ||
444 | if m != nil { | ||
445 | return m.RequestId | ||
446 | } | ||
447 | return nil | ||
448 | } | ||
449 | |||
450 | func (m *RequestLog) GetOffset() *LogOffset { | ||
451 | if m != nil { | ||
452 | return m.Offset | ||
453 | } | ||
454 | return nil | ||
455 | } | ||
456 | |||
457 | func (m *RequestLog) GetIp() string { | ||
458 | if m != nil && m.Ip != nil { | ||
459 | return *m.Ip | ||
460 | } | ||
461 | return "" | ||
462 | } | ||
463 | |||
464 | func (m *RequestLog) GetNickname() string { | ||
465 | if m != nil && m.Nickname != nil { | ||
466 | return *m.Nickname | ||
467 | } | ||
468 | return "" | ||
469 | } | ||
470 | |||
471 | func (m *RequestLog) GetStartTime() int64 { | ||
472 | if m != nil && m.StartTime != nil { | ||
473 | return *m.StartTime | ||
474 | } | ||
475 | return 0 | ||
476 | } | ||
477 | |||
478 | func (m *RequestLog) GetEndTime() int64 { | ||
479 | if m != nil && m.EndTime != nil { | ||
480 | return *m.EndTime | ||
481 | } | ||
482 | return 0 | ||
483 | } | ||
484 | |||
485 | func (m *RequestLog) GetLatency() int64 { | ||
486 | if m != nil && m.Latency != nil { | ||
487 | return *m.Latency | ||
488 | } | ||
489 | return 0 | ||
490 | } | ||
491 | |||
492 | func (m *RequestLog) GetMcycles() int64 { | ||
493 | if m != nil && m.Mcycles != nil { | ||
494 | return *m.Mcycles | ||
495 | } | ||
496 | return 0 | ||
497 | } | ||
498 | |||
499 | func (m *RequestLog) GetMethod() string { | ||
500 | if m != nil && m.Method != nil { | ||
501 | return *m.Method | ||
502 | } | ||
503 | return "" | ||
504 | } | ||
505 | |||
506 | func (m *RequestLog) GetResource() string { | ||
507 | if m != nil && m.Resource != nil { | ||
508 | return *m.Resource | ||
509 | } | ||
510 | return "" | ||
511 | } | ||
512 | |||
513 | func (m *RequestLog) GetHttpVersion() string { | ||
514 | if m != nil && m.HttpVersion != nil { | ||
515 | return *m.HttpVersion | ||
516 | } | ||
517 | return "" | ||
518 | } | ||
519 | |||
520 | func (m *RequestLog) GetStatus() int32 { | ||
521 | if m != nil && m.Status != nil { | ||
522 | return *m.Status | ||
523 | } | ||
524 | return 0 | ||
525 | } | ||
526 | |||
527 | func (m *RequestLog) GetResponseSize() int64 { | ||
528 | if m != nil && m.ResponseSize != nil { | ||
529 | return *m.ResponseSize | ||
530 | } | ||
531 | return 0 | ||
532 | } | ||
533 | |||
534 | func (m *RequestLog) GetReferrer() string { | ||
535 | if m != nil && m.Referrer != nil { | ||
536 | return *m.Referrer | ||
537 | } | ||
538 | return "" | ||
539 | } | ||
540 | |||
541 | func (m *RequestLog) GetUserAgent() string { | ||
542 | if m != nil && m.UserAgent != nil { | ||
543 | return *m.UserAgent | ||
544 | } | ||
545 | return "" | ||
546 | } | ||
547 | |||
548 | func (m *RequestLog) GetUrlMapEntry() string { | ||
549 | if m != nil && m.UrlMapEntry != nil { | ||
550 | return *m.UrlMapEntry | ||
551 | } | ||
552 | return "" | ||
553 | } | ||
554 | |||
555 | func (m *RequestLog) GetCombined() string { | ||
556 | if m != nil && m.Combined != nil { | ||
557 | return *m.Combined | ||
558 | } | ||
559 | return "" | ||
560 | } | ||
561 | |||
562 | func (m *RequestLog) GetApiMcycles() int64 { | ||
563 | if m != nil && m.ApiMcycles != nil { | ||
564 | return *m.ApiMcycles | ||
565 | } | ||
566 | return 0 | ||
567 | } | ||
568 | |||
569 | func (m *RequestLog) GetHost() string { | ||
570 | if m != nil && m.Host != nil { | ||
571 | return *m.Host | ||
572 | } | ||
573 | return "" | ||
574 | } | ||
575 | |||
576 | func (m *RequestLog) GetCost() float64 { | ||
577 | if m != nil && m.Cost != nil { | ||
578 | return *m.Cost | ||
579 | } | ||
580 | return 0 | ||
581 | } | ||
582 | |||
583 | func (m *RequestLog) GetTaskQueueName() string { | ||
584 | if m != nil && m.TaskQueueName != nil { | ||
585 | return *m.TaskQueueName | ||
586 | } | ||
587 | return "" | ||
588 | } | ||
589 | |||
590 | func (m *RequestLog) GetTaskName() string { | ||
591 | if m != nil && m.TaskName != nil { | ||
592 | return *m.TaskName | ||
593 | } | ||
594 | return "" | ||
595 | } | ||
596 | |||
597 | func (m *RequestLog) GetWasLoadingRequest() bool { | ||
598 | if m != nil && m.WasLoadingRequest != nil { | ||
599 | return *m.WasLoadingRequest | ||
600 | } | ||
601 | return false | ||
602 | } | ||
603 | |||
604 | func (m *RequestLog) GetPendingTime() int64 { | ||
605 | if m != nil && m.PendingTime != nil { | ||
606 | return *m.PendingTime | ||
607 | } | ||
608 | return 0 | ||
609 | } | ||
610 | |||
611 | func (m *RequestLog) GetReplicaIndex() int32 { | ||
612 | if m != nil && m.ReplicaIndex != nil { | ||
613 | return *m.ReplicaIndex | ||
614 | } | ||
615 | return Default_RequestLog_ReplicaIndex | ||
616 | } | ||
617 | |||
618 | func (m *RequestLog) GetFinished() bool { | ||
619 | if m != nil && m.Finished != nil { | ||
620 | return *m.Finished | ||
621 | } | ||
622 | return Default_RequestLog_Finished | ||
623 | } | ||
624 | |||
625 | func (m *RequestLog) GetCloneKey() []byte { | ||
626 | if m != nil { | ||
627 | return m.CloneKey | ||
628 | } | ||
629 | return nil | ||
630 | } | ||
631 | |||
632 | func (m *RequestLog) GetLine() []*LogLine { | ||
633 | if m != nil { | ||
634 | return m.Line | ||
635 | } | ||
636 | return nil | ||
637 | } | ||
638 | |||
639 | func (m *RequestLog) GetLinesIncomplete() bool { | ||
640 | if m != nil && m.LinesIncomplete != nil { | ||
641 | return *m.LinesIncomplete | ||
642 | } | ||
643 | return false | ||
644 | } | ||
645 | |||
646 | func (m *RequestLog) GetAppEngineRelease() []byte { | ||
647 | if m != nil { | ||
648 | return m.AppEngineRelease | ||
649 | } | ||
650 | return nil | ||
651 | } | ||
652 | |||
653 | func (m *RequestLog) GetExitReason() int32 { | ||
654 | if m != nil && m.ExitReason != nil { | ||
655 | return *m.ExitReason | ||
656 | } | ||
657 | return 0 | ||
658 | } | ||
659 | |||
660 | func (m *RequestLog) GetWasThrottledForTime() bool { | ||
661 | if m != nil && m.WasThrottledForTime != nil { | ||
662 | return *m.WasThrottledForTime | ||
663 | } | ||
664 | return false | ||
665 | } | ||
666 | |||
667 | func (m *RequestLog) GetWasThrottledForRequests() bool { | ||
668 | if m != nil && m.WasThrottledForRequests != nil { | ||
669 | return *m.WasThrottledForRequests | ||
670 | } | ||
671 | return false | ||
672 | } | ||
673 | |||
674 | func (m *RequestLog) GetThrottledTime() int64 { | ||
675 | if m != nil && m.ThrottledTime != nil { | ||
676 | return *m.ThrottledTime | ||
677 | } | ||
678 | return 0 | ||
679 | } | ||
680 | |||
681 | func (m *RequestLog) GetServerName() []byte { | ||
682 | if m != nil { | ||
683 | return m.ServerName | ||
684 | } | ||
685 | return nil | ||
686 | } | ||
687 | |||
688 | type LogModuleVersion struct { | ||
689 | ModuleId *string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"` | ||
690 | VersionId *string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"` | ||
691 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
692 | XXX_unrecognized []byte `json:"-"` | ||
693 | XXX_sizecache int32 `json:"-"` | ||
694 | } | ||
695 | |||
696 | func (m *LogModuleVersion) Reset() { *m = LogModuleVersion{} } | ||
697 | func (m *LogModuleVersion) String() string { return proto.CompactTextString(m) } | ||
698 | func (*LogModuleVersion) ProtoMessage() {} | ||
699 | func (*LogModuleVersion) Descriptor() ([]byte, []int) { | ||
700 | return fileDescriptor_log_service_f054fd4b5012319d, []int{8} | ||
701 | } | ||
702 | func (m *LogModuleVersion) XXX_Unmarshal(b []byte) error { | ||
703 | return xxx_messageInfo_LogModuleVersion.Unmarshal(m, b) | ||
704 | } | ||
705 | func (m *LogModuleVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
706 | return xxx_messageInfo_LogModuleVersion.Marshal(b, m, deterministic) | ||
707 | } | ||
708 | func (dst *LogModuleVersion) XXX_Merge(src proto.Message) { | ||
709 | xxx_messageInfo_LogModuleVersion.Merge(dst, src) | ||
710 | } | ||
711 | func (m *LogModuleVersion) XXX_Size() int { | ||
712 | return xxx_messageInfo_LogModuleVersion.Size(m) | ||
713 | } | ||
714 | func (m *LogModuleVersion) XXX_DiscardUnknown() { | ||
715 | xxx_messageInfo_LogModuleVersion.DiscardUnknown(m) | ||
716 | } | ||
717 | |||
718 | var xxx_messageInfo_LogModuleVersion proto.InternalMessageInfo | ||
719 | |||
720 | const Default_LogModuleVersion_ModuleId string = "default" | ||
721 | |||
722 | func (m *LogModuleVersion) GetModuleId() string { | ||
723 | if m != nil && m.ModuleId != nil { | ||
724 | return *m.ModuleId | ||
725 | } | ||
726 | return Default_LogModuleVersion_ModuleId | ||
727 | } | ||
728 | |||
729 | func (m *LogModuleVersion) GetVersionId() string { | ||
730 | if m != nil && m.VersionId != nil { | ||
731 | return *m.VersionId | ||
732 | } | ||
733 | return "" | ||
734 | } | ||
735 | |||
736 | type LogReadRequest struct { | ||
737 | AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"` | ||
738 | VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"` | ||
739 | ModuleVersion []*LogModuleVersion `protobuf:"bytes,19,rep,name=module_version,json=moduleVersion" json:"module_version,omitempty"` | ||
740 | StartTime *int64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` | ||
741 | EndTime *int64 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"` | ||
742 | Offset *LogOffset `protobuf:"bytes,5,opt,name=offset" json:"offset,omitempty"` | ||
743 | RequestId [][]byte `protobuf:"bytes,6,rep,name=request_id,json=requestId" json:"request_id,omitempty"` | ||
744 | MinimumLogLevel *int32 `protobuf:"varint,7,opt,name=minimum_log_level,json=minimumLogLevel" json:"minimum_log_level,omitempty"` | ||
745 | IncludeIncomplete *bool `protobuf:"varint,8,opt,name=include_incomplete,json=includeIncomplete" json:"include_incomplete,omitempty"` | ||
746 | Count *int64 `protobuf:"varint,9,opt,name=count" json:"count,omitempty"` | ||
747 | CombinedLogRegex *string `protobuf:"bytes,14,opt,name=combined_log_regex,json=combinedLogRegex" json:"combined_log_regex,omitempty"` | ||
748 | HostRegex *string `protobuf:"bytes,15,opt,name=host_regex,json=hostRegex" json:"host_regex,omitempty"` | ||
749 | ReplicaIndex *int32 `protobuf:"varint,16,opt,name=replica_index,json=replicaIndex" json:"replica_index,omitempty"` | ||
750 | IncludeAppLogs *bool `protobuf:"varint,10,opt,name=include_app_logs,json=includeAppLogs" json:"include_app_logs,omitempty"` | ||
751 | AppLogsPerRequest *int32 `protobuf:"varint,17,opt,name=app_logs_per_request,json=appLogsPerRequest" json:"app_logs_per_request,omitempty"` | ||
752 | IncludeHost *bool `protobuf:"varint,11,opt,name=include_host,json=includeHost" json:"include_host,omitempty"` | ||
753 | IncludeAll *bool `protobuf:"varint,12,opt,name=include_all,json=includeAll" json:"include_all,omitempty"` | ||
754 | CacheIterator *bool `protobuf:"varint,13,opt,name=cache_iterator,json=cacheIterator" json:"cache_iterator,omitempty"` | ||
755 | NumShards *int32 `protobuf:"varint,18,opt,name=num_shards,json=numShards" json:"num_shards,omitempty"` | ||
756 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
757 | XXX_unrecognized []byte `json:"-"` | ||
758 | XXX_sizecache int32 `json:"-"` | ||
759 | } | ||
760 | |||
761 | func (m *LogReadRequest) Reset() { *m = LogReadRequest{} } | ||
762 | func (m *LogReadRequest) String() string { return proto.CompactTextString(m) } | ||
763 | func (*LogReadRequest) ProtoMessage() {} | ||
764 | func (*LogReadRequest) Descriptor() ([]byte, []int) { | ||
765 | return fileDescriptor_log_service_f054fd4b5012319d, []int{9} | ||
766 | } | ||
767 | func (m *LogReadRequest) XXX_Unmarshal(b []byte) error { | ||
768 | return xxx_messageInfo_LogReadRequest.Unmarshal(m, b) | ||
769 | } | ||
770 | func (m *LogReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
771 | return xxx_messageInfo_LogReadRequest.Marshal(b, m, deterministic) | ||
772 | } | ||
773 | func (dst *LogReadRequest) XXX_Merge(src proto.Message) { | ||
774 | xxx_messageInfo_LogReadRequest.Merge(dst, src) | ||
775 | } | ||
776 | func (m *LogReadRequest) XXX_Size() int { | ||
777 | return xxx_messageInfo_LogReadRequest.Size(m) | ||
778 | } | ||
779 | func (m *LogReadRequest) XXX_DiscardUnknown() { | ||
780 | xxx_messageInfo_LogReadRequest.DiscardUnknown(m) | ||
781 | } | ||
782 | |||
783 | var xxx_messageInfo_LogReadRequest proto.InternalMessageInfo | ||
784 | |||
785 | func (m *LogReadRequest) GetAppId() string { | ||
786 | if m != nil && m.AppId != nil { | ||
787 | return *m.AppId | ||
788 | } | ||
789 | return "" | ||
790 | } | ||
791 | |||
792 | func (m *LogReadRequest) GetVersionId() []string { | ||
793 | if m != nil { | ||
794 | return m.VersionId | ||
795 | } | ||
796 | return nil | ||
797 | } | ||
798 | |||
799 | func (m *LogReadRequest) GetModuleVersion() []*LogModuleVersion { | ||
800 | if m != nil { | ||
801 | return m.ModuleVersion | ||
802 | } | ||
803 | return nil | ||
804 | } | ||
805 | |||
806 | func (m *LogReadRequest) GetStartTime() int64 { | ||
807 | if m != nil && m.StartTime != nil { | ||
808 | return *m.StartTime | ||
809 | } | ||
810 | return 0 | ||
811 | } | ||
812 | |||
813 | func (m *LogReadRequest) GetEndTime() int64 { | ||
814 | if m != nil && m.EndTime != nil { | ||
815 | return *m.EndTime | ||
816 | } | ||
817 | return 0 | ||
818 | } | ||
819 | |||
820 | func (m *LogReadRequest) GetOffset() *LogOffset { | ||
821 | if m != nil { | ||
822 | return m.Offset | ||
823 | } | ||
824 | return nil | ||
825 | } | ||
826 | |||
827 | func (m *LogReadRequest) GetRequestId() [][]byte { | ||
828 | if m != nil { | ||
829 | return m.RequestId | ||
830 | } | ||
831 | return nil | ||
832 | } | ||
833 | |||
834 | func (m *LogReadRequest) GetMinimumLogLevel() int32 { | ||
835 | if m != nil && m.MinimumLogLevel != nil { | ||
836 | return *m.MinimumLogLevel | ||
837 | } | ||
838 | return 0 | ||
839 | } | ||
840 | |||
841 | func (m *LogReadRequest) GetIncludeIncomplete() bool { | ||
842 | if m != nil && m.IncludeIncomplete != nil { | ||
843 | return *m.IncludeIncomplete | ||
844 | } | ||
845 | return false | ||
846 | } | ||
847 | |||
848 | func (m *LogReadRequest) GetCount() int64 { | ||
849 | if m != nil && m.Count != nil { | ||
850 | return *m.Count | ||
851 | } | ||
852 | return 0 | ||
853 | } | ||
854 | |||
855 | func (m *LogReadRequest) GetCombinedLogRegex() string { | ||
856 | if m != nil && m.CombinedLogRegex != nil { | ||
857 | return *m.CombinedLogRegex | ||
858 | } | ||
859 | return "" | ||
860 | } | ||
861 | |||
862 | func (m *LogReadRequest) GetHostRegex() string { | ||
863 | if m != nil && m.HostRegex != nil { | ||
864 | return *m.HostRegex | ||
865 | } | ||
866 | return "" | ||
867 | } | ||
868 | |||
869 | func (m *LogReadRequest) GetReplicaIndex() int32 { | ||
870 | if m != nil && m.ReplicaIndex != nil { | ||
871 | return *m.ReplicaIndex | ||
872 | } | ||
873 | return 0 | ||
874 | } | ||
875 | |||
876 | func (m *LogReadRequest) GetIncludeAppLogs() bool { | ||
877 | if m != nil && m.IncludeAppLogs != nil { | ||
878 | return *m.IncludeAppLogs | ||
879 | } | ||
880 | return false | ||
881 | } | ||
882 | |||
883 | func (m *LogReadRequest) GetAppLogsPerRequest() int32 { | ||
884 | if m != nil && m.AppLogsPerRequest != nil { | ||
885 | return *m.AppLogsPerRequest | ||
886 | } | ||
887 | return 0 | ||
888 | } | ||
889 | |||
890 | func (m *LogReadRequest) GetIncludeHost() bool { | ||
891 | if m != nil && m.IncludeHost != nil { | ||
892 | return *m.IncludeHost | ||
893 | } | ||
894 | return false | ||
895 | } | ||
896 | |||
897 | func (m *LogReadRequest) GetIncludeAll() bool { | ||
898 | if m != nil && m.IncludeAll != nil { | ||
899 | return *m.IncludeAll | ||
900 | } | ||
901 | return false | ||
902 | } | ||
903 | |||
904 | func (m *LogReadRequest) GetCacheIterator() bool { | ||
905 | if m != nil && m.CacheIterator != nil { | ||
906 | return *m.CacheIterator | ||
907 | } | ||
908 | return false | ||
909 | } | ||
910 | |||
911 | func (m *LogReadRequest) GetNumShards() int32 { | ||
912 | if m != nil && m.NumShards != nil { | ||
913 | return *m.NumShards | ||
914 | } | ||
915 | return 0 | ||
916 | } | ||
917 | |||
918 | type LogReadResponse struct { | ||
919 | Log []*RequestLog `protobuf:"bytes,1,rep,name=log" json:"log,omitempty"` | ||
920 | Offset *LogOffset `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"` | ||
921 | LastEndTime *int64 `protobuf:"varint,3,opt,name=last_end_time,json=lastEndTime" json:"last_end_time,omitempty"` | ||
922 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
923 | XXX_unrecognized []byte `json:"-"` | ||
924 | XXX_sizecache int32 `json:"-"` | ||
925 | } | ||
926 | |||
927 | func (m *LogReadResponse) Reset() { *m = LogReadResponse{} } | ||
928 | func (m *LogReadResponse) String() string { return proto.CompactTextString(m) } | ||
929 | func (*LogReadResponse) ProtoMessage() {} | ||
930 | func (*LogReadResponse) Descriptor() ([]byte, []int) { | ||
931 | return fileDescriptor_log_service_f054fd4b5012319d, []int{10} | ||
932 | } | ||
933 | func (m *LogReadResponse) XXX_Unmarshal(b []byte) error { | ||
934 | return xxx_messageInfo_LogReadResponse.Unmarshal(m, b) | ||
935 | } | ||
936 | func (m *LogReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
937 | return xxx_messageInfo_LogReadResponse.Marshal(b, m, deterministic) | ||
938 | } | ||
939 | func (dst *LogReadResponse) XXX_Merge(src proto.Message) { | ||
940 | xxx_messageInfo_LogReadResponse.Merge(dst, src) | ||
941 | } | ||
942 | func (m *LogReadResponse) XXX_Size() int { | ||
943 | return xxx_messageInfo_LogReadResponse.Size(m) | ||
944 | } | ||
945 | func (m *LogReadResponse) XXX_DiscardUnknown() { | ||
946 | xxx_messageInfo_LogReadResponse.DiscardUnknown(m) | ||
947 | } | ||
948 | |||
949 | var xxx_messageInfo_LogReadResponse proto.InternalMessageInfo | ||
950 | |||
951 | func (m *LogReadResponse) GetLog() []*RequestLog { | ||
952 | if m != nil { | ||
953 | return m.Log | ||
954 | } | ||
955 | return nil | ||
956 | } | ||
957 | |||
958 | func (m *LogReadResponse) GetOffset() *LogOffset { | ||
959 | if m != nil { | ||
960 | return m.Offset | ||
961 | } | ||
962 | return nil | ||
963 | } | ||
964 | |||
965 | func (m *LogReadResponse) GetLastEndTime() int64 { | ||
966 | if m != nil && m.LastEndTime != nil { | ||
967 | return *m.LastEndTime | ||
968 | } | ||
969 | return 0 | ||
970 | } | ||
971 | |||
972 | type LogUsageRecord struct { | ||
973 | VersionId *string `protobuf:"bytes,1,opt,name=version_id,json=versionId" json:"version_id,omitempty"` | ||
974 | StartTime *int32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"` | ||
975 | EndTime *int32 `protobuf:"varint,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"` | ||
976 | Count *int64 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"` | ||
977 | TotalSize *int64 `protobuf:"varint,5,opt,name=total_size,json=totalSize" json:"total_size,omitempty"` | ||
978 | Records *int32 `protobuf:"varint,6,opt,name=records" json:"records,omitempty"` | ||
979 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
980 | XXX_unrecognized []byte `json:"-"` | ||
981 | XXX_sizecache int32 `json:"-"` | ||
982 | } | ||
983 | |||
984 | func (m *LogUsageRecord) Reset() { *m = LogUsageRecord{} } | ||
985 | func (m *LogUsageRecord) String() string { return proto.CompactTextString(m) } | ||
986 | func (*LogUsageRecord) ProtoMessage() {} | ||
987 | func (*LogUsageRecord) Descriptor() ([]byte, []int) { | ||
988 | return fileDescriptor_log_service_f054fd4b5012319d, []int{11} | ||
989 | } | ||
990 | func (m *LogUsageRecord) XXX_Unmarshal(b []byte) error { | ||
991 | return xxx_messageInfo_LogUsageRecord.Unmarshal(m, b) | ||
992 | } | ||
993 | func (m *LogUsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
994 | return xxx_messageInfo_LogUsageRecord.Marshal(b, m, deterministic) | ||
995 | } | ||
996 | func (dst *LogUsageRecord) XXX_Merge(src proto.Message) { | ||
997 | xxx_messageInfo_LogUsageRecord.Merge(dst, src) | ||
998 | } | ||
999 | func (m *LogUsageRecord) XXX_Size() int { | ||
1000 | return xxx_messageInfo_LogUsageRecord.Size(m) | ||
1001 | } | ||
1002 | func (m *LogUsageRecord) XXX_DiscardUnknown() { | ||
1003 | xxx_messageInfo_LogUsageRecord.DiscardUnknown(m) | ||
1004 | } | ||
1005 | |||
1006 | var xxx_messageInfo_LogUsageRecord proto.InternalMessageInfo | ||
1007 | |||
1008 | func (m *LogUsageRecord) GetVersionId() string { | ||
1009 | if m != nil && m.VersionId != nil { | ||
1010 | return *m.VersionId | ||
1011 | } | ||
1012 | return "" | ||
1013 | } | ||
1014 | |||
1015 | func (m *LogUsageRecord) GetStartTime() int32 { | ||
1016 | if m != nil && m.StartTime != nil { | ||
1017 | return *m.StartTime | ||
1018 | } | ||
1019 | return 0 | ||
1020 | } | ||
1021 | |||
1022 | func (m *LogUsageRecord) GetEndTime() int32 { | ||
1023 | if m != nil && m.EndTime != nil { | ||
1024 | return *m.EndTime | ||
1025 | } | ||
1026 | return 0 | ||
1027 | } | ||
1028 | |||
1029 | func (m *LogUsageRecord) GetCount() int64 { | ||
1030 | if m != nil && m.Count != nil { | ||
1031 | return *m.Count | ||
1032 | } | ||
1033 | return 0 | ||
1034 | } | ||
1035 | |||
1036 | func (m *LogUsageRecord) GetTotalSize() int64 { | ||
1037 | if m != nil && m.TotalSize != nil { | ||
1038 | return *m.TotalSize | ||
1039 | } | ||
1040 | return 0 | ||
1041 | } | ||
1042 | |||
1043 | func (m *LogUsageRecord) GetRecords() int32 { | ||
1044 | if m != nil && m.Records != nil { | ||
1045 | return *m.Records | ||
1046 | } | ||
1047 | return 0 | ||
1048 | } | ||
1049 | |||
1050 | type LogUsageRequest struct { | ||
1051 | AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"` | ||
1052 | VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"` | ||
1053 | StartTime *int32 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` | ||
1054 | EndTime *int32 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"` | ||
1055 | ResolutionHours *uint32 `protobuf:"varint,5,opt,name=resolution_hours,json=resolutionHours,def=1" json:"resolution_hours,omitempty"` | ||
1056 | CombineVersions *bool `protobuf:"varint,6,opt,name=combine_versions,json=combineVersions" json:"combine_versions,omitempty"` | ||
1057 | UsageVersion *int32 `protobuf:"varint,7,opt,name=usage_version,json=usageVersion" json:"usage_version,omitempty"` | ||
1058 | VersionsOnly *bool `protobuf:"varint,8,opt,name=versions_only,json=versionsOnly" json:"versions_only,omitempty"` | ||
1059 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1060 | XXX_unrecognized []byte `json:"-"` | ||
1061 | XXX_sizecache int32 `json:"-"` | ||
1062 | } | ||
1063 | |||
1064 | func (m *LogUsageRequest) Reset() { *m = LogUsageRequest{} } | ||
1065 | func (m *LogUsageRequest) String() string { return proto.CompactTextString(m) } | ||
1066 | func (*LogUsageRequest) ProtoMessage() {} | ||
1067 | func (*LogUsageRequest) Descriptor() ([]byte, []int) { | ||
1068 | return fileDescriptor_log_service_f054fd4b5012319d, []int{12} | ||
1069 | } | ||
1070 | func (m *LogUsageRequest) XXX_Unmarshal(b []byte) error { | ||
1071 | return xxx_messageInfo_LogUsageRequest.Unmarshal(m, b) | ||
1072 | } | ||
1073 | func (m *LogUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1074 | return xxx_messageInfo_LogUsageRequest.Marshal(b, m, deterministic) | ||
1075 | } | ||
1076 | func (dst *LogUsageRequest) XXX_Merge(src proto.Message) { | ||
1077 | xxx_messageInfo_LogUsageRequest.Merge(dst, src) | ||
1078 | } | ||
1079 | func (m *LogUsageRequest) XXX_Size() int { | ||
1080 | return xxx_messageInfo_LogUsageRequest.Size(m) | ||
1081 | } | ||
1082 | func (m *LogUsageRequest) XXX_DiscardUnknown() { | ||
1083 | xxx_messageInfo_LogUsageRequest.DiscardUnknown(m) | ||
1084 | } | ||
1085 | |||
1086 | var xxx_messageInfo_LogUsageRequest proto.InternalMessageInfo | ||
1087 | |||
1088 | const Default_LogUsageRequest_ResolutionHours uint32 = 1 | ||
1089 | |||
1090 | func (m *LogUsageRequest) GetAppId() string { | ||
1091 | if m != nil && m.AppId != nil { | ||
1092 | return *m.AppId | ||
1093 | } | ||
1094 | return "" | ||
1095 | } | ||
1096 | |||
1097 | func (m *LogUsageRequest) GetVersionId() []string { | ||
1098 | if m != nil { | ||
1099 | return m.VersionId | ||
1100 | } | ||
1101 | return nil | ||
1102 | } | ||
1103 | |||
1104 | func (m *LogUsageRequest) GetStartTime() int32 { | ||
1105 | if m != nil && m.StartTime != nil { | ||
1106 | return *m.StartTime | ||
1107 | } | ||
1108 | return 0 | ||
1109 | } | ||
1110 | |||
1111 | func (m *LogUsageRequest) GetEndTime() int32 { | ||
1112 | if m != nil && m.EndTime != nil { | ||
1113 | return *m.EndTime | ||
1114 | } | ||
1115 | return 0 | ||
1116 | } | ||
1117 | |||
1118 | func (m *LogUsageRequest) GetResolutionHours() uint32 { | ||
1119 | if m != nil && m.ResolutionHours != nil { | ||
1120 | return *m.ResolutionHours | ||
1121 | } | ||
1122 | return Default_LogUsageRequest_ResolutionHours | ||
1123 | } | ||
1124 | |||
1125 | func (m *LogUsageRequest) GetCombineVersions() bool { | ||
1126 | if m != nil && m.CombineVersions != nil { | ||
1127 | return *m.CombineVersions | ||
1128 | } | ||
1129 | return false | ||
1130 | } | ||
1131 | |||
1132 | func (m *LogUsageRequest) GetUsageVersion() int32 { | ||
1133 | if m != nil && m.UsageVersion != nil { | ||
1134 | return *m.UsageVersion | ||
1135 | } | ||
1136 | return 0 | ||
1137 | } | ||
1138 | |||
1139 | func (m *LogUsageRequest) GetVersionsOnly() bool { | ||
1140 | if m != nil && m.VersionsOnly != nil { | ||
1141 | return *m.VersionsOnly | ||
1142 | } | ||
1143 | return false | ||
1144 | } | ||
1145 | |||
1146 | type LogUsageResponse struct { | ||
1147 | Usage []*LogUsageRecord `protobuf:"bytes,1,rep,name=usage" json:"usage,omitempty"` | ||
1148 | Summary *LogUsageRecord `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` | ||
1149 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1150 | XXX_unrecognized []byte `json:"-"` | ||
1151 | XXX_sizecache int32 `json:"-"` | ||
1152 | } | ||
1153 | |||
1154 | func (m *LogUsageResponse) Reset() { *m = LogUsageResponse{} } | ||
1155 | func (m *LogUsageResponse) String() string { return proto.CompactTextString(m) } | ||
1156 | func (*LogUsageResponse) ProtoMessage() {} | ||
1157 | func (*LogUsageResponse) Descriptor() ([]byte, []int) { | ||
1158 | return fileDescriptor_log_service_f054fd4b5012319d, []int{13} | ||
1159 | } | ||
1160 | func (m *LogUsageResponse) XXX_Unmarshal(b []byte) error { | ||
1161 | return xxx_messageInfo_LogUsageResponse.Unmarshal(m, b) | ||
1162 | } | ||
1163 | func (m *LogUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1164 | return xxx_messageInfo_LogUsageResponse.Marshal(b, m, deterministic) | ||
1165 | } | ||
1166 | func (dst *LogUsageResponse) XXX_Merge(src proto.Message) { | ||
1167 | xxx_messageInfo_LogUsageResponse.Merge(dst, src) | ||
1168 | } | ||
1169 | func (m *LogUsageResponse) XXX_Size() int { | ||
1170 | return xxx_messageInfo_LogUsageResponse.Size(m) | ||
1171 | } | ||
1172 | func (m *LogUsageResponse) XXX_DiscardUnknown() { | ||
1173 | xxx_messageInfo_LogUsageResponse.DiscardUnknown(m) | ||
1174 | } | ||
1175 | |||
1176 | var xxx_messageInfo_LogUsageResponse proto.InternalMessageInfo | ||
1177 | |||
1178 | func (m *LogUsageResponse) GetUsage() []*LogUsageRecord { | ||
1179 | if m != nil { | ||
1180 | return m.Usage | ||
1181 | } | ||
1182 | return nil | ||
1183 | } | ||
1184 | |||
1185 | func (m *LogUsageResponse) GetSummary() *LogUsageRecord { | ||
1186 | if m != nil { | ||
1187 | return m.Summary | ||
1188 | } | ||
1189 | return nil | ||
1190 | } | ||
1191 | |||
1192 | func init() { | ||
1193 | proto.RegisterType((*LogServiceError)(nil), "appengine.LogServiceError") | ||
1194 | proto.RegisterType((*UserAppLogLine)(nil), "appengine.UserAppLogLine") | ||
1195 | proto.RegisterType((*UserAppLogGroup)(nil), "appengine.UserAppLogGroup") | ||
1196 | proto.RegisterType((*FlushRequest)(nil), "appengine.FlushRequest") | ||
1197 | proto.RegisterType((*SetStatusRequest)(nil), "appengine.SetStatusRequest") | ||
1198 | proto.RegisterType((*LogOffset)(nil), "appengine.LogOffset") | ||
1199 | proto.RegisterType((*LogLine)(nil), "appengine.LogLine") | ||
1200 | proto.RegisterType((*RequestLog)(nil), "appengine.RequestLog") | ||
1201 | proto.RegisterType((*LogModuleVersion)(nil), "appengine.LogModuleVersion") | ||
1202 | proto.RegisterType((*LogReadRequest)(nil), "appengine.LogReadRequest") | ||
1203 | proto.RegisterType((*LogReadResponse)(nil), "appengine.LogReadResponse") | ||
1204 | proto.RegisterType((*LogUsageRecord)(nil), "appengine.LogUsageRecord") | ||
1205 | proto.RegisterType((*LogUsageRequest)(nil), "appengine.LogUsageRequest") | ||
1206 | proto.RegisterType((*LogUsageResponse)(nil), "appengine.LogUsageResponse") | ||
1207 | } | ||
1208 | |||
1209 | func init() { | ||
1210 | proto.RegisterFile("google.golang.org/appengine/internal/log/log_service.proto", fileDescriptor_log_service_f054fd4b5012319d) | ||
1211 | } | ||
1212 | |||
1213 | var fileDescriptor_log_service_f054fd4b5012319d = []byte{ | ||
1214 | // 1553 bytes of a gzipped FileDescriptorProto | ||
1215 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x72, 0xdb, 0xc6, | ||
1216 | 0x15, 0x2e, 0x48, 0x51, 0x24, 0x0f, 0x49, 0x91, 0x5a, 0xcb, 0xce, 0xda, 0xae, 0x6b, 0x1a, 0x4e, | ||
1217 | 0x1c, 0xd6, 0x93, 0x48, 0x93, 0xa4, 0x57, 0xca, 0x95, 0xd3, 0x2a, 0x8e, 0x26, 0xb4, 0xd5, 0x40, | ||
1218 | 0x72, 0x3a, 0xd3, 0x1b, 0x0c, 0x0a, 0x1c, 0x81, 0x18, 0x2f, 0xb1, 0xc8, 0xee, 0xc2, 0x91, 0x72, | ||
1219 | 0xdb, 0xdb, 0x3e, 0x46, 0x1f, 0xa2, 0xaf, 0xd2, 0xb7, 0xe9, 0xec, 0xd9, 0x05, 0x44, 0x2a, 0x4d, | ||
1220 | 0xc6, 0x33, 0xb9, 0xe0, 0x10, 0xfb, 0x9d, 0x83, 0xdd, 0xf3, 0xf3, 0x9d, 0x6f, 0x01, 0xc7, 0xb9, | ||
1221 | 0x94, 0xb9, 0xc0, 0xc3, 0x5c, 0x8a, 0xa4, 0xcc, 0x0f, 0xa5, 0xca, 0x8f, 0x92, 0xaa, 0xc2, 0x32, | ||
1222 | 0x2f, 0x4a, 0x3c, 0x2a, 0x4a, 0x83, 0xaa, 0x4c, 0xc4, 0x91, 0x90, 0xb9, 0xfd, 0xc5, 0x1a, 0xd5, | ||
1223 | 0xbb, 0x22, 0xc5, 0xc3, 0x4a, 0x49, 0x23, 0xd9, 0xb0, 0xf5, 0x0c, 0x5f, 0xc3, 0x74, 0x29, 0xf3, | ||
1224 | 0x73, 0x67, 0x3e, 0x51, 0x4a, 0xaa, 0xf0, 0x4b, 0x18, 0xd2, 0xc3, 0x9f, 0x65, 0x86, 0x6c, 0x17, | ||
1225 | 0x3a, 0x67, 0xdf, 0xce, 0x7e, 0xc7, 0xee, 0xc0, 0xf4, 0xf4, 0xf5, 0xf7, 0x2f, 0x96, 0xa7, 0x7f, | ||
1226 | 0x89, 0xa3, 0x93, 0xef, 0xde, 0x9c, 0x9c, 0x5f, 0xcc, 0x02, 0xb6, 0x0f, 0x93, 0xf3, 0x8b, 0xb3, | ||
1227 | 0xe8, 0xc5, 0xcb, 0x93, 0xf8, 0x24, 0x8a, 0xce, 0xa2, 0x59, 0x27, 0xcc, 0x61, 0xef, 0x8d, 0x46, | ||
1228 | 0xf5, 0xa2, 0xaa, 0x96, 0x32, 0x5f, 0x16, 0x25, 0xb2, 0x8f, 0x60, 0xcf, 0x14, 0x6b, 0xd4, 0x26, | ||
1229 | 0x59, 0x57, 0x71, 0xad, 0x31, 0xe5, 0xc1, 0xbc, 0xb3, 0xe8, 0x46, 0x93, 0x16, 0x7d, 0xa3, 0x31, | ||
1230 | 0x65, 0x07, 0xd0, 0x13, 0xf8, 0x0e, 0x05, 0xef, 0x90, 0xd5, 0x2d, 0x18, 0x87, 0xfe, 0x1a, 0xb5, | ||
1231 | 0x4e, 0x72, 0xe4, 0xdd, 0x79, 0x67, 0x31, 0x8c, 0x9a, 0x65, 0xf8, 0x12, 0xa6, 0x37, 0x07, 0xbd, | ||
1232 | 0x54, 0xb2, 0xae, 0xd8, 0x9f, 0x60, 0x60, 0x73, 0x15, 0x45, 0x89, 0xbc, 0x33, 0xef, 0x2e, 0x46, | ||
1233 | 0x9f, 0xdf, 0x3f, 0x6c, 0x33, 0x3d, 0xdc, 0x0e, 0x2b, 0xea, 0x0b, 0xf7, 0x10, 0x86, 0x30, 0xfe, | ||
1234 | 0x5a, 0xd4, 0x7a, 0x15, 0xe1, 0x0f, 0x35, 0x6a, 0xc3, 0x18, 0xec, 0x08, 0x99, 0x6b, 0x1e, 0xcc, | ||
1235 | 0x83, 0xc5, 0x38, 0xa2, 0xe7, 0xf0, 0x39, 0xcc, 0xce, 0xd1, 0x9c, 0x9b, 0xc4, 0xd4, 0xba, 0xf1, | ||
1236 | 0xbb, 0x07, 0xbb, 0x9a, 0x00, 0xca, 0x67, 0x18, 0xf9, 0x55, 0xf8, 0x1c, 0x86, 0x4b, 0x99, 0x9f, | ||
1237 | 0x5d, 0x5e, 0x6a, 0x34, 0xec, 0x11, 0x80, 0x72, 0xfe, 0x71, 0x91, 0xf9, 0x2d, 0x87, 0x1e, 0x39, | ||
1238 | 0xcd, 0xc2, 0x0b, 0xe8, 0x37, 0x65, 0x62, 0xb0, 0x63, 0x0b, 0xe2, 0x8b, 0x43, 0xcf, 0xdb, 0x35, | ||
1239 | 0xe9, 0x35, 0x35, 0x79, 0x0c, 0x23, 0x9b, 0xe6, 0x76, 0x5d, 0x40, 0xc8, 0xfc, 0x95, 0x2f, 0xcd, | ||
1240 | 0x3f, 0x01, 0xc0, 0x47, 0xb9, 0x94, 0x39, 0xbb, 0x0b, 0xbb, 0x49, 0x55, 0xb9, 0xf3, 0xad, 0x6b, | ||
1241 | 0x2f, 0xa9, 0xaa, 0xd3, 0x8c, 0x7d, 0x08, 0xc3, 0xb5, 0xcc, 0x6a, 0x81, 0xd6, 0xf2, 0xd1, 0x3c, | ||
1242 | 0x58, 0x0c, 0x8f, 0xfb, 0x19, 0x5e, 0x26, 0xb5, 0x30, 0xd1, 0xc0, 0x59, 0x4e, 0x33, 0x9b, 0xc0, | ||
1243 | 0x3b, 0x54, 0xba, 0x90, 0xa5, 0x75, 0xeb, 0xd0, 0x06, 0x43, 0x8f, 0x38, 0xf3, 0x46, 0x7e, 0x36, | ||
1244 | 0x94, 0xcd, 0xfc, 0xd8, 0x27, 0xb0, 0x2b, 0xa9, 0x10, 0xfc, 0xe9, 0x3c, 0x58, 0x8c, 0x3e, 0x3f, | ||
1245 | 0xd8, 0xe8, 0x47, 0x5b, 0xa4, 0xc8, 0xfb, 0xb0, 0x3d, 0xe8, 0x14, 0x15, 0xdf, 0xa1, 0x33, 0x3a, | ||
1246 | 0x45, 0xc5, 0x1e, 0xc0, 0xa0, 0x2c, 0xd2, 0xb7, 0x65, 0xb2, 0x46, 0xde, 0xb3, 0x01, 0x46, 0xed, | ||
1247 | 0xda, 0x1e, 0xac, 0x4d, 0xa2, 0x4c, 0x4c, 0x45, 0xdb, 0xa5, 0xa2, 0x0d, 0x09, 0xb9, 0xb0, 0x95, | ||
1248 | 0xbb, 0x0f, 0x03, 0x2c, 0x33, 0x67, 0xec, 0x93, 0xb1, 0x8f, 0x65, 0x46, 0x26, 0x0e, 0x7d, 0x91, | ||
1249 | 0x18, 0x2c, 0xd3, 0x6b, 0x3e, 0x70, 0x16, 0xbf, 0x24, 0xb2, 0xa5, 0xd7, 0xa9, 0x40, 0xcd, 0x87, | ||
1250 | 0xce, 0xe2, 0x97, 0xb6, 0xd7, 0x6b, 0x34, 0x2b, 0x99, 0x71, 0x70, 0xbd, 0x76, 0x2b, 0x1b, 0xa1, | ||
1251 | 0x42, 0x2d, 0x6b, 0x95, 0x22, 0x1f, 0x91, 0xa5, 0x5d, 0xb3, 0x27, 0x30, 0x5e, 0x19, 0x53, 0xc5, | ||
1252 | 0xbe, 0x58, 0x7c, 0x4c, 0xf6, 0x91, 0xc5, 0xbe, 0x77, 0xd0, 0x06, 0x85, 0x26, 0xd4, 0x60, 0xbf, | ||
1253 | 0x62, 0x4f, 0x61, 0xa2, 0x50, 0x57, 0xb2, 0xd4, 0x18, 0xeb, 0xe2, 0x27, 0xe4, 0x7b, 0x14, 0xce, | ||
1254 | 0xb8, 0x01, 0xcf, 0x8b, 0x9f, 0xd0, 0x9d, 0x7d, 0x89, 0x4a, 0xa1, 0xe2, 0x53, 0x57, 0x9d, 0x66, | ||
1255 | 0x6d, 0xab, 0x53, 0x6b, 0x54, 0x71, 0x92, 0x63, 0x69, 0xf8, 0x8c, 0xac, 0x43, 0x8b, 0xbc, 0xb0, | ||
1256 | 0x00, 0x0b, 0x61, 0x52, 0x2b, 0x11, 0xaf, 0x93, 0x2a, 0xc6, 0xd2, 0xa8, 0x6b, 0xbe, 0xef, 0x62, | ||
1257 | 0xab, 0x95, 0x78, 0x95, 0x54, 0x27, 0x16, 0xb2, 0xdb, 0xa7, 0x72, 0xfd, 0x8f, 0xa2, 0xc4, 0x8c, | ||
1258 | 0x33, 0x97, 0x5a, 0xb3, 0xb6, 0x0c, 0x4c, 0xaa, 0x22, 0x6e, 0x8a, 0x75, 0x67, 0x1e, 0x2c, 0xba, | ||
1259 | 0x11, 0x24, 0x55, 0xf1, 0xca, 0xd7, 0x8b, 0xc1, 0xce, 0x4a, 0x6a, 0xc3, 0x0f, 0xe8, 0x64, 0x7a, | ||
1260 | 0xb6, 0x58, 0x6a, 0xb1, 0xbb, 0xf3, 0x60, 0x11, 0x44, 0xf4, 0xcc, 0x9e, 0xc1, 0xd4, 0x24, 0xfa, | ||
1261 | 0x6d, 0xfc, 0x43, 0x8d, 0x35, 0xc6, 0xd4, 0xe8, 0x7b, 0xf4, 0xca, 0xc4, 0xc2, 0xdf, 0x59, 0xf4, | ||
1262 | 0xb5, 0xed, 0xf6, 0x43, 0x18, 0x92, 0x1f, 0x79, 0x7c, 0xe0, 0x92, 0xb5, 0x00, 0x19, 0x0f, 0xe1, | ||
1263 | 0xce, 0x8f, 0x89, 0x8e, 0x85, 0x4c, 0xb2, 0xa2, 0xcc, 0x63, 0xcf, 0x3e, 0xce, 0xe7, 0xc1, 0x62, | ||
1264 | 0x10, 0xed, 0xff, 0x98, 0xe8, 0xa5, 0xb3, 0x34, 0x83, 0xfb, 0x04, 0xc6, 0x15, 0x96, 0xe4, 0x4b, | ||
1265 | 0xfc, 0xb8, 0x4f, 0xe1, 0x8f, 0x3c, 0x46, 0x1c, 0xf9, 0xd8, 0x36, 0xa0, 0x12, 0x45, 0x9a, 0xc4, | ||
1266 | 0x45, 0x99, 0xe1, 0x15, 0x7f, 0x30, 0x0f, 0x16, 0xbd, 0xe3, 0xce, 0xa7, 0x9f, 0xd9, 0x26, 0x90, | ||
1267 | 0xe1, 0xd4, 0xe2, 0x6c, 0x0e, 0x83, 0xcb, 0xa2, 0x2c, 0xf4, 0x0a, 0x33, 0xfe, 0xd0, 0x1e, 0x78, | ||
1268 | 0xbc, 0x63, 0x54, 0x8d, 0x51, 0x8b, 0xda, 0xd0, 0x53, 0x21, 0x4b, 0x8c, 0xdf, 0xe2, 0x35, 0xff, | ||
1269 | 0x3d, 0x09, 0xc0, 0x80, 0x80, 0x6f, 0xf1, 0x9a, 0x3d, 0x83, 0x1d, 0x52, 0xab, 0x47, 0xa4, 0x56, | ||
1270 | 0x6c, 0x7b, 0x3a, 0x48, 0xa6, 0xc8, 0xce, 0xfe, 0x08, 0x33, 0xfb, 0xaf, 0xe3, 0xa2, 0x4c, 0xe5, | ||
1271 | 0xba, 0x12, 0x68, 0x90, 0x7f, 0x48, 0xf9, 0x4d, 0x09, 0x3f, 0x6d, 0x61, 0xf6, 0x09, 0x30, 0x3b, | ||
1272 | 0xed, 0x6e, 0x9b, 0x58, 0xa1, 0xc0, 0x44, 0x23, 0x7f, 0x46, 0x07, 0xcf, 0x92, 0xaa, 0x3a, 0x21, | ||
1273 | 0x43, 0xe4, 0x70, 0xdb, 0x49, 0xbc, 0x2a, 0x4c, 0xac, 0x30, 0xd1, 0xb2, 0xe4, 0x7f, 0xb0, 0x69, | ||
1274 | 0x46, 0x60, 0xa1, 0x88, 0x10, 0xf6, 0x05, 0xdc, 0xb3, 0xc5, 0x35, 0x2b, 0x25, 0x8d, 0x11, 0x98, | ||
1275 | 0xc5, 0x97, 0x52, 0xb9, 0xb2, 0x3d, 0xa6, 0xf3, 0x6d, 0xe9, 0x2f, 0x1a, 0xe3, 0xd7, 0x52, 0x51, | ||
1276 | 0xf9, 0xbe, 0x84, 0x07, 0x3f, 0x7f, 0xc9, 0xf7, 0x45, 0xf3, 0x39, 0xbd, 0xf8, 0xc1, 0xad, 0x17, | ||
1277 | 0x7d, 0x77, 0x34, 0xdd, 0x17, 0xed, 0x8b, 0x74, 0xd2, 0x13, 0x6a, 0xd0, 0xa4, 0x45, 0xe9, 0x8c, | ||
1278 | 0xc7, 0x30, 0xb2, 0x97, 0x1a, 0x2a, 0x47, 0x8a, 0x90, 0x12, 0x04, 0x07, 0x59, 0x5a, 0x84, 0x7f, | ||
1279 | 0x83, 0xd9, 0x52, 0xe6, 0xaf, 0x48, 0xc8, 0x9a, 0x81, 0xdb, 0xd2, 0xbc, 0xe0, 0x7d, 0x35, 0x2f, | ||
1280 | 0xd8, 0xd2, 0xbc, 0xf0, 0xbf, 0x3d, 0xd8, 0x5b, 0xca, 0x3c, 0xc2, 0x24, 0x6b, 0x28, 0xf5, 0x0b, | ||
1281 | 0x12, 0x7b, 0x7b, 0xa3, 0xee, 0xb6, 0x78, 0x7e, 0x05, 0x7b, 0x3e, 0x9a, 0x46, 0x23, 0xee, 0x10, | ||
1282 | 0x0f, 0x1e, 0x6e, 0xf3, 0x60, 0x2b, 0x85, 0x68, 0xb2, 0xde, 0xca, 0x68, 0x5b, 0x07, 0xbb, 0x54, | ||
1283 | 0xa9, 0x5f, 0xd0, 0xc1, 0x1d, 0x32, 0xb6, 0x3a, 0x78, 0xa3, 0xcd, 0xbd, 0xf7, 0xd0, 0xe6, 0x6d, | ||
1284 | 0xa1, 0xdf, 0x9d, 0x77, 0xb7, 0x85, 0xfe, 0x39, 0xec, 0xaf, 0x8b, 0xb2, 0x58, 0xd7, 0xeb, 0x98, | ||
1285 | 0xae, 0x60, 0xba, 0xb5, 0xfa, 0xc4, 0xa6, 0xa9, 0x37, 0x58, 0x46, 0xd3, 0xfd, 0xf5, 0x29, 0xb0, | ||
1286 | 0xa2, 0x4c, 0x45, 0x9d, 0xe1, 0x26, 0x9d, 0x07, 0x6e, 0x5c, 0xbd, 0x65, 0x83, 0xd0, 0x07, 0xd0, | ||
1287 | 0x4b, 0x65, 0x5d, 0x1a, 0x3e, 0xa4, 0xf8, 0xdd, 0xc2, 0xd2, 0xbc, 0x91, 0x23, 0x3a, 0x51, 0x61, | ||
1288 | 0x8e, 0x57, 0x7c, 0x8f, 0x7a, 0x35, 0x6b, 0x2c, 0xd4, 0xa5, 0x1c, 0xaf, 0x6c, 0xf4, 0x56, 0x83, | ||
1289 | 0xbc, 0x97, 0x53, 0xcb, 0xa1, 0x45, 0x9c, 0xf9, 0xe9, 0xed, 0x71, 0x9f, 0x51, 0xe4, 0xdb, 0xa3, | ||
1290 | 0xbe, 0x80, 0x59, 0x13, 0xb6, 0xed, 0x35, 0x7d, 0x23, 0x00, 0x05, 0xbd, 0xe7, 0x71, 0xf7, 0x75, | ||
1291 | 0xa1, 0xd9, 0x11, 0x1c, 0x34, 0x1e, 0x71, 0x85, 0x2d, 0xf3, 0xf9, 0x3e, 0xed, 0xba, 0x9f, 0x38, | ||
1292 | 0xb7, 0xbf, 0xa2, 0xda, 0x50, 0xa4, 0x66, 0x6b, 0x92, 0xcd, 0x11, 0x6d, 0x3b, 0xf2, 0xd8, 0x37, | ||
1293 | 0x56, 0x29, 0x1f, 0xc3, 0xa8, 0x3d, 0x5d, 0x08, 0x3e, 0x26, 0x0f, 0x68, 0x0e, 0x16, 0xc2, 0x8e, | ||
1294 | 0x4d, 0x9a, 0xa4, 0x2b, 0x8c, 0x0b, 0x83, 0x2a, 0x31, 0x52, 0xf1, 0x09, 0xf9, 0x4c, 0x08, 0x3d, | ||
1295 | 0xf5, 0xa0, 0xad, 0x44, 0x59, 0xaf, 0x63, 0xbd, 0x4a, 0x54, 0xa6, 0x39, 0xa3, 0x88, 0x86, 0x65, | ||
1296 | 0xbd, 0x3e, 0x27, 0x20, 0xfc, 0x57, 0x40, 0xdf, 0x83, 0x8e, 0xdb, 0xee, 0xb2, 0x61, 0x1f, 0x43, | ||
1297 | 0x57, 0xc8, 0x9c, 0x07, 0xc4, 0xcd, 0xbb, 0x1b, 0x2c, 0xb9, 0xf9, 0xc6, 0x88, 0xac, 0xc7, 0x06, | ||
1298 | 0xa3, 0x3a, 0xef, 0xc1, 0xa8, 0x10, 0x26, 0x22, 0xd1, 0x26, 0x6e, 0xf9, 0xe9, 0xc8, 0x3b, 0xb2, | ||
1299 | 0xe0, 0x89, 0xe3, 0x68, 0xf8, 0x9f, 0x80, 0x46, 0xed, 0x8d, 0xfd, 0xac, 0x89, 0x30, 0x95, 0xea, | ||
1300 | 0xf6, 0x4c, 0x05, 0xb7, 0x86, 0xf3, 0xd6, 0x3c, 0x74, 0x5c, 0x7e, 0xff, 0x7f, 0x1e, 0xba, 0x64, | ||
1301 | 0x6c, 0xe7, 0xa1, 0xe5, 0xd9, 0xce, 0x26, 0xcf, 0x1e, 0x01, 0x18, 0x69, 0x12, 0xe1, 0xee, 0xe1, | ||
1302 | 0x9e, 0x9b, 0x2f, 0x42, 0xe8, 0x12, 0xe6, 0xd0, 0x57, 0x14, 0x97, 0xe6, 0xbb, 0x6e, 0x3b, 0xbf, | ||
1303 | 0x0c, 0xff, 0xdd, 0xa1, 0x4a, 0xfa, 0xd0, 0x7f, 0x8b, 0x4c, 0xfc, 0x7c, 0xc4, 0x7b, 0xbf, 0x36, | ||
1304 | 0xe2, 0xbd, 0xcd, 0x11, 0x9f, 0xd9, 0xcf, 0x11, 0x51, 0x1b, 0xbb, 0xf7, 0x4a, 0xd6, 0x4a, 0x53, | ||
1305 | 0x0a, 0x93, 0xe3, 0xe0, 0xb3, 0x68, 0x7a, 0x63, 0xfa, 0xc6, 0x5a, 0xec, 0x25, 0xe3, 0x07, 0xa7, | ||
1306 | 0xd1, 0x23, 0x97, 0xd4, 0x20, 0x9a, 0x7a, 0xdc, 0x8b, 0x0e, 0x7d, 0xa0, 0xd4, 0x36, 0xb1, 0x56, | ||
1307 | 0xb8, 0xdc, 0xa8, 0x8f, 0x09, 0x6c, 0xa4, 0xe9, 0x29, 0x4c, 0x9a, 0x7d, 0x62, 0x59, 0x8a, 0x6b, | ||
1308 | 0x3f, 0xe2, 0xe3, 0x06, 0x3c, 0x2b, 0xc5, 0x75, 0x78, 0x45, 0x2a, 0xed, 0xab, 0xe4, 0x09, 0x77, | ||
1309 | 0x04, 0x3d, 0xda, 0xc8, 0x53, 0xee, 0xfe, 0x36, 0x8d, 0x36, 0xc8, 0x10, 0x39, 0x3f, 0xf6, 0x05, | ||
1310 | 0xf4, 0x75, 0xbd, 0x5e, 0x27, 0xea, 0xda, 0x33, 0xef, 0x57, 0x5e, 0x69, 0x3c, 0xbf, 0xea, 0xfd, | ||
1311 | 0xdd, 0x92, 0xf6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x70, 0xd9, 0xa0, 0xf8, 0x48, 0x0d, 0x00, | ||
1312 | 0x00, | ||
1313 | } | ||
diff --git a/vendor/google.golang.org/appengine/internal/log/log_service.proto b/vendor/google.golang.org/appengine/internal/log/log_service.proto new file mode 100644 index 0000000..8981dc4 --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/log/log_service.proto | |||
@@ -0,0 +1,150 @@ | |||
1 | syntax = "proto2"; | ||
2 | option go_package = "log"; | ||
3 | |||
4 | package appengine; | ||
5 | |||
6 | message LogServiceError { | ||
7 | enum ErrorCode { | ||
8 | OK = 0; | ||
9 | INVALID_REQUEST = 1; | ||
10 | STORAGE_ERROR = 2; | ||
11 | } | ||
12 | } | ||
13 | |||
14 | message UserAppLogLine { | ||
15 | required int64 timestamp_usec = 1; | ||
16 | required int64 level = 2; | ||
17 | required string message = 3; | ||
18 | } | ||
19 | |||
20 | message UserAppLogGroup { | ||
21 | repeated UserAppLogLine log_line = 2; | ||
22 | } | ||
23 | |||
24 | message FlushRequest { | ||
25 | optional bytes logs = 1; | ||
26 | } | ||
27 | |||
28 | message SetStatusRequest { | ||
29 | required string status = 1; | ||
30 | } | ||
31 | |||
32 | |||
33 | message LogOffset { | ||
34 | optional bytes request_id = 1; | ||
35 | } | ||
36 | |||
37 | message LogLine { | ||
38 | required int64 time = 1; | ||
39 | required int32 level = 2; | ||
40 | required string log_message = 3; | ||
41 | } | ||
42 | |||
43 | message RequestLog { | ||
44 | required string app_id = 1; | ||
45 | optional string module_id = 37 [default="default"]; | ||
46 | required string version_id = 2; | ||
47 | required bytes request_id = 3; | ||
48 | optional LogOffset offset = 35; | ||
49 | required string ip = 4; | ||
50 | optional string nickname = 5; | ||
51 | required int64 start_time = 6; | ||
52 | required int64 end_time = 7; | ||
53 | required int64 latency = 8; | ||
54 | required int64 mcycles = 9; | ||
55 | required string method = 10; | ||
56 | required string resource = 11; | ||
57 | required string http_version = 12; | ||
58 | required int32 status = 13; | ||
59 | required int64 response_size = 14; | ||
60 | optional string referrer = 15; | ||
61 | optional string user_agent = 16; | ||
62 | required string url_map_entry = 17; | ||
63 | required string combined = 18; | ||
64 | optional int64 api_mcycles = 19; | ||
65 | optional string host = 20; | ||
66 | optional double cost = 21; | ||
67 | |||
68 | optional string task_queue_name = 22; | ||
69 | optional string task_name = 23; | ||
70 | |||
71 | optional bool was_loading_request = 24; | ||
72 | optional int64 pending_time = 25; | ||
73 | optional int32 replica_index = 26 [default = -1]; | ||
74 | optional bool finished = 27 [default = true]; | ||
75 | optional bytes clone_key = 28; | ||
76 | |||
77 | repeated LogLine line = 29; | ||
78 | |||
79 | optional bool lines_incomplete = 36; | ||
80 | optional bytes app_engine_release = 38; | ||
81 | |||
82 | optional int32 exit_reason = 30; | ||
83 | optional bool was_throttled_for_time = 31; | ||
84 | optional bool was_throttled_for_requests = 32; | ||
85 | optional int64 throttled_time = 33; | ||
86 | |||
87 | optional bytes server_name = 34; | ||
88 | } | ||
89 | |||
90 | message LogModuleVersion { | ||
91 | optional string module_id = 1 [default="default"]; | ||
92 | optional string version_id = 2; | ||
93 | } | ||
94 | |||
95 | message LogReadRequest { | ||
96 | required string app_id = 1; | ||
97 | repeated string version_id = 2; | ||
98 | repeated LogModuleVersion module_version = 19; | ||
99 | |||
100 | optional int64 start_time = 3; | ||
101 | optional int64 end_time = 4; | ||
102 | optional LogOffset offset = 5; | ||
103 | repeated bytes request_id = 6; | ||
104 | |||
105 | optional int32 minimum_log_level = 7; | ||
106 | optional bool include_incomplete = 8; | ||
107 | optional int64 count = 9; | ||
108 | |||
109 | optional string combined_log_regex = 14; | ||
110 | optional string host_regex = 15; | ||
111 | optional int32 replica_index = 16; | ||
112 | |||
113 | optional bool include_app_logs = 10; | ||
114 | optional int32 app_logs_per_request = 17; | ||
115 | optional bool include_host = 11; | ||
116 | optional bool include_all = 12; | ||
117 | optional bool cache_iterator = 13; | ||
118 | optional int32 num_shards = 18; | ||
119 | } | ||
120 | |||
121 | message LogReadResponse { | ||
122 | repeated RequestLog log = 1; | ||
123 | optional LogOffset offset = 2; | ||
124 | optional int64 last_end_time = 3; | ||
125 | } | ||
126 | |||
127 | message LogUsageRecord { | ||
128 | optional string version_id = 1; | ||
129 | optional int32 start_time = 2; | ||
130 | optional int32 end_time = 3; | ||
131 | optional int64 count = 4; | ||
132 | optional int64 total_size = 5; | ||
133 | optional int32 records = 6; | ||
134 | } | ||
135 | |||
136 | message LogUsageRequest { | ||
137 | required string app_id = 1; | ||
138 | repeated string version_id = 2; | ||
139 | optional int32 start_time = 3; | ||
140 | optional int32 end_time = 4; | ||
141 | optional uint32 resolution_hours = 5 [default = 1]; | ||
142 | optional bool combine_versions = 6; | ||
143 | optional int32 usage_version = 7; | ||
144 | optional bool versions_only = 8; | ||
145 | } | ||
146 | |||
147 | message LogUsageResponse { | ||
148 | repeated LogUsageRecord usage = 1; | ||
149 | optional LogUsageRecord summary = 2; | ||
150 | } | ||