github.com/cloudwan/edgelq-sdk@v1.15.4/audit/client/v1alpha2/activity_log/activity_log_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/audit/proto/v1alpha2/activity_log_custom.proto 3 // DO NOT EDIT!!! 4 5 package activity_log_client 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 activity_log "github.com/cloudwan/edgelq-sdk/audit/resources/v1alpha2/activity_log" 21 common "github.com/cloudwan/edgelq-sdk/audit/resources/v1alpha2/common" 22 rpc "github.com/cloudwan/edgelq-sdk/common/rpc" 23 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization" 24 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project" 25 ) 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var ( 29 _ = fmt.Errorf 30 _ = reflect.Method{} 31 _ = sync.Once{} 32 33 _ = protojson.MarshalOptions{} 34 _ = proto.MarshalOptions{} 35 _ = preflect.Value{} 36 _ = protoimpl.DescBuilder{} 37 ) 38 39 // make sure we're using proto imports 40 var ( 41 _ = &activity_log.ActivityLog{} 42 _ = &common.Authentication{} 43 _ = &rpc.Status{} 44 _ = &iam_organization.Organization{} 45 _ = &iam_project.Project{} 46 ) 47 48 const ( 49 // Verify that this generated code is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 51 // Verify that runtime/protoimpl is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 53 ) 54 55 // Request message for method 56 // [ListActivityLogs][ntt.audit.v1alpha2.ListActivityLogs] 57 // 58 // Returns activities for specified time range and within specified filter. 59 // Activity logs are stored only in region which executed them and never 60 // duplicated. Because of that its important to pay attention to region IDs in a 61 // request object. 62 // 63 // Basic supported filters are: 64 // * --filter 'service.name=[SERVICE_NAME]' (what is happening in this service) 65 // * --filter 'service.name=[SERVICE_NAME] and method.type=[METHOD_NAME]' (what 66 // is happening for this API call) 67 // * --filter 'authentication.principal=[PRINCIPAL_NAME]' (what that person is 68 // doing) 69 // * --filter 'request_id=[REQUEST_ID]' (I have request ID, what is actually 70 // this?) 71 // * --filter 'service.name=[SERVICE_NAME] and 72 // resource.name=[FULL_RESOURCE_NAME]' (can I see activities on this resource?) 73 // 74 // Its also possible to filter logs by their region of activity - by using field 75 // service.region_id in a filter field. Its important to note that logs may be 76 // present in multiple locations, if request was routed somewhere else or split 77 // & merged across many regions. Those activity logs may have different activity 78 // log names, but they will share same values in fields request_id and 79 // request_routing. 80 // 81 // Be aware, that server will append scope filter condition (and scope=...) to 82 // the filter. Scope(s) will be extracted from fields parents in 83 // ListActivityLogsRequest object. Note you can query for multiple at once, both 84 // projects and organizations. 85 // 86 // For all of the above filters you can replace filter condition compare (=) 87 // with IN operator. You can therefore query for multiple services, methods or 88 // users at once. Above filters are also preferred as we have optimization for 89 // them. 90 // 91 // Activity logs can be filtered by custom labels (field labels in ActivityLog). 92 // Labels are defined per each API method - so you must specify service.name and 93 // method.type conditions to be able to query by labels. 94 // 95 // For example, suppose you have a CreateVM method, which creates resource "VM". 96 // Suppose there is a field "group" within resource body, which is reference to 97 // other resource. If you want to make a query like "who was creating VMs for 98 // that group", then you need to create label "group" inside resource body. Then 99 // you will be able to make a query with following filter condition: 100 // *--filter 'service.name=vms.domain.com and method.type=CreateVM and 101 // labels.group=mySpecialVMGroup'*. 102 // 103 // Be aware, that Create/Update requests, which have resource object in their 104 // own bodies, will automatically inherit resource labels. So, basically you 105 // need to define "group" label in resource spec, not inside request. This is 106 // useful, as both Create/Update methods will have this label. This also allows 107 // code-gen to continue maintaining *derived.proto files. 108 // 109 // Examples of usage (with cuttle - we are interested only in one region and 110 // scope): 111 // 112 // * Checks connections to all devices within ssh-demo project starting from 8th 113 // of September 12 UTC time 114 // 115 // $ cuttle audit query activity-log --parents 'project/ssh-demo' 116 // --filter 'service.name="devices.edgelq.com" and 117 // method.type="ConnectToDevice" and service.regionId="us-west"' 118 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 119 // 120 // *Checks connections to device demo-device within ssh-demo project starting 121 // from 8th of September 12 UTC time 122 // 123 // $ cuttle audit query activity-log --parents 'project/ssh-demo' 124 // --filter 'service.name="devices.edgelq.com" and 125 // method.type="ConnectToDevice" and service.regionId="us-west" and 126 // resource.name="projects/ssh-demo/devices/demo-device"' 127 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 128 // 129 // * Checks what is happening within whole iam service for project demo starting 130 // from 8th of September 12 UTC time 131 // 132 // $ cuttle audit query activity-log --parents 'project/demo' 133 // --filter 'service.name="iam.edgelq.com" and service.regionId="us-west"' 134 // --filter 'service.name="iam.edgelq.com"' 135 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 136 // 137 // * Checks activities within one hour for whole iam service for selected 138 // methods 139 // 140 // $ cuttle audit query activity-log --parents 'project/demo' 141 // --filter 'service.name="iam.edgelq.com" and method.type IN 142 // ["CreateRoleBinding", "UpdateRoleBinding", "DeleteRoleBinding"] 143 // and service.regionId="us-west"' 144 // --interval '{"startTime":"2020-09-08T12:00:00Z", 145 // "endTime":"2020-09-08T13:00:00Z"}' -o json 146 // 147 // * Checks modification of RoleBinding 148 // 149 // $ cuttle audit query activity-log --parents 'project/demo' 150 // --filter 'service.name="iam.edgelq.com" and method.type="UpdateRoleBinding" 151 // and labels.resource_name="projects/x/roleBindings/myRB"' 152 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 153 // 154 // * Checks what was happening with some device 155 // 156 // $ cuttle audit query activity-log --parents 'project/demo' 157 // --filter 'service.name="devices.edgelq.com" and 158 // resource.name="projects/x/devices/myDevice" and service.regionId="us-west"' 159 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 160 // 161 // * Checks activities made by specific user (we need their email) 162 // 163 // $ cuttle audit query activity-log --parents 'project/demo' 164 // --filter 'authentication.principal="user:we.know.who@domain.com" and 165 // service.regionId="us-west"' 166 // --interval '{"startTime":"2020-09-08T12:00:00Z"}' -o json 167 // 168 // * Checks activities made by specific service account (we need it's email) 169 // 170 // $ cuttle audit query activity-log --parents 'project/demo' 171 // --filter 172 // 'authentication.principal="serviceAccount:myServiceAccount@domain.com" and 173 // service.regionId="us-west"' 174 type ListActivityLogsRequest struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 // Parent references of ntt.audit.v1alpha2.ActivityLog - provides list of all 179 // scopes we want to query about 180 Parents []*activity_log.ParentName `protobuf:"bytes,1,rep,customtype=ParentName,name=parents,proto3" json:"parents,omitempty"` 181 // A audit filter that specifies which activity logs should be returned 182 Filter *activity_log.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 183 // The time interval for which results should be returned. Only logs 184 // that contain data points in the specified interval are included 185 // in the response. 186 Interval *common.TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` 187 // Cap on a number of activity logs to be included in a response. 188 // Number of logs in an actual response can be higher, since logs are 189 // read in bulk with second precision - exceed logs above the limit will share 190 // same timestamp as the logs below the limit. 191 // 192 // Results will be adjusted to the "end time" taken from interval field 193 // (adjusted also by page_token if provided). 194 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 195 // Token which identifies next page with further results. Token should be 196 // taken from 197 // [ListActivityLogsResponse.next_page_token][ntt.audit.v1alpha2.ListActivityLogsResponse.next_page_token]. 198 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 199 } 200 201 func (m *ListActivityLogsRequest) Reset() { 202 *m = ListActivityLogsRequest{} 203 if protoimpl.UnsafeEnabled { 204 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[0] 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 206 ms.StoreMessageInfo(mi) 207 } 208 } 209 210 func (m *ListActivityLogsRequest) String() string { 211 return protoimpl.X.MessageStringOf(m) 212 } 213 214 func (*ListActivityLogsRequest) ProtoMessage() {} 215 216 func (m *ListActivityLogsRequest) ProtoReflect() preflect.Message { 217 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[0] 218 if protoimpl.UnsafeEnabled && m != nil { 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 220 if ms.LoadMessageInfo() == nil { 221 ms.StoreMessageInfo(mi) 222 } 223 return ms 224 } 225 return mi.MessageOf(m) 226 } 227 228 func (*ListActivityLogsRequest) GotenMessage() {} 229 230 // Deprecated, Use ListActivityLogsRequest.ProtoReflect.Descriptor instead. 231 func (*ListActivityLogsRequest) Descriptor() ([]byte, []int) { 232 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP(), []int{0} 233 } 234 235 func (m *ListActivityLogsRequest) Unmarshal(b []byte) error { 236 return proto.Unmarshal(b, m) 237 } 238 239 func (m *ListActivityLogsRequest) Marshal() ([]byte, error) { 240 return proto.Marshal(m) 241 } 242 243 func (m *ListActivityLogsRequest) MarshalJSON() ([]byte, error) { 244 return protojson.MarshalOptions{}.Marshal(m) 245 } 246 247 func (m *ListActivityLogsRequest) UnmarshalJSON(data []byte) error { 248 return protojson.Unmarshal(data, m) 249 } 250 251 func (m *ListActivityLogsRequest) GetParents() []*activity_log.ParentName { 252 if m != nil { 253 return m.Parents 254 } 255 return nil 256 } 257 258 func (m *ListActivityLogsRequest) GetFilter() *activity_log.Filter { 259 if m != nil { 260 return m.Filter 261 } 262 return nil 263 } 264 265 func (m *ListActivityLogsRequest) GetInterval() *common.TimeInterval { 266 if m != nil { 267 return m.Interval 268 } 269 return nil 270 } 271 272 func (m *ListActivityLogsRequest) GetPageSize() int32 { 273 if m != nil { 274 return m.PageSize 275 } 276 return int32(0) 277 } 278 279 func (m *ListActivityLogsRequest) GetPageToken() string { 280 if m != nil { 281 return m.PageToken 282 } 283 return "" 284 } 285 286 func (m *ListActivityLogsRequest) SetParents(fv []*activity_log.ParentName) { 287 if m == nil { 288 panic(fmt.Errorf("can't set %s on nil %s", "Parents", "ListActivityLogsRequest")) 289 } 290 m.Parents = fv 291 } 292 293 func (m *ListActivityLogsRequest) SetFilter(fv *activity_log.Filter) { 294 if m == nil { 295 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListActivityLogsRequest")) 296 } 297 m.Filter = fv 298 } 299 300 func (m *ListActivityLogsRequest) SetInterval(fv *common.TimeInterval) { 301 if m == nil { 302 panic(fmt.Errorf("can't set %s on nil %s", "Interval", "ListActivityLogsRequest")) 303 } 304 m.Interval = fv 305 } 306 307 func (m *ListActivityLogsRequest) SetPageSize(fv int32) { 308 if m == nil { 309 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListActivityLogsRequest")) 310 } 311 m.PageSize = fv 312 } 313 314 func (m *ListActivityLogsRequest) SetPageToken(fv string) { 315 if m == nil { 316 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListActivityLogsRequest")) 317 } 318 m.PageToken = fv 319 } 320 321 // Response message for method 322 // [ListActivityLogs][ntt.audit.v1alpha2.ListActivityLogs] 323 type ListActivityLogsResponse struct { 324 state protoimpl.MessageState 325 sizeCache protoimpl.SizeCache 326 unknownFields protoimpl.UnknownFields 327 // One or more activity method logs that match the filter included in the 328 // request. Contains results from all queried regions. Its possible however 329 // that some logs may be missing, for this see execution_errors. 330 ActivityLogs []*activity_log.ActivityLog `protobuf:"bytes,1,rep,name=activity_logs,json=activityLogs,proto3" json:"activity_logs,omitempty"` 331 // If there are more results than have been returned, then this field is set 332 // to a non-empty value. To see the additional results, 333 // use that value as `pageToken` in the next call to this method. 334 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 335 // Query execution errors that may have caused the response data returned to 336 // be incomplete. Because logs are stored only locally (for each region), all 337 // activity log queries are split and merged by a receiving request server 338 // according to the queried regions. Its possible that some regions will fail 339 // when request is redirected to them, but others not. For each failed region, 340 // one execution error will be appended. In each ntt.rpc.Status message, 341 // fields code and message will contain error obtained from failed regional 342 // server, while field details will contain always one item and this item will 343 // be of type ErrorDetails. 344 ExecutionErrors []*rpc.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"` 345 } 346 347 func (m *ListActivityLogsResponse) Reset() { 348 *m = ListActivityLogsResponse{} 349 if protoimpl.UnsafeEnabled { 350 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[1] 351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 352 ms.StoreMessageInfo(mi) 353 } 354 } 355 356 func (m *ListActivityLogsResponse) String() string { 357 return protoimpl.X.MessageStringOf(m) 358 } 359 360 func (*ListActivityLogsResponse) ProtoMessage() {} 361 362 func (m *ListActivityLogsResponse) ProtoReflect() preflect.Message { 363 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[1] 364 if protoimpl.UnsafeEnabled && m != nil { 365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 366 if ms.LoadMessageInfo() == nil { 367 ms.StoreMessageInfo(mi) 368 } 369 return ms 370 } 371 return mi.MessageOf(m) 372 } 373 374 func (*ListActivityLogsResponse) GotenMessage() {} 375 376 // Deprecated, Use ListActivityLogsResponse.ProtoReflect.Descriptor instead. 377 func (*ListActivityLogsResponse) Descriptor() ([]byte, []int) { 378 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP(), []int{1} 379 } 380 381 func (m *ListActivityLogsResponse) Unmarshal(b []byte) error { 382 return proto.Unmarshal(b, m) 383 } 384 385 func (m *ListActivityLogsResponse) Marshal() ([]byte, error) { 386 return proto.Marshal(m) 387 } 388 389 func (m *ListActivityLogsResponse) MarshalJSON() ([]byte, error) { 390 return protojson.MarshalOptions{}.Marshal(m) 391 } 392 393 func (m *ListActivityLogsResponse) UnmarshalJSON(data []byte) error { 394 return protojson.Unmarshal(data, m) 395 } 396 397 func (m *ListActivityLogsResponse) GetActivityLogs() []*activity_log.ActivityLog { 398 if m != nil { 399 return m.ActivityLogs 400 } 401 return nil 402 } 403 404 func (m *ListActivityLogsResponse) GetNextPageToken() string { 405 if m != nil { 406 return m.NextPageToken 407 } 408 return "" 409 } 410 411 func (m *ListActivityLogsResponse) GetExecutionErrors() []*rpc.Status { 412 if m != nil { 413 return m.ExecutionErrors 414 } 415 return nil 416 } 417 418 func (m *ListActivityLogsResponse) SetActivityLogs(fv []*activity_log.ActivityLog) { 419 if m == nil { 420 panic(fmt.Errorf("can't set %s on nil %s", "ActivityLogs", "ListActivityLogsResponse")) 421 } 422 m.ActivityLogs = fv 423 } 424 425 func (m *ListActivityLogsResponse) SetNextPageToken(fv string) { 426 if m == nil { 427 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListActivityLogsResponse")) 428 } 429 m.NextPageToken = fv 430 } 431 432 func (m *ListActivityLogsResponse) SetExecutionErrors(fv []*rpc.Status) { 433 if m == nil { 434 panic(fmt.Errorf("can't set %s on nil %s", "ExecutionErrors", "ListActivityLogsResponse")) 435 } 436 m.ExecutionErrors = fv 437 } 438 439 // Request message for method 440 // [CreateActivityLogs][ntt.audit.v1alpha2.CreateActivityLogs] 441 // 442 // Creates many activity logs at once - or appends existing, if some of the 443 // activity logs already exist (their name is already known). 444 // 445 // This request should not be used by regular users - only API services should 446 // be able to submit activity logs. Developers of services should use logs 447 // exporter package offered along other Audit service packages instead of 448 // developing own components. 449 type CreateActivityLogsRequest struct { 450 state protoimpl.MessageState 451 sizeCache protoimpl.SizeCache 452 unknownFields protoimpl.UnknownFields 453 // List of activity logs to be added to service. Can be coming from different 454 // scopes but must be submitted to the same region. 455 ActivityLogs []*activity_log.ActivityLog `protobuf:"bytes,1,rep,name=activity_logs,json=activityLogs,proto3" json:"activity_logs,omitempty"` 456 } 457 458 func (m *CreateActivityLogsRequest) Reset() { 459 *m = CreateActivityLogsRequest{} 460 if protoimpl.UnsafeEnabled { 461 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[2] 462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 463 ms.StoreMessageInfo(mi) 464 } 465 } 466 467 func (m *CreateActivityLogsRequest) String() string { 468 return protoimpl.X.MessageStringOf(m) 469 } 470 471 func (*CreateActivityLogsRequest) ProtoMessage() {} 472 473 func (m *CreateActivityLogsRequest) ProtoReflect() preflect.Message { 474 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[2] 475 if protoimpl.UnsafeEnabled && m != nil { 476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 477 if ms.LoadMessageInfo() == nil { 478 ms.StoreMessageInfo(mi) 479 } 480 return ms 481 } 482 return mi.MessageOf(m) 483 } 484 485 func (*CreateActivityLogsRequest) GotenMessage() {} 486 487 // Deprecated, Use CreateActivityLogsRequest.ProtoReflect.Descriptor instead. 488 func (*CreateActivityLogsRequest) Descriptor() ([]byte, []int) { 489 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP(), []int{2} 490 } 491 492 func (m *CreateActivityLogsRequest) Unmarshal(b []byte) error { 493 return proto.Unmarshal(b, m) 494 } 495 496 func (m *CreateActivityLogsRequest) Marshal() ([]byte, error) { 497 return proto.Marshal(m) 498 } 499 500 func (m *CreateActivityLogsRequest) MarshalJSON() ([]byte, error) { 501 return protojson.MarshalOptions{}.Marshal(m) 502 } 503 504 func (m *CreateActivityLogsRequest) UnmarshalJSON(data []byte) error { 505 return protojson.Unmarshal(data, m) 506 } 507 508 func (m *CreateActivityLogsRequest) GetActivityLogs() []*activity_log.ActivityLog { 509 if m != nil { 510 return m.ActivityLogs 511 } 512 return nil 513 } 514 515 func (m *CreateActivityLogsRequest) SetActivityLogs(fv []*activity_log.ActivityLog) { 516 if m == nil { 517 panic(fmt.Errorf("can't set %s on nil %s", "ActivityLogs", "CreateActivityLogsRequest")) 518 } 519 m.ActivityLogs = fv 520 } 521 522 // Response message for method 523 // [CreateActivityLogs][ntt.audit.v1alpha2.CreateActivityLogs] 524 type CreateActivityLogsResponse struct { 525 state protoimpl.MessageState 526 sizeCache protoimpl.SizeCache 527 unknownFields protoimpl.UnknownFields 528 // Activity log names - one name per each activity log, in same order 529 // as in the request 530 LogNames []*activity_log.Name `protobuf:"bytes,1,rep,customtype=Name,name=log_names,json=logNames,proto3" json:"log_names,omitempty"` 531 } 532 533 func (m *CreateActivityLogsResponse) Reset() { 534 *m = CreateActivityLogsResponse{} 535 if protoimpl.UnsafeEnabled { 536 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[3] 537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 538 ms.StoreMessageInfo(mi) 539 } 540 } 541 542 func (m *CreateActivityLogsResponse) String() string { 543 return protoimpl.X.MessageStringOf(m) 544 } 545 546 func (*CreateActivityLogsResponse) ProtoMessage() {} 547 548 func (m *CreateActivityLogsResponse) ProtoReflect() preflect.Message { 549 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[3] 550 if protoimpl.UnsafeEnabled && m != nil { 551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 552 if ms.LoadMessageInfo() == nil { 553 ms.StoreMessageInfo(mi) 554 } 555 return ms 556 } 557 return mi.MessageOf(m) 558 } 559 560 func (*CreateActivityLogsResponse) GotenMessage() {} 561 562 // Deprecated, Use CreateActivityLogsResponse.ProtoReflect.Descriptor instead. 563 func (*CreateActivityLogsResponse) Descriptor() ([]byte, []int) { 564 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP(), []int{3} 565 } 566 567 func (m *CreateActivityLogsResponse) Unmarshal(b []byte) error { 568 return proto.Unmarshal(b, m) 569 } 570 571 func (m *CreateActivityLogsResponse) Marshal() ([]byte, error) { 572 return proto.Marshal(m) 573 } 574 575 func (m *CreateActivityLogsResponse) MarshalJSON() ([]byte, error) { 576 return protojson.MarshalOptions{}.Marshal(m) 577 } 578 579 func (m *CreateActivityLogsResponse) UnmarshalJSON(data []byte) error { 580 return protojson.Unmarshal(data, m) 581 } 582 583 func (m *CreateActivityLogsResponse) GetLogNames() []*activity_log.Name { 584 if m != nil { 585 return m.LogNames 586 } 587 return nil 588 } 589 590 func (m *CreateActivityLogsResponse) SetLogNames(fv []*activity_log.Name) { 591 if m == nil { 592 panic(fmt.Errorf("can't set %s on nil %s", "LogNames", "CreateActivityLogsResponse")) 593 } 594 m.LogNames = fv 595 } 596 597 // ErrorDetails is used when one of the queried regions fails to produce 598 // results. It is used in execution_errors field (see subfield 599 // ntt.rpc.Status.details). 600 type ListActivityLogsResponse_ErrorDetails struct { 601 state protoimpl.MessageState 602 sizeCache protoimpl.SizeCache 603 unknownFields protoimpl.UnknownFields 604 // region id which failed to give results. 605 RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 606 } 607 608 func (m *ListActivityLogsResponse_ErrorDetails) Reset() { 609 *m = ListActivityLogsResponse_ErrorDetails{} 610 if protoimpl.UnsafeEnabled { 611 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[4] 612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 613 ms.StoreMessageInfo(mi) 614 } 615 } 616 617 func (m *ListActivityLogsResponse_ErrorDetails) String() string { 618 return protoimpl.X.MessageStringOf(m) 619 } 620 621 func (*ListActivityLogsResponse_ErrorDetails) ProtoMessage() {} 622 623 func (m *ListActivityLogsResponse_ErrorDetails) ProtoReflect() preflect.Message { 624 mi := &edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[4] 625 if protoimpl.UnsafeEnabled && m != nil { 626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 627 if ms.LoadMessageInfo() == nil { 628 ms.StoreMessageInfo(mi) 629 } 630 return ms 631 } 632 return mi.MessageOf(m) 633 } 634 635 func (*ListActivityLogsResponse_ErrorDetails) GotenMessage() {} 636 637 // Deprecated, Use ListActivityLogsResponse_ErrorDetails.ProtoReflect.Descriptor instead. 638 func (*ListActivityLogsResponse_ErrorDetails) Descriptor() ([]byte, []int) { 639 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP(), []int{1, 0} 640 } 641 642 func (m *ListActivityLogsResponse_ErrorDetails) Unmarshal(b []byte) error { 643 return proto.Unmarshal(b, m) 644 } 645 646 func (m *ListActivityLogsResponse_ErrorDetails) Marshal() ([]byte, error) { 647 return proto.Marshal(m) 648 } 649 650 func (m *ListActivityLogsResponse_ErrorDetails) MarshalJSON() ([]byte, error) { 651 return protojson.MarshalOptions{}.Marshal(m) 652 } 653 654 func (m *ListActivityLogsResponse_ErrorDetails) UnmarshalJSON(data []byte) error { 655 return protojson.Unmarshal(data, m) 656 } 657 658 func (m *ListActivityLogsResponse_ErrorDetails) GetRegionId() string { 659 if m != nil { 660 return m.RegionId 661 } 662 return "" 663 } 664 665 func (m *ListActivityLogsResponse_ErrorDetails) SetRegionId(fv string) { 666 if m == nil { 667 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ListActivityLogsResponse_ErrorDetails")) 668 } 669 m.RegionId = fv 670 } 671 672 var edgelq_audit_proto_v1alpha2_activity_log_custom_proto preflect.FileDescriptor 673 674 var edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDesc = []byte{ 675 0x0a, 0x35, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x70, 676 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x61, 0x63, 677 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 678 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 679 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 680 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 681 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 682 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 683 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 684 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 685 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 686 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 687 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 688 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 689 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 690 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 691 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 692 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 693 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 694 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 695 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 696 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 697 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x61, 698 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 699 0x0f, 0x3a, 0x0d, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 700 0x52, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 701 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x1a, 702 0x0d, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x06, 703 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 704 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 705 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x69, 706 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 707 0x62, 0x02, 0x08, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1b, 708 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 709 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 710 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 711 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 712 0x22, 0xf1, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 713 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 714 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 715 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 716 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 717 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 718 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 719 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 720 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3a, 0x0a, 0x10, 0x65, 721 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 722 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x72, 0x70, 0x63, 0x2e, 723 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 724 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x2b, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 725 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 726 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 727 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 728 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 729 0x74, 0x12, 0x44, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 730 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 731 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63, 732 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 733 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x4e, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 734 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 735 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 736 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x0a, 0x0d, 737 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6c, 738 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x88, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 739 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 740 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x16, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 741 0x6f, 0x67, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 742 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 743 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 744 0x74, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 745 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x3b, 0x61, 746 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6c, 0x69, 0x65, 747 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 748 } 749 750 var ( 751 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescOnce sync.Once 752 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescData = edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDesc 753 ) 754 755 func edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescGZIP() []byte { 756 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescOnce.Do(func() { 757 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescData) 758 }) 759 return edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDescData 760 } 761 762 var edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 763 var edgelq_audit_proto_v1alpha2_activity_log_custom_proto_goTypes = []interface{}{ 764 (*ListActivityLogsRequest)(nil), // 0: ntt.audit.v1alpha2.ListActivityLogsRequest 765 (*ListActivityLogsResponse)(nil), // 1: ntt.audit.v1alpha2.ListActivityLogsResponse 766 (*CreateActivityLogsRequest)(nil), // 2: ntt.audit.v1alpha2.CreateActivityLogsRequest 767 (*CreateActivityLogsResponse)(nil), // 3: ntt.audit.v1alpha2.CreateActivityLogsResponse 768 (*ListActivityLogsResponse_ErrorDetails)(nil), // 4: ntt.audit.v1alpha2.ListActivityLogsResponse.ErrorDetails 769 (*common.TimeInterval)(nil), // 5: ntt.audit.v1alpha2.TimeInterval 770 (*activity_log.ActivityLog)(nil), // 6: ntt.audit.v1alpha2.ActivityLog 771 (*rpc.Status)(nil), // 7: ntt.rpc.Status 772 } 773 var edgelq_audit_proto_v1alpha2_activity_log_custom_proto_depIdxs = []int32{ 774 5, // 0: ntt.audit.v1alpha2.ListActivityLogsRequest.interval:type_name -> ntt.audit.v1alpha2.TimeInterval 775 6, // 1: ntt.audit.v1alpha2.ListActivityLogsResponse.activity_logs:type_name -> ntt.audit.v1alpha2.ActivityLog 776 7, // 2: ntt.audit.v1alpha2.ListActivityLogsResponse.execution_errors:type_name -> ntt.rpc.Status 777 6, // 3: ntt.audit.v1alpha2.CreateActivityLogsRequest.activity_logs:type_name -> ntt.audit.v1alpha2.ActivityLog 778 4, // [4:4] is the sub-list for method output_type 779 4, // [4:4] is the sub-list for method input_type 780 4, // [4:4] is the sub-list for extension type_name 781 4, // [4:4] is the sub-list for extension extendee 782 0, // [0:4] is the sub-list for field type_name 783 } 784 785 func init() { edgelq_audit_proto_v1alpha2_activity_log_custom_proto_init() } 786 func edgelq_audit_proto_v1alpha2_activity_log_custom_proto_init() { 787 if edgelq_audit_proto_v1alpha2_activity_log_custom_proto != nil { 788 return 789 } 790 if !protoimpl.UnsafeEnabled { 791 792 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 793 switch v := v.(*ListActivityLogsRequest); i { 794 case 0: 795 return &v.state 796 case 1: 797 return &v.sizeCache 798 case 2: 799 return &v.unknownFields 800 default: 801 return nil 802 } 803 } 804 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 805 switch v := v.(*ListActivityLogsResponse); i { 806 case 0: 807 return &v.state 808 case 1: 809 return &v.sizeCache 810 case 2: 811 return &v.unknownFields 812 default: 813 return nil 814 } 815 } 816 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 817 switch v := v.(*CreateActivityLogsRequest); i { 818 case 0: 819 return &v.state 820 case 1: 821 return &v.sizeCache 822 case 2: 823 return &v.unknownFields 824 default: 825 return nil 826 } 827 } 828 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 829 switch v := v.(*CreateActivityLogsResponse); i { 830 case 0: 831 return &v.state 832 case 1: 833 return &v.sizeCache 834 case 2: 835 return &v.unknownFields 836 default: 837 return nil 838 } 839 } 840 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 841 switch v := v.(*ListActivityLogsResponse_ErrorDetails); i { 842 case 0: 843 return &v.state 844 case 1: 845 return &v.sizeCache 846 case 2: 847 return &v.unknownFields 848 default: 849 return nil 850 } 851 } 852 } 853 854 type x struct{} 855 out := protoimpl.TypeBuilder{ 856 File: protoimpl.DescBuilder{ 857 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 858 RawDescriptor: edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDesc, 859 NumEnums: 0, 860 NumMessages: 5, 861 NumExtensions: 0, 862 NumServices: 0, 863 }, 864 GoTypes: edgelq_audit_proto_v1alpha2_activity_log_custom_proto_goTypes, 865 DependencyIndexes: edgelq_audit_proto_v1alpha2_activity_log_custom_proto_depIdxs, 866 MessageInfos: edgelq_audit_proto_v1alpha2_activity_log_custom_proto_msgTypes, 867 }.Build() 868 edgelq_audit_proto_v1alpha2_activity_log_custom_proto = out.File 869 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_rawDesc = nil 870 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_goTypes = nil 871 edgelq_audit_proto_v1alpha2_activity_log_custom_proto_depIdxs = nil 872 }