github.com/cloudwan/edgelq-sdk@v1.15.4/logging/client/v1/log/log_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/logging/proto/v1/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/v1/organization" 22 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 23 bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 24 common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 25 log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 26 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 27 ) 28 29 // Reference imports to suppress errors if they are not otherwise used. 30 var ( 31 _ = fmt.Errorf 32 _ = reflect.Method{} 33 _ = sync.Once{} 34 35 _ = protojson.MarshalOptions{} 36 _ = proto.MarshalOptions{} 37 _ = preflect.Value{} 38 _ = protoimpl.DescBuilder{} 39 ) 40 41 // make sure we're using proto imports 42 var ( 43 _ = &rpc.Status{} 44 _ = &iam_organization.Organization{} 45 _ = &iam_project.Project{} 46 _ = &bucket.Bucket{} 47 _ = &common.LabelDescriptor{} 48 _ = &log.Log{} 49 _ = &meta_service.Service{} 50 ) 51 52 const ( 53 // Verify that this generated code is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 55 // Verify that runtime/protoimpl is sufficiently up-to-date. 56 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 57 ) 58 59 // Request message for method [ListLogs][ntt.logging.v1.ListLogs] 60 type ListLogsRequest struct { 61 state protoimpl.MessageState 62 sizeCache protoimpl.SizeCache 63 unknownFields protoimpl.UnknownFields 64 // Parent references of ntt.logging.v1.Log 65 Parents []*log.ParentName `protobuf:"bytes,1,rep,customtype=ParentName,name=parents,proto3" json:"parents,omitempty"` 66 // Filter that specifies which logs should be returned 67 Filter *log.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 68 // The time interval for which results should be returned. Only logs 69 // that contain data points in the specified interval are included 70 // in the response. 71 Interval *common.TimeInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"` 72 // Cap on a number of log entries to be included in a response. 73 // Number of logs in an actual response can be higher, since logs are 74 // read in bulk with second precision - exceed logs above the limit will share 75 // same timestamp as the logs below the limit. 76 // 77 // Results will be adjusted to the "end time" taken from interval field 78 // (adjusted also by page_token if provided). 79 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 80 // Token which identifies next page with further results. Token should be 81 // taken from 82 // [ListLogsResponse.next_page_token][ntt.logging.v1.ListLogsResponse.next_page_token]. 83 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 84 } 85 86 func (m *ListLogsRequest) Reset() { 87 *m = ListLogsRequest{} 88 if protoimpl.UnsafeEnabled { 89 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[0] 90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 91 ms.StoreMessageInfo(mi) 92 } 93 } 94 95 func (m *ListLogsRequest) String() string { 96 return protoimpl.X.MessageStringOf(m) 97 } 98 99 func (*ListLogsRequest) ProtoMessage() {} 100 101 func (m *ListLogsRequest) ProtoReflect() preflect.Message { 102 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[0] 103 if protoimpl.UnsafeEnabled && m != nil { 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 105 if ms.LoadMessageInfo() == nil { 106 ms.StoreMessageInfo(mi) 107 } 108 return ms 109 } 110 return mi.MessageOf(m) 111 } 112 113 func (*ListLogsRequest) GotenMessage() {} 114 115 // Deprecated, Use ListLogsRequest.ProtoReflect.Descriptor instead. 116 func (*ListLogsRequest) Descriptor() ([]byte, []int) { 117 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{0} 118 } 119 120 func (m *ListLogsRequest) Unmarshal(b []byte) error { 121 return proto.Unmarshal(b, m) 122 } 123 124 func (m *ListLogsRequest) Marshal() ([]byte, error) { 125 return proto.Marshal(m) 126 } 127 128 func (m *ListLogsRequest) MarshalJSON() ([]byte, error) { 129 return protojson.MarshalOptions{}.Marshal(m) 130 } 131 132 func (m *ListLogsRequest) UnmarshalJSON(data []byte) error { 133 return protojson.Unmarshal(data, m) 134 } 135 136 func (m *ListLogsRequest) GetParents() []*log.ParentName { 137 if m != nil { 138 return m.Parents 139 } 140 return nil 141 } 142 143 func (m *ListLogsRequest) GetFilter() *log.Filter { 144 if m != nil { 145 return m.Filter 146 } 147 return nil 148 } 149 150 func (m *ListLogsRequest) GetInterval() *common.TimeInterval { 151 if m != nil { 152 return m.Interval 153 } 154 return nil 155 } 156 157 func (m *ListLogsRequest) GetPageSize() int32 { 158 if m != nil { 159 return m.PageSize 160 } 161 return int32(0) 162 } 163 164 func (m *ListLogsRequest) GetPageToken() string { 165 if m != nil { 166 return m.PageToken 167 } 168 return "" 169 } 170 171 func (m *ListLogsRequest) SetParents(fv []*log.ParentName) { 172 if m == nil { 173 panic(fmt.Errorf("can't set %s on nil %s", "Parents", "ListLogsRequest")) 174 } 175 m.Parents = fv 176 } 177 178 func (m *ListLogsRequest) SetFilter(fv *log.Filter) { 179 if m == nil { 180 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListLogsRequest")) 181 } 182 m.Filter = fv 183 } 184 185 func (m *ListLogsRequest) SetInterval(fv *common.TimeInterval) { 186 if m == nil { 187 panic(fmt.Errorf("can't set %s on nil %s", "Interval", "ListLogsRequest")) 188 } 189 m.Interval = fv 190 } 191 192 func (m *ListLogsRequest) SetPageSize(fv int32) { 193 if m == nil { 194 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListLogsRequest")) 195 } 196 m.PageSize = fv 197 } 198 199 func (m *ListLogsRequest) SetPageToken(fv string) { 200 if m == nil { 201 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListLogsRequest")) 202 } 203 m.PageToken = fv 204 } 205 206 // Response message for method [ListLogs][ntt.logging.v1.ListLogs] 207 type ListLogsResponse struct { 208 state protoimpl.MessageState 209 sizeCache protoimpl.SizeCache 210 unknownFields protoimpl.UnknownFields 211 // Logs that match the filter included in the request. 212 Logs []*log.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` 213 // If there are more results than have been returned, then this field is set 214 // to a non-empty value. To see the additional results, 215 // use that value as `pageToken` in the next call to this method. 216 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 217 // Query execution errors that may have caused the logs data returned 218 // to be incomplete. 219 ExecutionErrors []*rpc.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"` 220 } 221 222 func (m *ListLogsResponse) Reset() { 223 *m = ListLogsResponse{} 224 if protoimpl.UnsafeEnabled { 225 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[1] 226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 227 ms.StoreMessageInfo(mi) 228 } 229 } 230 231 func (m *ListLogsResponse) String() string { 232 return protoimpl.X.MessageStringOf(m) 233 } 234 235 func (*ListLogsResponse) ProtoMessage() {} 236 237 func (m *ListLogsResponse) ProtoReflect() preflect.Message { 238 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[1] 239 if protoimpl.UnsafeEnabled && m != nil { 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 241 if ms.LoadMessageInfo() == nil { 242 ms.StoreMessageInfo(mi) 243 } 244 return ms 245 } 246 return mi.MessageOf(m) 247 } 248 249 func (*ListLogsResponse) GotenMessage() {} 250 251 // Deprecated, Use ListLogsResponse.ProtoReflect.Descriptor instead. 252 func (*ListLogsResponse) Descriptor() ([]byte, []int) { 253 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{1} 254 } 255 256 func (m *ListLogsResponse) Unmarshal(b []byte) error { 257 return proto.Unmarshal(b, m) 258 } 259 260 func (m *ListLogsResponse) Marshal() ([]byte, error) { 261 return proto.Marshal(m) 262 } 263 264 func (m *ListLogsResponse) MarshalJSON() ([]byte, error) { 265 return protojson.MarshalOptions{}.Marshal(m) 266 } 267 268 func (m *ListLogsResponse) UnmarshalJSON(data []byte) error { 269 return protojson.Unmarshal(data, m) 270 } 271 272 func (m *ListLogsResponse) GetLogs() []*log.Log { 273 if m != nil { 274 return m.Logs 275 } 276 return nil 277 } 278 279 func (m *ListLogsResponse) GetNextPageToken() string { 280 if m != nil { 281 return m.NextPageToken 282 } 283 return "" 284 } 285 286 func (m *ListLogsResponse) GetExecutionErrors() []*rpc.Status { 287 if m != nil { 288 return m.ExecutionErrors 289 } 290 return nil 291 } 292 293 func (m *ListLogsResponse) SetLogs(fv []*log.Log) { 294 if m == nil { 295 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "ListLogsResponse")) 296 } 297 m.Logs = fv 298 } 299 300 func (m *ListLogsResponse) SetNextPageToken(fv string) { 301 if m == nil { 302 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListLogsResponse")) 303 } 304 m.NextPageToken = fv 305 } 306 307 func (m *ListLogsResponse) SetExecutionErrors(fv []*rpc.Status) { 308 if m == nil { 309 panic(fmt.Errorf("can't set %s on nil %s", "ExecutionErrors", "ListLogsResponse")) 310 } 311 m.ExecutionErrors = fv 312 } 313 314 // Request message for method [CreateLogs][ntt.logging.v1.CreateLogs] 315 type CreateLogsRequest struct { 316 state protoimpl.MessageState 317 sizeCache protoimpl.SizeCache 318 unknownFields protoimpl.UnknownFields 319 // Parent reference of ntt.logging.v1.Log 320 Parent *log.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 321 // List of logs to create/append. If they have specified name 322 // field, it must match provided parent field. 323 Logs []*log.Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` 324 } 325 326 func (m *CreateLogsRequest) Reset() { 327 *m = CreateLogsRequest{} 328 if protoimpl.UnsafeEnabled { 329 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[2] 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 331 ms.StoreMessageInfo(mi) 332 } 333 } 334 335 func (m *CreateLogsRequest) String() string { 336 return protoimpl.X.MessageStringOf(m) 337 } 338 339 func (*CreateLogsRequest) ProtoMessage() {} 340 341 func (m *CreateLogsRequest) ProtoReflect() preflect.Message { 342 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[2] 343 if protoimpl.UnsafeEnabled && m != nil { 344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 345 if ms.LoadMessageInfo() == nil { 346 ms.StoreMessageInfo(mi) 347 } 348 return ms 349 } 350 return mi.MessageOf(m) 351 } 352 353 func (*CreateLogsRequest) GotenMessage() {} 354 355 // Deprecated, Use CreateLogsRequest.ProtoReflect.Descriptor instead. 356 func (*CreateLogsRequest) Descriptor() ([]byte, []int) { 357 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{2} 358 } 359 360 func (m *CreateLogsRequest) Unmarshal(b []byte) error { 361 return proto.Unmarshal(b, m) 362 } 363 364 func (m *CreateLogsRequest) Marshal() ([]byte, error) { 365 return proto.Marshal(m) 366 } 367 368 func (m *CreateLogsRequest) MarshalJSON() ([]byte, error) { 369 return protojson.MarshalOptions{}.Marshal(m) 370 } 371 372 func (m *CreateLogsRequest) UnmarshalJSON(data []byte) error { 373 return protojson.Unmarshal(data, m) 374 } 375 376 func (m *CreateLogsRequest) GetParent() *log.ParentName { 377 if m != nil { 378 return m.Parent 379 } 380 return nil 381 } 382 383 func (m *CreateLogsRequest) GetLogs() []*log.Log { 384 if m != nil { 385 return m.Logs 386 } 387 return nil 388 } 389 390 func (m *CreateLogsRequest) SetParent(fv *log.ParentName) { 391 if m == nil { 392 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CreateLogsRequest")) 393 } 394 m.Parent = fv 395 } 396 397 func (m *CreateLogsRequest) SetLogs(fv []*log.Log) { 398 if m == nil { 399 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "CreateLogsRequest")) 400 } 401 m.Logs = fv 402 } 403 404 // Response message for method [CreateLogs][ntt.logging.v1.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_v1_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_v1_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_v1_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 // A request message of the StreamingCreateLogs method. 496 // This method only supports creating logs for the same project and region for 497 // the entire duration of the stream. Any client that intends 498 // to create logs in multiple projects or regions should not use this API. If 499 // the client uses the same scope, service, version and log descriptor, these 500 // fields need not be sent after the first message even if binary key is not 501 // used in the log entry. The server will set the values observed in the first 502 // message in case these are empty and binary key is also not present in the log 503 type StreamingCreateLogsRequest struct { 504 state protoimpl.MessageState 505 sizeCache protoimpl.SizeCache 506 unknownFields protoimpl.UnknownFields 507 // Parent reference of ntt.logging.v1.Log 508 // only required in the first request message 509 Parent *log.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 510 // only required in the first request in order to route the request to the 511 // correct region 512 RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 513 // List of logs to create/append. If they have specified name 514 // field, it must match provided parent field 515 Logs []*log.Log `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` 516 } 517 518 func (m *StreamingCreateLogsRequest) Reset() { 519 *m = StreamingCreateLogsRequest{} 520 if protoimpl.UnsafeEnabled { 521 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[4] 522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 523 ms.StoreMessageInfo(mi) 524 } 525 } 526 527 func (m *StreamingCreateLogsRequest) String() string { 528 return protoimpl.X.MessageStringOf(m) 529 } 530 531 func (*StreamingCreateLogsRequest) ProtoMessage() {} 532 533 func (m *StreamingCreateLogsRequest) ProtoReflect() preflect.Message { 534 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[4] 535 if protoimpl.UnsafeEnabled && m != nil { 536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 537 if ms.LoadMessageInfo() == nil { 538 ms.StoreMessageInfo(mi) 539 } 540 return ms 541 } 542 return mi.MessageOf(m) 543 } 544 545 func (*StreamingCreateLogsRequest) GotenMessage() {} 546 547 // Deprecated, Use StreamingCreateLogsRequest.ProtoReflect.Descriptor instead. 548 func (*StreamingCreateLogsRequest) Descriptor() ([]byte, []int) { 549 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{4} 550 } 551 552 func (m *StreamingCreateLogsRequest) Unmarshal(b []byte) error { 553 return proto.Unmarshal(b, m) 554 } 555 556 func (m *StreamingCreateLogsRequest) Marshal() ([]byte, error) { 557 return proto.Marshal(m) 558 } 559 560 func (m *StreamingCreateLogsRequest) MarshalJSON() ([]byte, error) { 561 return protojson.MarshalOptions{}.Marshal(m) 562 } 563 564 func (m *StreamingCreateLogsRequest) UnmarshalJSON(data []byte) error { 565 return protojson.Unmarshal(data, m) 566 } 567 568 func (m *StreamingCreateLogsRequest) GetParent() *log.ParentName { 569 if m != nil { 570 return m.Parent 571 } 572 return nil 573 } 574 575 func (m *StreamingCreateLogsRequest) GetRegionId() string { 576 if m != nil { 577 return m.RegionId 578 } 579 return "" 580 } 581 582 func (m *StreamingCreateLogsRequest) GetLogs() []*log.Log { 583 if m != nil { 584 return m.Logs 585 } 586 return nil 587 } 588 589 func (m *StreamingCreateLogsRequest) SetParent(fv *log.ParentName) { 590 if m == nil { 591 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "StreamingCreateLogsRequest")) 592 } 593 m.Parent = fv 594 } 595 596 func (m *StreamingCreateLogsRequest) SetRegionId(fv string) { 597 if m == nil { 598 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "StreamingCreateLogsRequest")) 599 } 600 m.RegionId = fv 601 } 602 603 func (m *StreamingCreateLogsRequest) SetLogs(fv []*log.Log) { 604 if m == nil { 605 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "StreamingCreateLogsRequest")) 606 } 607 m.Logs = fv 608 } 609 610 // A response message of the StreamingCreateLogs method. 611 type StreamingCreateLogsResponse struct { 612 state protoimpl.MessageState 613 sizeCache protoimpl.SizeCache 614 unknownFields protoimpl.UnknownFields 615 // Binary key will be set in the map key corresponding to the array index 616 // in the request, but only if the particular request entry did not use binary 617 // key. Indices for log entries in request having binary key set will be 618 // ignored in the response 619 BinKeys map[uint32]string `protobuf:"bytes,1,rep,name=bin_keys,json=binKeys,proto3" json:"bin_keys,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 620 // Logs that failed to be created 621 FailedLogs []*CreateLogsResponse_CreateError `protobuf:"bytes,2,rep,name=failed_logs,json=failedLogs,proto3" json:"failed_logs,omitempty"` 622 } 623 624 func (m *StreamingCreateLogsResponse) Reset() { 625 *m = StreamingCreateLogsResponse{} 626 if protoimpl.UnsafeEnabled { 627 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[5] 628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 629 ms.StoreMessageInfo(mi) 630 } 631 } 632 633 func (m *StreamingCreateLogsResponse) String() string { 634 return protoimpl.X.MessageStringOf(m) 635 } 636 637 func (*StreamingCreateLogsResponse) ProtoMessage() {} 638 639 func (m *StreamingCreateLogsResponse) ProtoReflect() preflect.Message { 640 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[5] 641 if protoimpl.UnsafeEnabled && m != nil { 642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 643 if ms.LoadMessageInfo() == nil { 644 ms.StoreMessageInfo(mi) 645 } 646 return ms 647 } 648 return mi.MessageOf(m) 649 } 650 651 func (*StreamingCreateLogsResponse) GotenMessage() {} 652 653 // Deprecated, Use StreamingCreateLogsResponse.ProtoReflect.Descriptor instead. 654 func (*StreamingCreateLogsResponse) Descriptor() ([]byte, []int) { 655 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{5} 656 } 657 658 func (m *StreamingCreateLogsResponse) Unmarshal(b []byte) error { 659 return proto.Unmarshal(b, m) 660 } 661 662 func (m *StreamingCreateLogsResponse) Marshal() ([]byte, error) { 663 return proto.Marshal(m) 664 } 665 666 func (m *StreamingCreateLogsResponse) MarshalJSON() ([]byte, error) { 667 return protojson.MarshalOptions{}.Marshal(m) 668 } 669 670 func (m *StreamingCreateLogsResponse) UnmarshalJSON(data []byte) error { 671 return protojson.Unmarshal(data, m) 672 } 673 674 func (m *StreamingCreateLogsResponse) GetBinKeys() map[uint32]string { 675 if m != nil { 676 return m.BinKeys 677 } 678 return nil 679 } 680 681 func (m *StreamingCreateLogsResponse) GetFailedLogs() []*CreateLogsResponse_CreateError { 682 if m != nil { 683 return m.FailedLogs 684 } 685 return nil 686 } 687 688 func (m *StreamingCreateLogsResponse) SetBinKeys(fv map[uint32]string) { 689 if m == nil { 690 panic(fmt.Errorf("can't set %s on nil %s", "BinKeys", "StreamingCreateLogsResponse")) 691 } 692 m.BinKeys = fv 693 } 694 695 func (m *StreamingCreateLogsResponse) SetFailedLogs(fv []*CreateLogsResponse_CreateError) { 696 if m == nil { 697 panic(fmt.Errorf("can't set %s on nil %s", "FailedLogs", "StreamingCreateLogsResponse")) 698 } 699 m.FailedLogs = fv 700 } 701 702 // ErrorDetails is used when one of the queried regions fails to produce 703 // results. It is used in execution_errors field (see subfield 704 // ntt.rpc.Status.details). 705 type ListLogsResponse_ErrorDetails struct { 706 state protoimpl.MessageState 707 sizeCache protoimpl.SizeCache 708 unknownFields protoimpl.UnknownFields 709 // region id which failed to give results. 710 RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 711 } 712 713 func (m *ListLogsResponse_ErrorDetails) Reset() { 714 *m = ListLogsResponse_ErrorDetails{} 715 if protoimpl.UnsafeEnabled { 716 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[6] 717 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 718 ms.StoreMessageInfo(mi) 719 } 720 } 721 722 func (m *ListLogsResponse_ErrorDetails) String() string { 723 return protoimpl.X.MessageStringOf(m) 724 } 725 726 func (*ListLogsResponse_ErrorDetails) ProtoMessage() {} 727 728 func (m *ListLogsResponse_ErrorDetails) ProtoReflect() preflect.Message { 729 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[6] 730 if protoimpl.UnsafeEnabled && m != nil { 731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 732 if ms.LoadMessageInfo() == nil { 733 ms.StoreMessageInfo(mi) 734 } 735 return ms 736 } 737 return mi.MessageOf(m) 738 } 739 740 func (*ListLogsResponse_ErrorDetails) GotenMessage() {} 741 742 // Deprecated, Use ListLogsResponse_ErrorDetails.ProtoReflect.Descriptor instead. 743 func (*ListLogsResponse_ErrorDetails) Descriptor() ([]byte, []int) { 744 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{1, 0} 745 } 746 747 func (m *ListLogsResponse_ErrorDetails) Unmarshal(b []byte) error { 748 return proto.Unmarshal(b, m) 749 } 750 751 func (m *ListLogsResponse_ErrorDetails) Marshal() ([]byte, error) { 752 return proto.Marshal(m) 753 } 754 755 func (m *ListLogsResponse_ErrorDetails) MarshalJSON() ([]byte, error) { 756 return protojson.MarshalOptions{}.Marshal(m) 757 } 758 759 func (m *ListLogsResponse_ErrorDetails) UnmarshalJSON(data []byte) error { 760 return protojson.Unmarshal(data, m) 761 } 762 763 func (m *ListLogsResponse_ErrorDetails) GetRegionId() string { 764 if m != nil { 765 return m.RegionId 766 } 767 return "" 768 } 769 770 func (m *ListLogsResponse_ErrorDetails) SetRegionId(fv string) { 771 if m == nil { 772 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ListLogsResponse_ErrorDetails")) 773 } 774 m.RegionId = fv 775 } 776 777 // Describes the result of a failed request to write logs. 778 type CreateLogsResponse_CreateError struct { 779 state protoimpl.MessageState 780 sizeCache protoimpl.SizeCache 781 unknownFields protoimpl.UnknownFields 782 // All logs that failed to be written. This field provides all of 783 // the context that would be needed to retry the operation. 784 Logs []*log.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` 785 // The status of the requested write operation. 786 Status *rpc.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 787 } 788 789 func (m *CreateLogsResponse_CreateError) Reset() { 790 *m = CreateLogsResponse_CreateError{} 791 if protoimpl.UnsafeEnabled { 792 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[7] 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 794 ms.StoreMessageInfo(mi) 795 } 796 } 797 798 func (m *CreateLogsResponse_CreateError) String() string { 799 return protoimpl.X.MessageStringOf(m) 800 } 801 802 func (*CreateLogsResponse_CreateError) ProtoMessage() {} 803 804 func (m *CreateLogsResponse_CreateError) ProtoReflect() preflect.Message { 805 mi := &edgelq_logging_proto_v1_log_custom_proto_msgTypes[7] 806 if protoimpl.UnsafeEnabled && m != nil { 807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 808 if ms.LoadMessageInfo() == nil { 809 ms.StoreMessageInfo(mi) 810 } 811 return ms 812 } 813 return mi.MessageOf(m) 814 } 815 816 func (*CreateLogsResponse_CreateError) GotenMessage() {} 817 818 // Deprecated, Use CreateLogsResponse_CreateError.ProtoReflect.Descriptor instead. 819 func (*CreateLogsResponse_CreateError) Descriptor() ([]byte, []int) { 820 return edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP(), []int{3, 0} 821 } 822 823 func (m *CreateLogsResponse_CreateError) Unmarshal(b []byte) error { 824 return proto.Unmarshal(b, m) 825 } 826 827 func (m *CreateLogsResponse_CreateError) Marshal() ([]byte, error) { 828 return proto.Marshal(m) 829 } 830 831 func (m *CreateLogsResponse_CreateError) MarshalJSON() ([]byte, error) { 832 return protojson.MarshalOptions{}.Marshal(m) 833 } 834 835 func (m *CreateLogsResponse_CreateError) UnmarshalJSON(data []byte) error { 836 return protojson.Unmarshal(data, m) 837 } 838 839 func (m *CreateLogsResponse_CreateError) GetLogs() []*log.Log { 840 if m != nil { 841 return m.Logs 842 } 843 return nil 844 } 845 846 func (m *CreateLogsResponse_CreateError) GetStatus() *rpc.Status { 847 if m != nil { 848 return m.Status 849 } 850 return nil 851 } 852 853 func (m *CreateLogsResponse_CreateError) SetLogs(fv []*log.Log) { 854 if m == nil { 855 panic(fmt.Errorf("can't set %s on nil %s", "Logs", "CreateLogsResponse_CreateError")) 856 } 857 m.Logs = fv 858 } 859 860 func (m *CreateLogsResponse_CreateError) SetStatus(fv *rpc.Status) { 861 if m == nil { 862 panic(fmt.Errorf("can't set %s on nil %s", "Status", "CreateLogsResponse_CreateError")) 863 } 864 m.Status = fv 865 } 866 867 var edgelq_logging_proto_v1_log_custom_proto preflect.FileDescriptor 868 869 var edgelq_logging_proto_v1_log_custom_proto_rawDesc = []byte{ 870 0x0a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 871 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x75, 872 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e, 873 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 874 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 875 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 876 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 877 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 878 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 879 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 880 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 881 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 882 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 883 0x6e, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 884 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 885 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 886 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 887 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 888 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x01, 0x0a, 0x0f, 889 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 890 0x25, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 891 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x3a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x07, 0x70, 892 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 893 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x1a, 0x05, 0x0a, 0x03, 894 0x4c, 0x6f, 0x67, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x08, 0x69, 895 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 896 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 897 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x08, 0xca, 0xc6, 0x27, 898 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 899 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 900 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 901 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 902 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcc, 0x01, 0x0a, 0x10, 903 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 904 0x12, 0x27, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 905 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 906 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 907 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 908 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 909 0x6e, 0x12, 0x3a, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 910 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x74, 911 0x74, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x65, 0x78, 912 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x2b, 0x0a, 913 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 914 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 915 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x11, 0x43, 0x72, 916 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 917 0x23, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 918 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x3a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 919 0x72, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 920 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 921 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0xdf, 0x02, 922 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 923 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 924 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 925 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 926 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x4e, 927 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x0b, 0xb2, 0xda, 0x21, 0x07, 0x0a, 928 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 929 0x12, 0x4f, 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 930 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 931 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 932 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 933 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4c, 0x6f, 0x67, 934 0x73, 0x1a, 0x5f, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 935 0x12, 0x27, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 936 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 937 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x74, 0x61, 938 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 939 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 940 0x75, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x45, 0x6e, 941 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 942 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 943 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 944 0x87, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x72, 0x65, 945 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 946 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 947 0xb2, 0xda, 0x21, 0x07, 0x3a, 0x05, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 948 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 949 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 950 0x12, 0x27, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 951 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 952 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0xff, 0x01, 0x0a, 0x1b, 0x53, 0x74, 953 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 954 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x62, 0x69, 0x6e, 955 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6e, 0x74, 956 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 957 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 958 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x73, 959 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x62, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x4f, 960 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 961 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 962 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 963 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x72, 964 0x72, 0x6f, 0x72, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x1a, 965 0x3a, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 966 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 967 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 968 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x6a, 0xe8, 0xde, 0x21, 969 0x00, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 970 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x4c, 0x6f, 0x67, 0x43, 0x75, 0x73, 971 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 972 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 973 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x63, 974 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x3b, 0x6c, 0x6f, 0x67, 975 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 976 } 977 978 var ( 979 edgelq_logging_proto_v1_log_custom_proto_rawDescOnce sync.Once 980 edgelq_logging_proto_v1_log_custom_proto_rawDescData = edgelq_logging_proto_v1_log_custom_proto_rawDesc 981 ) 982 983 func edgelq_logging_proto_v1_log_custom_proto_rawDescGZIP() []byte { 984 edgelq_logging_proto_v1_log_custom_proto_rawDescOnce.Do(func() { 985 edgelq_logging_proto_v1_log_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_logging_proto_v1_log_custom_proto_rawDescData) 986 }) 987 return edgelq_logging_proto_v1_log_custom_proto_rawDescData 988 } 989 990 var edgelq_logging_proto_v1_log_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 991 var edgelq_logging_proto_v1_log_custom_proto_goTypes = []interface{}{ 992 (*ListLogsRequest)(nil), // 0: ntt.logging.v1.ListLogsRequest 993 (*ListLogsResponse)(nil), // 1: ntt.logging.v1.ListLogsResponse 994 (*CreateLogsRequest)(nil), // 2: ntt.logging.v1.CreateLogsRequest 995 (*CreateLogsResponse)(nil), // 3: ntt.logging.v1.CreateLogsResponse 996 (*StreamingCreateLogsRequest)(nil), // 4: ntt.logging.v1.StreamingCreateLogsRequest 997 (*StreamingCreateLogsResponse)(nil), // 5: ntt.logging.v1.StreamingCreateLogsResponse 998 (*ListLogsResponse_ErrorDetails)(nil), // 6: ntt.logging.v1.ListLogsResponse.ErrorDetails 999 (*CreateLogsResponse_CreateError)(nil), // 7: ntt.logging.v1.CreateLogsResponse.CreateError 1000 nil, // 8: ntt.logging.v1.CreateLogsResponse.LogNamesEntry 1001 nil, // 9: ntt.logging.v1.StreamingCreateLogsResponse.BinKeysEntry 1002 (*common.TimeInterval)(nil), // 10: ntt.logging.v1.TimeInterval 1003 (*log.Log)(nil), // 11: ntt.logging.v1.Log 1004 (*rpc.Status)(nil), // 12: ntt.rpc.Status 1005 } 1006 var edgelq_logging_proto_v1_log_custom_proto_depIdxs = []int32{ 1007 10, // 0: ntt.logging.v1.ListLogsRequest.interval:type_name -> ntt.logging.v1.TimeInterval 1008 11, // 1: ntt.logging.v1.ListLogsResponse.logs:type_name -> ntt.logging.v1.Log 1009 12, // 2: ntt.logging.v1.ListLogsResponse.execution_errors:type_name -> ntt.rpc.Status 1010 11, // 3: ntt.logging.v1.CreateLogsRequest.logs:type_name -> ntt.logging.v1.Log 1011 8, // 4: ntt.logging.v1.CreateLogsResponse.log_names:type_name -> ntt.logging.v1.CreateLogsResponse.LogNamesEntry 1012 7, // 5: ntt.logging.v1.CreateLogsResponse.failed_logs:type_name -> ntt.logging.v1.CreateLogsResponse.CreateError 1013 11, // 6: ntt.logging.v1.StreamingCreateLogsRequest.logs:type_name -> ntt.logging.v1.Log 1014 9, // 7: ntt.logging.v1.StreamingCreateLogsResponse.bin_keys:type_name -> ntt.logging.v1.StreamingCreateLogsResponse.BinKeysEntry 1015 7, // 8: ntt.logging.v1.StreamingCreateLogsResponse.failed_logs:type_name -> ntt.logging.v1.CreateLogsResponse.CreateError 1016 11, // 9: ntt.logging.v1.CreateLogsResponse.CreateError.logs:type_name -> ntt.logging.v1.Log 1017 12, // 10: ntt.logging.v1.CreateLogsResponse.CreateError.status:type_name -> ntt.rpc.Status 1018 11, // [11:11] is the sub-list for method output_type 1019 11, // [11:11] is the sub-list for method input_type 1020 11, // [11:11] is the sub-list for extension type_name 1021 11, // [11:11] is the sub-list for extension extendee 1022 0, // [0:11] is the sub-list for field type_name 1023 } 1024 1025 func init() { edgelq_logging_proto_v1_log_custom_proto_init() } 1026 func edgelq_logging_proto_v1_log_custom_proto_init() { 1027 if edgelq_logging_proto_v1_log_custom_proto != nil { 1028 return 1029 } 1030 if !protoimpl.UnsafeEnabled { 1031 1032 edgelq_logging_proto_v1_log_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1033 switch v := v.(*ListLogsRequest); i { 1034 case 0: 1035 return &v.state 1036 case 1: 1037 return &v.sizeCache 1038 case 2: 1039 return &v.unknownFields 1040 default: 1041 return nil 1042 } 1043 } 1044 edgelq_logging_proto_v1_log_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1045 switch v := v.(*ListLogsResponse); i { 1046 case 0: 1047 return &v.state 1048 case 1: 1049 return &v.sizeCache 1050 case 2: 1051 return &v.unknownFields 1052 default: 1053 return nil 1054 } 1055 } 1056 edgelq_logging_proto_v1_log_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1057 switch v := v.(*CreateLogsRequest); i { 1058 case 0: 1059 return &v.state 1060 case 1: 1061 return &v.sizeCache 1062 case 2: 1063 return &v.unknownFields 1064 default: 1065 return nil 1066 } 1067 } 1068 edgelq_logging_proto_v1_log_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1069 switch v := v.(*CreateLogsResponse); i { 1070 case 0: 1071 return &v.state 1072 case 1: 1073 return &v.sizeCache 1074 case 2: 1075 return &v.unknownFields 1076 default: 1077 return nil 1078 } 1079 } 1080 edgelq_logging_proto_v1_log_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1081 switch v := v.(*StreamingCreateLogsRequest); i { 1082 case 0: 1083 return &v.state 1084 case 1: 1085 return &v.sizeCache 1086 case 2: 1087 return &v.unknownFields 1088 default: 1089 return nil 1090 } 1091 } 1092 edgelq_logging_proto_v1_log_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1093 switch v := v.(*StreamingCreateLogsResponse); i { 1094 case 0: 1095 return &v.state 1096 case 1: 1097 return &v.sizeCache 1098 case 2: 1099 return &v.unknownFields 1100 default: 1101 return nil 1102 } 1103 } 1104 edgelq_logging_proto_v1_log_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1105 switch v := v.(*ListLogsResponse_ErrorDetails); i { 1106 case 0: 1107 return &v.state 1108 case 1: 1109 return &v.sizeCache 1110 case 2: 1111 return &v.unknownFields 1112 default: 1113 return nil 1114 } 1115 } 1116 edgelq_logging_proto_v1_log_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1117 switch v := v.(*CreateLogsResponse_CreateError); i { 1118 case 0: 1119 return &v.state 1120 case 1: 1121 return &v.sizeCache 1122 case 2: 1123 return &v.unknownFields 1124 default: 1125 return nil 1126 } 1127 } 1128 } 1129 1130 type x struct{} 1131 out := protoimpl.TypeBuilder{ 1132 File: protoimpl.DescBuilder{ 1133 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1134 RawDescriptor: edgelq_logging_proto_v1_log_custom_proto_rawDesc, 1135 NumEnums: 0, 1136 NumMessages: 10, 1137 NumExtensions: 0, 1138 NumServices: 0, 1139 }, 1140 GoTypes: edgelq_logging_proto_v1_log_custom_proto_goTypes, 1141 DependencyIndexes: edgelq_logging_proto_v1_log_custom_proto_depIdxs, 1142 MessageInfos: edgelq_logging_proto_v1_log_custom_proto_msgTypes, 1143 }.Build() 1144 edgelq_logging_proto_v1_log_custom_proto = out.File 1145 edgelq_logging_proto_v1_log_custom_proto_rawDesc = nil 1146 edgelq_logging_proto_v1_log_custom_proto_goTypes = nil 1147 edgelq_logging_proto_v1_log_custom_proto_depIdxs = nil 1148 }