1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 status "google.golang.org/genproto/googleapis/rpc/status"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 structpb "google.golang.org/protobuf/types/known/structpb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42
43
44 type RequestLog struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50
51
52
53
54
55 MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
56
57 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
58
59 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
60
61
62
63
64
65
66 Request *structpb.Struct `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
67
68
69
70
71
72
73 Response *structpb.Struct `protobuf:"bytes,5,opt,name=response,proto3" json:"response,omitempty"`
74
75
76 NumResponseItems int64 `protobuf:"varint,6,opt,name=num_response_items,json=numResponseItems,proto3" json:"num_response_items,omitempty"`
77
78
79 Metadata *structpb.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
80 }
81
82 func (x *RequestLog) Reset() {
83 *x = RequestLog{}
84 if protoimpl.UnsafeEnabled {
85 mi := &file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[0]
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 ms.StoreMessageInfo(mi)
88 }
89 }
90
91 func (x *RequestLog) String() string {
92 return protoimpl.X.MessageStringOf(x)
93 }
94
95 func (*RequestLog) ProtoMessage() {}
96
97 func (x *RequestLog) ProtoReflect() protoreflect.Message {
98 mi := &file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[0]
99 if protoimpl.UnsafeEnabled && x != nil {
100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101 if ms.LoadMessageInfo() == nil {
102 ms.StoreMessageInfo(mi)
103 }
104 return ms
105 }
106 return mi.MessageOf(x)
107 }
108
109
110 func (*RequestLog) Descriptor() ([]byte, []int) {
111 return file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescGZIP(), []int{0}
112 }
113
114 func (x *RequestLog) GetMethodName() string {
115 if x != nil {
116 return x.MethodName
117 }
118 return ""
119 }
120
121 func (x *RequestLog) GetStatus() *status.Status {
122 if x != nil {
123 return x.Status
124 }
125 return nil
126 }
127
128 func (x *RequestLog) GetRequestMetadata() *RequestMetadata {
129 if x != nil {
130 return x.RequestMetadata
131 }
132 return nil
133 }
134
135 func (x *RequestLog) GetRequest() *structpb.Struct {
136 if x != nil {
137 return x.Request
138 }
139 return nil
140 }
141
142 func (x *RequestLog) GetResponse() *structpb.Struct {
143 if x != nil {
144 return x.Response
145 }
146 return nil
147 }
148
149 func (x *RequestLog) GetNumResponseItems() int64 {
150 if x != nil {
151 return x.NumResponseItems
152 }
153 return 0
154 }
155
156 func (x *RequestLog) GetMetadata() *structpb.Struct {
157 if x != nil {
158 return x.Metadata
159 }
160 return nil
161 }
162
163
164 type RequestMetadata struct {
165 state protoimpl.MessageState
166 sizeCache protoimpl.SizeCache
167 unknownFields protoimpl.UnknownFields
168
169
170 CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"`
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185 CallerSuppliedUserAgent string `protobuf:"bytes,2,opt,name=caller_supplied_user_agent,json=callerSuppliedUserAgent,proto3" json:"caller_supplied_user_agent,omitempty"`
186 }
187
188 func (x *RequestMetadata) Reset() {
189 *x = RequestMetadata{}
190 if protoimpl.UnsafeEnabled {
191 mi := &file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[1]
192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193 ms.StoreMessageInfo(mi)
194 }
195 }
196
197 func (x *RequestMetadata) String() string {
198 return protoimpl.X.MessageStringOf(x)
199 }
200
201 func (*RequestMetadata) ProtoMessage() {}
202
203 func (x *RequestMetadata) ProtoReflect() protoreflect.Message {
204 mi := &file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[1]
205 if protoimpl.UnsafeEnabled && x != nil {
206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207 if ms.LoadMessageInfo() == nil {
208 ms.StoreMessageInfo(mi)
209 }
210 return ms
211 }
212 return mi.MessageOf(x)
213 }
214
215
216 func (*RequestMetadata) Descriptor() ([]byte, []int) {
217 return file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescGZIP(), []int{1}
218 }
219
220 func (x *RequestMetadata) GetCallerIp() string {
221 if x != nil {
222 return x.CallerIp
223 }
224 return ""
225 }
226
227 func (x *RequestMetadata) GetCallerSuppliedUserAgent() string {
228 if x != nil {
229 return x.CallerSuppliedUserAgent
230 }
231 return ""
232 }
233
234 var File_google_cloud_identitytoolkit_logging_request_log_proto protoreflect.FileDescriptor
235
236 var file_google_cloud_identitytoolkit_logging_request_log_proto_rawDesc = []byte{
237 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69,
238 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2f, 0x6c,
239 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c,
240 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
241 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74,
242 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a, 0x1c,
243 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
244 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
245 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
246 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x03, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
247 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e,
248 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f,
249 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
250 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72,
251 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
252 0x73, 0x12, 0x60, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74,
253 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f,
254 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74,
255 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
256 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
257 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64,
258 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04,
259 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
260 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x72,
261 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
262 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
263 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63,
264 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e,
265 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d,
266 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70,
267 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65, 0x74,
268 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
269 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
270 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6b,
271 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
272 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x18, 0x01,
273 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x70, 0x12, 0x3b,
274 0x0a, 0x1a, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65,
275 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
276 0x28, 0x09, 0x52, 0x17, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69,
277 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x8a, 0x01, 0x0a, 0x28,
278 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
279 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74,
280 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x0f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
281 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x6f, 0x6f,
282 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
283 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
284 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
285 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
286 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
287 }
288
289 var (
290 file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescOnce sync.Once
291 file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescData = file_google_cloud_identitytoolkit_logging_request_log_proto_rawDesc
292 )
293
294 func file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescGZIP() []byte {
295 file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescOnce.Do(func() {
296 file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescData)
297 })
298 return file_google_cloud_identitytoolkit_logging_request_log_proto_rawDescData
299 }
300
301 var file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
302 var file_google_cloud_identitytoolkit_logging_request_log_proto_goTypes = []interface{}{
303 (*RequestLog)(nil),
304 (*RequestMetadata)(nil),
305 (*status.Status)(nil),
306 (*structpb.Struct)(nil),
307 }
308 var file_google_cloud_identitytoolkit_logging_request_log_proto_depIdxs = []int32{
309 2,
310 1,
311 3,
312 3,
313 3,
314 5,
315 5,
316 5,
317 5,
318 0,
319 }
320
321 func init() { file_google_cloud_identitytoolkit_logging_request_log_proto_init() }
322 func file_google_cloud_identitytoolkit_logging_request_log_proto_init() {
323 if File_google_cloud_identitytoolkit_logging_request_log_proto != nil {
324 return
325 }
326 if !protoimpl.UnsafeEnabled {
327 file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
328 switch v := v.(*RequestLog); i {
329 case 0:
330 return &v.state
331 case 1:
332 return &v.sizeCache
333 case 2:
334 return &v.unknownFields
335 default:
336 return nil
337 }
338 }
339 file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
340 switch v := v.(*RequestMetadata); i {
341 case 0:
342 return &v.state
343 case 1:
344 return &v.sizeCache
345 case 2:
346 return &v.unknownFields
347 default:
348 return nil
349 }
350 }
351 }
352 type x struct{}
353 out := protoimpl.TypeBuilder{
354 File: protoimpl.DescBuilder{
355 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
356 RawDescriptor: file_google_cloud_identitytoolkit_logging_request_log_proto_rawDesc,
357 NumEnums: 0,
358 NumMessages: 2,
359 NumExtensions: 0,
360 NumServices: 0,
361 },
362 GoTypes: file_google_cloud_identitytoolkit_logging_request_log_proto_goTypes,
363 DependencyIndexes: file_google_cloud_identitytoolkit_logging_request_log_proto_depIdxs,
364 MessageInfos: file_google_cloud_identitytoolkit_logging_request_log_proto_msgTypes,
365 }.Build()
366 File_google_cloud_identitytoolkit_logging_request_log_proto = out.File
367 file_google_cloud_identitytoolkit_logging_request_log_proto_rawDesc = nil
368 file_google_cloud_identitytoolkit_logging_request_log_proto_goTypes = nil
369 file_google_cloud_identitytoolkit_logging_request_log_proto_depIdxs = nil
370 }
371
View as plain text