github.com/cloudwan/edgelq-sdk@v1.15.4/logging/client/v1alpha2/log/log_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/logging/proto/v1alpha2/log_custom.proto 3 // DO NOT EDIT!!! 4 5 package 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 rpc "github.com/cloudwan/edgelq-sdk/common/rpc" 21 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization" 22 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project" 23 common "github.com/cloudwan/edgelq-sdk/logging/resources/v1alpha2/common" 24 log "github.com/cloudwan/edgelq-sdk/logging/resources/v1alpha2/log" 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 _ = &rpc.Status{} 42 _ = &iam_organization.Organization{} 43 _ = &iam_project.Project{} 44 _ = &common.LabelDescriptor{} 45 _ = &log.Log{} 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 // [ListLogs][ntt.logging.v1alpha2.ListLogs] 57 type ListLogsRequest struct { 58 state protoimpl.MessageState 59 sizeCache protoimpl.SizeCache 60 unknownFields protoimpl.UnknownFields 61 // Parent references of ntt.logging.v1alpha2.Log 62 Parents []*log.ParentName `protobuf:"bytes,1,rep,customtype=ParentName,name=parents,proto3" json:"parents,omitempty"` 63 // Filter that specifies which logs should be returned 64 Filter *log.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 65 // The time interval for which results should be returned. Only logs 66 // that contain data points in the specified interval are included 67 // in the response. 68 Interval *common.TimeInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"` 69 // Cap on a number of log entries to be included in a response. 70 // Number of logs in an actual response can be higher, since logs are 71 // read in bulk with second precision - exceed logs above the limit will share 72 // same timestamp as the logs below the limit. 73 // 74 // Results will be adjusted to the "end time" taken from interval field 75 // (adjusted also by page_token if provided). 76 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 77 // Token which identifies next page with further results. Token should be 78 // taken from 79 // [ListLogsResponse.next_page_token][ntt.logging.v1alpha2.ListLogsResponse.next_page_token]. 80 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 81 } 82 83 func (m *ListLogsRequest) Reset() { 84 *m = ListLogsRequest{} 85 if protoimpl.UnsafeEnabled { 86 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[0] 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 88 ms.StoreMessageInfo(mi) 89 } 90 } 91 92 func (m *ListLogsRequest) String() string { 93 return protoimpl.X.MessageStringOf(m) 94 } 95 96 func (*ListLogsRequest) ProtoMessage() {} 97 98 func (m *ListLogsRequest) ProtoReflect() preflect.Message { 99 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[0] 100 if protoimpl.UnsafeEnabled && m != nil { 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 102 if ms.LoadMessageInfo() == nil { 103 ms.StoreMessageInfo(mi) 104 } 105 return ms 106 } 107 return mi.MessageOf(m) 108 } 109 110 func (*ListLogsRequest) GotenMessage() {} 111 112 // Deprecated, Use ListLogsRequest.ProtoReflect.Descriptor instead. 113 func (*ListLogsRequest) Descriptor() ([]byte, []int) { 114 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{0} 115 } 116 117 func (m *ListLogsRequest) Unmarshal(b []byte) error { 118 return proto.Unmarshal(b, m) 119 } 120 121 func (m *ListLogsRequest) Marshal() ([]byte, error) { 122 return proto.Marshal(m) 123 } 124 125 func (m *ListLogsRequest) MarshalJSON() ([]byte, error) { 126 return protojson.MarshalOptions{}.Marshal(m) 127 } 128 129 func (m *ListLogsRequest) UnmarshalJSON(data []byte) error { 130 return protojson.Unmarshal(data, m) 131 } 132 133 func (m *ListLogsRequest) GetParents() []*log.ParentName { 134 if m != nil { 135 return m.Parents 136 } 137 return nil 138 } 139 140 func (m *ListLogsRequest) GetFilter() *log.Filter { 141 if m != nil { 142 return m.Filter 143 } 144 return nil 145 } 146 147 func (m *ListLogsRequest) GetInterval() *common.TimeInterval { 148 if m != nil { 149 return m.Interval 150 } 151 return nil 152 } 153 154 func (m *ListLogsRequest) GetPageSize() int32 { 155 if m != nil { 156 return m.PageSize 157 } 158 return int32(0) 159 } 160 161 func (m *ListLogsRequest) GetPageToken() string { 162 if m != nil { 163 return m.PageToken 164 } 165 return "" 166 } 167 168 func (m *ListLogsRequest) SetParents(fv []*log.ParentName) { 169 if m == nil { 170 panic(fmt.Errorf("can't set %s on nil %s", "Parents", "ListLogsRequest")) 171 } 172 m.Parents = fv 173 } 174 175 func (m *ListLogsRequest) SetFilter(fv *log.Filter) { 176 if m == nil { 177 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListLogsRequest")) 178 } 179 m.Filter = fv 180 } 181 182 func (m *ListLogsRequest) SetInterval(fv *common.TimeInterval) { 183 if m == nil { 184 panic(fmt.Errorf("can't set %s on nil %s", "Interval", "ListLogsRequest")) 185 } 186 m.Interval = fv 187 } 188 189 func (m *ListLogsRequest) SetPageSize(fv int32) { 190 if m == nil { 191 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListLogsRequest")) 192 } 193 m.PageSize = fv 194 } 195 196 func (m *ListLogsRequest) SetPageToken(fv string) { 197 if m == nil { 198 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListLogsRequest")) 199 } 200 m.PageToken = fv 201 } 202 203 // Response message for method 204 // [ListLogs][ntt.logging.v1alpha2.ListLogs] 205 type ListLogsResponse struct { 206 state protoimpl.MessageState 207 sizeCache protoimpl.SizeCache 208 unknownFields protoimpl.UnknownFields 209 // Logs that match the filter included in the request. 210 Logs []*log.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` 211 // If there are more results than have been returned, then this field is set 212 // to a non-empty value. To see the additional results, 213 // use that value as `pageToken` in the next call to this method. 214 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 215 // Query execution errors that may have caused the logs data returned 216 // to be incomplete. 217 ExecutionErrors []*rpc.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"` 218 } 219 220 func (m *ListLogsResponse) Reset() { 221 *m = ListLogsResponse{} 222 if protoimpl.UnsafeEnabled { 223 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[1] 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 225 ms.StoreMessageInfo(mi) 226 } 227 } 228 229 func (m *ListLogsResponse) String() string { 230 return protoimpl.X.MessageStringOf(m) 231 } 232 233 func (*ListLogsResponse) ProtoMessage() {} 234 235 func (m *ListLogsResponse) ProtoReflect() preflect.Message { 236 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[1] 237 if protoimpl.UnsafeEnabled && m != nil { 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 239 if ms.LoadMessageInfo() == nil { 240 ms.StoreMessageInfo(mi) 241 } 242 return ms 243 } 244 return mi.MessageOf(m) 245 } 246 247 func (*ListLogsResponse) GotenMessage() {} 248 249 // Deprecated, Use ListLogsResponse.ProtoReflect.Descriptor instead. 250 func (*ListLogsResponse) Descriptor() ([]byte, []int) { 251 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{1} 252 } 253 254 func (m *ListLogsResponse) Unmarshal(b []byte) error { 255 return proto.Unmarshal(b, m) 256 } 257 258 func (m *ListLogsResponse) Marshal() ([]byte, error) { 259 return proto.Marshal(m) 260 } 261 262 func (m *ListLogsResponse) MarshalJSON() ([]byte, error) { 263 return protojson.MarshalOptions{}.Marshal(m) 264 } 265 266 func (m *ListLogsResponse) UnmarshalJSON(data []byte) error { 267 return protojson.Unmarshal(data, m) 268 } 269 270 func (m *ListLogsResponse) GetLogs() []*log.Log { 271 if m != nil { 272 return m.Logs 273 } 274 return nil 275 } 276 277 func (m *ListLogsResponse) GetNextPageToken() string { 278 if m != nil { 279 return m.NextPageToken 280 } 281 return "" 282 } 283 284 func (m *ListLogsResponse) GetExecutionErrors() []*rpc.Status { 285 if m != nil { 286 return m.ExecutionErrors 287 } 288 return nil 289 } 290 291 func (m *ListLogsResponse) SetLogs(fv []*log.Log) { 292 if m == nil { 293 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "ListLogsResponse")) 294 } 295 m.Logs = fv 296 } 297 298 func (m *ListLogsResponse) SetNextPageToken(fv string) { 299 if m == nil { 300 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListLogsResponse")) 301 } 302 m.NextPageToken = fv 303 } 304 305 func (m *ListLogsResponse) SetExecutionErrors(fv []*rpc.Status) { 306 if m == nil { 307 panic(fmt.Errorf("can't set %s on nil %s", "ExecutionErrors", "ListLogsResponse")) 308 } 309 m.ExecutionErrors = fv 310 } 311 312 // Request message for method 313 // [CreateLogs][ntt.logging.v1alpha2.CreateLogs] 314 type CreateLogsRequest struct { 315 state protoimpl.MessageState 316 sizeCache protoimpl.SizeCache 317 unknownFields protoimpl.UnknownFields 318 // Parent reference of ntt.logging.v1alpha2.Log 319 Parent *log.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 320 // List of logs to create/append. If they have specified name 321 // field, it must match provided parent field. 322 Logs []*log.Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` 323 } 324 325 func (m *CreateLogsRequest) Reset() { 326 *m = CreateLogsRequest{} 327 if protoimpl.UnsafeEnabled { 328 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[2] 329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 330 ms.StoreMessageInfo(mi) 331 } 332 } 333 334 func (m *CreateLogsRequest) String() string { 335 return protoimpl.X.MessageStringOf(m) 336 } 337 338 func (*CreateLogsRequest) ProtoMessage() {} 339 340 func (m *CreateLogsRequest) ProtoReflect() preflect.Message { 341 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[2] 342 if protoimpl.UnsafeEnabled && m != nil { 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 344 if ms.LoadMessageInfo() == nil { 345 ms.StoreMessageInfo(mi) 346 } 347 return ms 348 } 349 return mi.MessageOf(m) 350 } 351 352 func (*CreateLogsRequest) GotenMessage() {} 353 354 // Deprecated, Use CreateLogsRequest.ProtoReflect.Descriptor instead. 355 func (*CreateLogsRequest) Descriptor() ([]byte, []int) { 356 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{2} 357 } 358 359 func (m *CreateLogsRequest) Unmarshal(b []byte) error { 360 return proto.Unmarshal(b, m) 361 } 362 363 func (m *CreateLogsRequest) Marshal() ([]byte, error) { 364 return proto.Marshal(m) 365 } 366 367 func (m *CreateLogsRequest) MarshalJSON() ([]byte, error) { 368 return protojson.MarshalOptions{}.Marshal(m) 369 } 370 371 func (m *CreateLogsRequest) UnmarshalJSON(data []byte) error { 372 return protojson.Unmarshal(data, m) 373 } 374 375 func (m *CreateLogsRequest) GetParent() *log.ParentName { 376 if m != nil { 377 return m.Parent 378 } 379 return nil 380 } 381 382 func (m *CreateLogsRequest) GetLogs() []*log.Log { 383 if m != nil { 384 return m.Logs 385 } 386 return nil 387 } 388 389 func (m *CreateLogsRequest) SetParent(fv *log.ParentName) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CreateLogsRequest")) 392 } 393 m.Parent = fv 394 } 395 396 func (m *CreateLogsRequest) SetLogs(fv []*log.Log) { 397 if m == nil { 398 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "CreateLogsRequest")) 399 } 400 m.Logs = fv 401 } 402 403 // Response message for method 404 // [CreateLogs][ntt.logging.v1alpha2.CreateLogs] 405 type CreateLogsResponse struct { 406 state protoimpl.MessageState 407 sizeCache protoimpl.SizeCache 408 unknownFields protoimpl.UnknownFields 409 // Log names indexed by Create position. All logs, except 410 // failed ones will be present. If all logs were written successfully, 411 // then map will have keys all from 0 to N-1. 412 LogNames map[uint32]*log.Name `protobuf:"bytes,1,rep,customtype=Name,name=log_names,json=logNames,proto3" json:"log_names,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3,customtype=Name"` 413 // Logs that failed to be created 414 FailedLogs []*CreateLogsResponse_CreateError `protobuf:"bytes,2,rep,name=failed_logs,json=failedLogs,proto3" json:"failed_logs,omitempty"` 415 } 416 417 func (m *CreateLogsResponse) Reset() { 418 *m = CreateLogsResponse{} 419 if protoimpl.UnsafeEnabled { 420 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[3] 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 422 ms.StoreMessageInfo(mi) 423 } 424 } 425 426 func (m *CreateLogsResponse) String() string { 427 return protoimpl.X.MessageStringOf(m) 428 } 429 430 func (*CreateLogsResponse) ProtoMessage() {} 431 432 func (m *CreateLogsResponse) ProtoReflect() preflect.Message { 433 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[3] 434 if protoimpl.UnsafeEnabled && m != nil { 435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 436 if ms.LoadMessageInfo() == nil { 437 ms.StoreMessageInfo(mi) 438 } 439 return ms 440 } 441 return mi.MessageOf(m) 442 } 443 444 func (*CreateLogsResponse) GotenMessage() {} 445 446 // Deprecated, Use CreateLogsResponse.ProtoReflect.Descriptor instead. 447 func (*CreateLogsResponse) Descriptor() ([]byte, []int) { 448 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{3} 449 } 450 451 func (m *CreateLogsResponse) Unmarshal(b []byte) error { 452 return proto.Unmarshal(b, m) 453 } 454 455 func (m *CreateLogsResponse) Marshal() ([]byte, error) { 456 return proto.Marshal(m) 457 } 458 459 func (m *CreateLogsResponse) MarshalJSON() ([]byte, error) { 460 return protojson.MarshalOptions{}.Marshal(m) 461 } 462 463 func (m *CreateLogsResponse) UnmarshalJSON(data []byte) error { 464 return protojson.Unmarshal(data, m) 465 } 466 467 func (m *CreateLogsResponse) GetLogNames() map[uint32]*log.Name { 468 if m != nil { 469 return m.LogNames 470 } 471 return nil 472 } 473 474 func (m *CreateLogsResponse) GetFailedLogs() []*CreateLogsResponse_CreateError { 475 if m != nil { 476 return m.FailedLogs 477 } 478 return nil 479 } 480 481 func (m *CreateLogsResponse) SetLogNames(fv map[uint32]*log.Name) { 482 if m == nil { 483 panic(fmt.Errorf("can't set %s on nil %s", "LogNames", "CreateLogsResponse")) 484 } 485 m.LogNames = fv 486 } 487 488 func (m *CreateLogsResponse) SetFailedLogs(fv []*CreateLogsResponse_CreateError) { 489 if m == nil { 490 panic(fmt.Errorf("can't set %s on nil %s", "FailedLogs", "CreateLogsResponse")) 491 } 492 m.FailedLogs = fv 493 } 494 495 // ErrorDetails is used when one of the queried regions fails to produce 496 // results. It is used in execution_errors field (see subfield 497 // ntt.rpc.Status.details). 498 type ListLogsResponse_ErrorDetails struct { 499 state protoimpl.MessageState 500 sizeCache protoimpl.SizeCache 501 unknownFields protoimpl.UnknownFields 502 // region id which failed to give results. 503 RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 504 } 505 506 func (m *ListLogsResponse_ErrorDetails) Reset() { 507 *m = ListLogsResponse_ErrorDetails{} 508 if protoimpl.UnsafeEnabled { 509 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[4] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 511 ms.StoreMessageInfo(mi) 512 } 513 } 514 515 func (m *ListLogsResponse_ErrorDetails) String() string { 516 return protoimpl.X.MessageStringOf(m) 517 } 518 519 func (*ListLogsResponse_ErrorDetails) ProtoMessage() {} 520 521 func (m *ListLogsResponse_ErrorDetails) ProtoReflect() preflect.Message { 522 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[4] 523 if protoimpl.UnsafeEnabled && m != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(m) 531 } 532 533 func (*ListLogsResponse_ErrorDetails) GotenMessage() {} 534 535 // Deprecated, Use ListLogsResponse_ErrorDetails.ProtoReflect.Descriptor instead. 536 func (*ListLogsResponse_ErrorDetails) Descriptor() ([]byte, []int) { 537 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{1, 0} 538 } 539 540 func (m *ListLogsResponse_ErrorDetails) Unmarshal(b []byte) error { 541 return proto.Unmarshal(b, m) 542 } 543 544 func (m *ListLogsResponse_ErrorDetails) Marshal() ([]byte, error) { 545 return proto.Marshal(m) 546 } 547 548 func (m *ListLogsResponse_ErrorDetails) MarshalJSON() ([]byte, error) { 549 return protojson.MarshalOptions{}.Marshal(m) 550 } 551 552 func (m *ListLogsResponse_ErrorDetails) UnmarshalJSON(data []byte) error { 553 return protojson.Unmarshal(data, m) 554 } 555 556 func (m *ListLogsResponse_ErrorDetails) GetRegionId() string { 557 if m != nil { 558 return m.RegionId 559 } 560 return "" 561 } 562 563 func (m *ListLogsResponse_ErrorDetails) SetRegionId(fv string) { 564 if m == nil { 565 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ListLogsResponse_ErrorDetails")) 566 } 567 m.RegionId = fv 568 } 569 570 // Describes the result of a failed request to write logs. 571 type CreateLogsResponse_CreateError struct { 572 state protoimpl.MessageState 573 sizeCache protoimpl.SizeCache 574 unknownFields protoimpl.UnknownFields 575 // All logs that failed to be written. This field provides all of 576 // the context that would be needed to retry the operation. 577 Logs []*log.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` 578 // The status of the requested write operation. 579 Status *rpc.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 580 } 581 582 func (m *CreateLogsResponse_CreateError) Reset() { 583 *m = CreateLogsResponse_CreateError{} 584 if protoimpl.UnsafeEnabled { 585 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[5] 586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 587 ms.StoreMessageInfo(mi) 588 } 589 } 590 591 func (m *CreateLogsResponse_CreateError) String() string { 592 return protoimpl.X.MessageStringOf(m) 593 } 594 595 func (*CreateLogsResponse_CreateError) ProtoMessage() {} 596 597 func (m *CreateLogsResponse_CreateError) ProtoReflect() preflect.Message { 598 mi := &edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[5] 599 if protoimpl.UnsafeEnabled && m != nil { 600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 601 if ms.LoadMessageInfo() == nil { 602 ms.StoreMessageInfo(mi) 603 } 604 return ms 605 } 606 return mi.MessageOf(m) 607 } 608 609 func (*CreateLogsResponse_CreateError) GotenMessage() {} 610 611 // Deprecated, Use CreateLogsResponse_CreateError.ProtoReflect.Descriptor instead. 612 func (*CreateLogsResponse_CreateError) Descriptor() ([]byte, []int) { 613 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP(), []int{3, 0} 614 } 615 616 func (m *CreateLogsResponse_CreateError) Unmarshal(b []byte) error { 617 return proto.Unmarshal(b, m) 618 } 619 620 func (m *CreateLogsResponse_CreateError) Marshal() ([]byte, error) { 621 return proto.Marshal(m) 622 } 623 624 func (m *CreateLogsResponse_CreateError) MarshalJSON() ([]byte, error) { 625 return protojson.MarshalOptions{}.Marshal(m) 626 } 627 628 func (m *CreateLogsResponse_CreateError) UnmarshalJSON(data []byte) error { 629 return protojson.Unmarshal(data, m) 630 } 631 632 func (m *CreateLogsResponse_CreateError) GetLogs() []*log.Log { 633 if m != nil { 634 return m.Logs 635 } 636 return nil 637 } 638 639 func (m *CreateLogsResponse_CreateError) GetStatus() *rpc.Status { 640 if m != nil { 641 return m.Status 642 } 643 return nil 644 } 645 646 func (m *CreateLogsResponse_CreateError) SetLogs(fv []*log.Log) { 647 if m == nil { 648 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "CreateLogsResponse_CreateError")) 649 } 650 m.Logs = fv 651 } 652 653 func (m *CreateLogsResponse_CreateError) SetStatus(fv *rpc.Status) { 654 if m == nil { 655 panic(fmt.Errorf("can't set %s on nil %s", "Status", "CreateLogsResponse_CreateError")) 656 } 657 m.Status = fv 658 } 659 660 var edgelq_logging_proto_v1alpha2_log_custom_proto preflect.FileDescriptor 661 662 var edgelq_logging_proto_v1alpha2_log_custom_proto_rawDesc = []byte{ 663 0x0a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 664 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 665 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 666 0x12, 0x14, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 667 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 668 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 669 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 670 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 671 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 672 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 673 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 674 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 675 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 676 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 677 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 678 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 679 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 680 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 681 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x70, 682 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 683 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x70, 684 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 685 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x0f, 0x4c, 686 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 687 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 688 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x3a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x07, 0x70, 0x61, 689 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 690 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x1a, 0x05, 0x0a, 0x03, 0x4c, 691 0x6f, 0x67, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x08, 0x69, 0x6e, 692 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 693 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 694 0x68, 0x61, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 695 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 696 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 697 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 698 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 699 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 700 0x22, 0xd2, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 701 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 702 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 703 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 704 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 705 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 706 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3a, 0x0a, 0x10, 707 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 708 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x72, 0x70, 0x63, 709 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 710 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x2b, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 711 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 712 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 713 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 714 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x06, 0x70, 0x61, 715 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 716 0x3a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 717 0x2d, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 718 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 719 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0xf1, 720 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 721 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 722 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 723 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 724 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 725 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 726 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x0a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6c, 727 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 728 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6e, 729 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 730 0x68, 0x61, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 731 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 732 0x6f, 0x72, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x1a, 0x65, 733 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 734 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 735 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 736 0x61, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x27, 0x0a, 0x06, 737 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 738 0x74, 0x74, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 739 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 740 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 741 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 742 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 743 0x38, 0x01, 0x42, 0x72, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 744 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 745 0x32, 0x42, 0x0e, 0x4c, 0x6f, 0x67, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 746 0x6f, 0x50, 0x00, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 747 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 748 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 749 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x3b, 0x6c, 0x6f, 0x67, 0x5f, 750 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 751 } 752 753 var ( 754 edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescOnce sync.Once 755 edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescData = edgelq_logging_proto_v1alpha2_log_custom_proto_rawDesc 756 ) 757 758 func edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescGZIP() []byte { 759 edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescOnce.Do(func() { 760 edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescData) 761 }) 762 return edgelq_logging_proto_v1alpha2_log_custom_proto_rawDescData 763 } 764 765 var edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 766 var edgelq_logging_proto_v1alpha2_log_custom_proto_goTypes = []interface{}{ 767 (*ListLogsRequest)(nil), // 0: ntt.logging.v1alpha2.ListLogsRequest 768 (*ListLogsResponse)(nil), // 1: ntt.logging.v1alpha2.ListLogsResponse 769 (*CreateLogsRequest)(nil), // 2: ntt.logging.v1alpha2.CreateLogsRequest 770 (*CreateLogsResponse)(nil), // 3: ntt.logging.v1alpha2.CreateLogsResponse 771 (*ListLogsResponse_ErrorDetails)(nil), // 4: ntt.logging.v1alpha2.ListLogsResponse.ErrorDetails 772 (*CreateLogsResponse_CreateError)(nil), // 5: ntt.logging.v1alpha2.CreateLogsResponse.CreateError 773 nil, // 6: ntt.logging.v1alpha2.CreateLogsResponse.LogNamesEntry 774 (*common.TimeInterval)(nil), // 7: ntt.logging.v1alpha2.TimeInterval 775 (*log.Log)(nil), // 8: ntt.logging.v1alpha2.Log 776 (*rpc.Status)(nil), // 9: ntt.rpc.Status 777 } 778 var edgelq_logging_proto_v1alpha2_log_custom_proto_depIdxs = []int32{ 779 7, // 0: ntt.logging.v1alpha2.ListLogsRequest.interval:type_name -> ntt.logging.v1alpha2.TimeInterval 780 8, // 1: ntt.logging.v1alpha2.ListLogsResponse.logs:type_name -> ntt.logging.v1alpha2.Log 781 9, // 2: ntt.logging.v1alpha2.ListLogsResponse.execution_errors:type_name -> ntt.rpc.Status 782 8, // 3: ntt.logging.v1alpha2.CreateLogsRequest.logs:type_name -> ntt.logging.v1alpha2.Log 783 6, // 4: ntt.logging.v1alpha2.CreateLogsResponse.log_names:type_name -> ntt.logging.v1alpha2.CreateLogsResponse.LogNamesEntry 784 5, // 5: ntt.logging.v1alpha2.CreateLogsResponse.failed_logs:type_name -> ntt.logging.v1alpha2.CreateLogsResponse.CreateError 785 8, // 6: ntt.logging.v1alpha2.CreateLogsResponse.CreateError.logs:type_name -> ntt.logging.v1alpha2.Log 786 9, // 7: ntt.logging.v1alpha2.CreateLogsResponse.CreateError.status:type_name -> ntt.rpc.Status 787 8, // [8:8] is the sub-list for method output_type 788 8, // [8:8] is the sub-list for method input_type 789 8, // [8:8] is the sub-list for extension type_name 790 8, // [8:8] is the sub-list for extension extendee 791 0, // [0:8] is the sub-list for field type_name 792 } 793 794 func init() { edgelq_logging_proto_v1alpha2_log_custom_proto_init() } 795 func edgelq_logging_proto_v1alpha2_log_custom_proto_init() { 796 if edgelq_logging_proto_v1alpha2_log_custom_proto != nil { 797 return 798 } 799 if !protoimpl.UnsafeEnabled { 800 801 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 802 switch v := v.(*ListLogsRequest); i { 803 case 0: 804 return &v.state 805 case 1: 806 return &v.sizeCache 807 case 2: 808 return &v.unknownFields 809 default: 810 return nil 811 } 812 } 813 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 814 switch v := v.(*ListLogsResponse); i { 815 case 0: 816 return &v.state 817 case 1: 818 return &v.sizeCache 819 case 2: 820 return &v.unknownFields 821 default: 822 return nil 823 } 824 } 825 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 826 switch v := v.(*CreateLogsRequest); i { 827 case 0: 828 return &v.state 829 case 1: 830 return &v.sizeCache 831 case 2: 832 return &v.unknownFields 833 default: 834 return nil 835 } 836 } 837 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 838 switch v := v.(*CreateLogsResponse); i { 839 case 0: 840 return &v.state 841 case 1: 842 return &v.sizeCache 843 case 2: 844 return &v.unknownFields 845 default: 846 return nil 847 } 848 } 849 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 850 switch v := v.(*ListLogsResponse_ErrorDetails); i { 851 case 0: 852 return &v.state 853 case 1: 854 return &v.sizeCache 855 case 2: 856 return &v.unknownFields 857 default: 858 return nil 859 } 860 } 861 edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 862 switch v := v.(*CreateLogsResponse_CreateError); i { 863 case 0: 864 return &v.state 865 case 1: 866 return &v.sizeCache 867 case 2: 868 return &v.unknownFields 869 default: 870 return nil 871 } 872 } 873 } 874 875 type x struct{} 876 out := protoimpl.TypeBuilder{ 877 File: protoimpl.DescBuilder{ 878 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 879 RawDescriptor: edgelq_logging_proto_v1alpha2_log_custom_proto_rawDesc, 880 NumEnums: 0, 881 NumMessages: 7, 882 NumExtensions: 0, 883 NumServices: 0, 884 }, 885 GoTypes: edgelq_logging_proto_v1alpha2_log_custom_proto_goTypes, 886 DependencyIndexes: edgelq_logging_proto_v1alpha2_log_custom_proto_depIdxs, 887 MessageInfos: edgelq_logging_proto_v1alpha2_log_custom_proto_msgTypes, 888 }.Build() 889 edgelq_logging_proto_v1alpha2_log_custom_proto = out.File 890 edgelq_logging_proto_v1alpha2_log_custom_proto_rawDesc = nil 891 edgelq_logging_proto_v1alpha2_log_custom_proto_goTypes = nil 892 edgelq_logging_proto_v1alpha2_log_custom_proto_depIdxs = nil 893 }