github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/client/v3/time_serie/time_serie_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/time_serie_custom.proto 3 // DO NOT EDIT!!! 4 5 package time_serie_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 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/common" 22 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project" 23 time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/time_serie" 24 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 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 _ = &common.LabelDescriptor{} 43 _ = &project.Project{} 44 _ = &time_serie.Point{} 45 _ = &fieldmaskpb.FieldMask{} 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 [ListTimeSeries][ntt.monitoring.v3.ListTimeSeries] 56 type ListTimeSeriesRequest struct { 57 state protoimpl.MessageState 58 sizeCache protoimpl.SizeCache 59 unknownFields protoimpl.UnknownFields 60 // The project on which to execute the request. The format is 61 // "projects/{project_id_or_number}". 62 Parent *project.Name `protobuf:"bytes,10,opt,customtype=Name,name=parent,proto3" json:"parent,omitempty"` 63 // A monitoring filter that specifies which time 64 // series should be returned. The filter must specify a single metric type, 65 // and can additionally specify metric labels and other information. For 66 // example: 67 // 68 // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND 69 // metric.label.instance_name = "my-instance-name" 70 Filter *time_serie.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 71 // The time interval for which results should be returned. Only time series 72 // that contain data points in the specified interval are included 73 // in the response. 74 Interval *common.TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` 75 // By default, the raw time series data is returned. 76 // Use this field to combine multiple time series for different 77 // views of the data. 78 Aggregation *common.Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"` 79 // Picks paginated time series according to pre-defined (in metric descriptor) 80 // view and function. Cannot be used with aggregation, because pagination 81 // view and function determines time series transformation and sorting. 82 Pagination *common.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` 83 // Specifies which information is returned about the time series. 84 View common.TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=ntt.monitoring.v3.TimeSeriesView" json:"view,omitempty"` 85 // view list mask. Optimize network usage and limit returned header fields to 86 // a required subset. example fields in field mask: 87 // - "key": for later caching, 88 // - "resource.labels.project_id", "resource.labels.instance_name", etc - 89 // specific labels only 90 // - "resource", "metric": all resource labels, reduced_labels and type 91 // NOTE: points are added implicitly 92 FieldMask *time_serie.TimeSerie_FieldMask `protobuf:"bytes,12,opt,customtype=TimeSerie_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 93 // A positive number that is the maximum number of Points to return. If 94 // `points_cap` is empty or more than 100,000 results, the effective 95 // `points_cap` is 100,000 results. If `view` is set to `HEADERS`, this is 96 // the maximum number of `TimeSeries` returned. 97 PointsCap int32 `protobuf:"varint,8,opt,name=points_cap,json=pointsCap,proto3" json:"points_cap,omitempty"` 98 // If this field is not empty then it must contain the `continuation_token` 99 // value returned by a previous call to this method. Using this field causes 100 // the method to return additional results from the previous method call. 101 ContinuationToken string `protobuf:"bytes,9,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"` 102 } 103 104 func (m *ListTimeSeriesRequest) Reset() { 105 *m = ListTimeSeriesRequest{} 106 if protoimpl.UnsafeEnabled { 107 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[0] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (m *ListTimeSeriesRequest) String() string { 114 return protoimpl.X.MessageStringOf(m) 115 } 116 117 func (*ListTimeSeriesRequest) ProtoMessage() {} 118 119 func (m *ListTimeSeriesRequest) ProtoReflect() preflect.Message { 120 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[0] 121 if protoimpl.UnsafeEnabled && m != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(m) 129 } 130 131 func (*ListTimeSeriesRequest) GotenMessage() {} 132 133 // Deprecated, Use ListTimeSeriesRequest.ProtoReflect.Descriptor instead. 134 func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int) { 135 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{0} 136 } 137 138 func (m *ListTimeSeriesRequest) Unmarshal(b []byte) error { 139 return proto.Unmarshal(b, m) 140 } 141 142 func (m *ListTimeSeriesRequest) Marshal() ([]byte, error) { 143 return proto.Marshal(m) 144 } 145 146 func (m *ListTimeSeriesRequest) MarshalJSON() ([]byte, error) { 147 return protojson.MarshalOptions{}.Marshal(m) 148 } 149 150 func (m *ListTimeSeriesRequest) UnmarshalJSON(data []byte) error { 151 return protojson.Unmarshal(data, m) 152 } 153 154 func (m *ListTimeSeriesRequest) GetParent() *project.Name { 155 if m != nil { 156 return m.Parent 157 } 158 return nil 159 } 160 161 func (m *ListTimeSeriesRequest) GetFilter() *time_serie.Filter { 162 if m != nil { 163 return m.Filter 164 } 165 return nil 166 } 167 168 func (m *ListTimeSeriesRequest) GetInterval() *common.TimeInterval { 169 if m != nil { 170 return m.Interval 171 } 172 return nil 173 } 174 175 func (m *ListTimeSeriesRequest) GetAggregation() *common.Aggregation { 176 if m != nil { 177 return m.Aggregation 178 } 179 return nil 180 } 181 182 func (m *ListTimeSeriesRequest) GetPagination() *common.Pagination { 183 if m != nil { 184 return m.Pagination 185 } 186 return nil 187 } 188 189 func (m *ListTimeSeriesRequest) GetView() common.TimeSeriesView { 190 if m != nil { 191 return m.View 192 } 193 return common.TimeSeriesView_FULL 194 } 195 196 func (m *ListTimeSeriesRequest) GetFieldMask() *time_serie.TimeSerie_FieldMask { 197 if m != nil { 198 return m.FieldMask 199 } 200 return nil 201 } 202 203 func (m *ListTimeSeriesRequest) GetPointsCap() int32 { 204 if m != nil { 205 return m.PointsCap 206 } 207 return int32(0) 208 } 209 210 func (m *ListTimeSeriesRequest) GetContinuationToken() string { 211 if m != nil { 212 return m.ContinuationToken 213 } 214 return "" 215 } 216 217 func (m *ListTimeSeriesRequest) SetParent(fv *project.Name) { 218 if m == nil { 219 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "ListTimeSeriesRequest")) 220 } 221 m.Parent = fv 222 } 223 224 func (m *ListTimeSeriesRequest) SetFilter(fv *time_serie.Filter) { 225 if m == nil { 226 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListTimeSeriesRequest")) 227 } 228 m.Filter = fv 229 } 230 231 func (m *ListTimeSeriesRequest) SetInterval(fv *common.TimeInterval) { 232 if m == nil { 233 panic(fmt.Errorf("can't set %s on nil %s", "Interval", "ListTimeSeriesRequest")) 234 } 235 m.Interval = fv 236 } 237 238 func (m *ListTimeSeriesRequest) SetAggregation(fv *common.Aggregation) { 239 if m == nil { 240 panic(fmt.Errorf("can't set %s on nil %s", "Aggregation", "ListTimeSeriesRequest")) 241 } 242 m.Aggregation = fv 243 } 244 245 func (m *ListTimeSeriesRequest) SetPagination(fv *common.Pagination) { 246 if m == nil { 247 panic(fmt.Errorf("can't set %s on nil %s", "Pagination", "ListTimeSeriesRequest")) 248 } 249 m.Pagination = fv 250 } 251 252 func (m *ListTimeSeriesRequest) SetView(fv common.TimeSeriesView) { 253 if m == nil { 254 panic(fmt.Errorf("can't set %s on nil %s", "View", "ListTimeSeriesRequest")) 255 } 256 m.View = fv 257 } 258 259 func (m *ListTimeSeriesRequest) SetFieldMask(fv *time_serie.TimeSerie_FieldMask) { 260 if m == nil { 261 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ListTimeSeriesRequest")) 262 } 263 m.FieldMask = fv 264 } 265 266 func (m *ListTimeSeriesRequest) SetPointsCap(fv int32) { 267 if m == nil { 268 panic(fmt.Errorf("can't set %s on nil %s", "PointsCap", "ListTimeSeriesRequest")) 269 } 270 m.PointsCap = fv 271 } 272 273 func (m *ListTimeSeriesRequest) SetContinuationToken(fv string) { 274 if m == nil { 275 panic(fmt.Errorf("can't set %s on nil %s", "ContinuationToken", "ListTimeSeriesRequest")) 276 } 277 m.ContinuationToken = fv 278 } 279 280 // Response message for method 281 // [ListTimeSeries][ntt.monitoring.v3.ListTimeSeries] 282 type ListTimeSeriesResponse struct { 283 state protoimpl.MessageState 284 sizeCache protoimpl.SizeCache 285 unknownFields protoimpl.UnknownFields 286 // One or more time series that match the filter included in the request. 287 TimeSeries []*time_serie.TimeSerie `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 288 // If there are more results than have been returned, then this field is set 289 // to a non-empty value. To see the additional results, 290 // use that value as `continuation_token` in the next call to this method. 291 ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"` 292 // Special time series with total amount of records available for pagination 293 // by given time series key. Metric/Resource labels will contain "common" 294 // values shared by all ranked time series. ValueType will be always INT64 and 295 // metricKind GAUGE. In a sense, this time series is execution of 296 // ListTimeSeries with Aggregation = {groupByFields: [<viewPaginatedLabels>], 297 // REDUCER: REDUCE_COUNT} This field is only populated for paginated queries 298 // (pagination in ListTimeSeries is specified). 299 TotalPointCounters []*time_serie.TimeSerie `protobuf:"bytes,4,rep,name=total_point_counters,json=totalPointCounters,proto3" json:"total_point_counters,omitempty"` 300 } 301 302 func (m *ListTimeSeriesResponse) Reset() { 303 *m = ListTimeSeriesResponse{} 304 if protoimpl.UnsafeEnabled { 305 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[1] 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 307 ms.StoreMessageInfo(mi) 308 } 309 } 310 311 func (m *ListTimeSeriesResponse) String() string { 312 return protoimpl.X.MessageStringOf(m) 313 } 314 315 func (*ListTimeSeriesResponse) ProtoMessage() {} 316 317 func (m *ListTimeSeriesResponse) ProtoReflect() preflect.Message { 318 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[1] 319 if protoimpl.UnsafeEnabled && m != nil { 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 321 if ms.LoadMessageInfo() == nil { 322 ms.StoreMessageInfo(mi) 323 } 324 return ms 325 } 326 return mi.MessageOf(m) 327 } 328 329 func (*ListTimeSeriesResponse) GotenMessage() {} 330 331 // Deprecated, Use ListTimeSeriesResponse.ProtoReflect.Descriptor instead. 332 func (*ListTimeSeriesResponse) Descriptor() ([]byte, []int) { 333 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{1} 334 } 335 336 func (m *ListTimeSeriesResponse) Unmarshal(b []byte) error { 337 return proto.Unmarshal(b, m) 338 } 339 340 func (m *ListTimeSeriesResponse) Marshal() ([]byte, error) { 341 return proto.Marshal(m) 342 } 343 344 func (m *ListTimeSeriesResponse) MarshalJSON() ([]byte, error) { 345 return protojson.MarshalOptions{}.Marshal(m) 346 } 347 348 func (m *ListTimeSeriesResponse) UnmarshalJSON(data []byte) error { 349 return protojson.Unmarshal(data, m) 350 } 351 352 func (m *ListTimeSeriesResponse) GetTimeSeries() []*time_serie.TimeSerie { 353 if m != nil { 354 return m.TimeSeries 355 } 356 return nil 357 } 358 359 func (m *ListTimeSeriesResponse) GetContinuationToken() string { 360 if m != nil { 361 return m.ContinuationToken 362 } 363 return "" 364 } 365 366 func (m *ListTimeSeriesResponse) GetTotalPointCounters() []*time_serie.TimeSerie { 367 if m != nil { 368 return m.TotalPointCounters 369 } 370 return nil 371 } 372 373 func (m *ListTimeSeriesResponse) SetTimeSeries(fv []*time_serie.TimeSerie) { 374 if m == nil { 375 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "ListTimeSeriesResponse")) 376 } 377 m.TimeSeries = fv 378 } 379 380 func (m *ListTimeSeriesResponse) SetContinuationToken(fv string) { 381 if m == nil { 382 panic(fmt.Errorf("can't set %s on nil %s", "ContinuationToken", "ListTimeSeriesResponse")) 383 } 384 m.ContinuationToken = fv 385 } 386 387 func (m *ListTimeSeriesResponse) SetTotalPointCounters(fv []*time_serie.TimeSerie) { 388 if m == nil { 389 panic(fmt.Errorf("can't set %s on nil %s", "TotalPointCounters", "ListTimeSeriesResponse")) 390 } 391 m.TotalPointCounters = fv 392 } 393 394 // Request message for method 395 // [CreateTimeSeries][ntt.monitoring.v3.CreateTimeSeries] 396 type CreateTimeSeriesRequest struct { 397 state protoimpl.MessageState 398 sizeCache protoimpl.SizeCache 399 unknownFields protoimpl.UnknownFields 400 // The project on which to execute the request. The format is 401 // `"projects/{project_id_or_number}"`. 402 Parent *project.Name `protobuf:"bytes,3,opt,customtype=Name,name=parent,proto3" json:"parent,omitempty"` 403 // The new data to be added to a list of time series. 404 // Adds at most one data point to each of several time series. The new data 405 // point must be more recent than any other point in its time series. Each 406 // `TimeSeries` value must fully specify a unique time series by supplying 407 // all label values for the metric and the monitored resource. 408 TimeSeries []*time_serie.TimeSerie `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 409 } 410 411 func (m *CreateTimeSeriesRequest) Reset() { 412 *m = CreateTimeSeriesRequest{} 413 if protoimpl.UnsafeEnabled { 414 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[2] 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 416 ms.StoreMessageInfo(mi) 417 } 418 } 419 420 func (m *CreateTimeSeriesRequest) String() string { 421 return protoimpl.X.MessageStringOf(m) 422 } 423 424 func (*CreateTimeSeriesRequest) ProtoMessage() {} 425 426 func (m *CreateTimeSeriesRequest) ProtoReflect() preflect.Message { 427 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[2] 428 if protoimpl.UnsafeEnabled && m != nil { 429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 430 if ms.LoadMessageInfo() == nil { 431 ms.StoreMessageInfo(mi) 432 } 433 return ms 434 } 435 return mi.MessageOf(m) 436 } 437 438 func (*CreateTimeSeriesRequest) GotenMessage() {} 439 440 // Deprecated, Use CreateTimeSeriesRequest.ProtoReflect.Descriptor instead. 441 func (*CreateTimeSeriesRequest) Descriptor() ([]byte, []int) { 442 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{2} 443 } 444 445 func (m *CreateTimeSeriesRequest) Unmarshal(b []byte) error { 446 return proto.Unmarshal(b, m) 447 } 448 449 func (m *CreateTimeSeriesRequest) Marshal() ([]byte, error) { 450 return proto.Marshal(m) 451 } 452 453 func (m *CreateTimeSeriesRequest) MarshalJSON() ([]byte, error) { 454 return protojson.MarshalOptions{}.Marshal(m) 455 } 456 457 func (m *CreateTimeSeriesRequest) UnmarshalJSON(data []byte) error { 458 return protojson.Unmarshal(data, m) 459 } 460 461 func (m *CreateTimeSeriesRequest) GetParent() *project.Name { 462 if m != nil { 463 return m.Parent 464 } 465 return nil 466 } 467 468 func (m *CreateTimeSeriesRequest) GetTimeSeries() []*time_serie.TimeSerie { 469 if m != nil { 470 return m.TimeSeries 471 } 472 return nil 473 } 474 475 func (m *CreateTimeSeriesRequest) SetParent(fv *project.Name) { 476 if m == nil { 477 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CreateTimeSeriesRequest")) 478 } 479 m.Parent = fv 480 } 481 482 func (m *CreateTimeSeriesRequest) SetTimeSeries(fv []*time_serie.TimeSerie) { 483 if m == nil { 484 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "CreateTimeSeriesRequest")) 485 } 486 m.TimeSeries = fv 487 } 488 489 // Response message for method 490 // [CreateTimeSeries][ntt.monitoring.v3.CreateTimeSeries] 491 type CreateTimeSeriesResponse struct { 492 state protoimpl.MessageState 493 sizeCache protoimpl.SizeCache 494 unknownFields protoimpl.UnknownFields 495 // Time Serie keys indexed by Create position - present only when given 496 // TimeSerie didn't use Key field 497 TimeSerieKeys map[uint32][]byte `protobuf:"bytes,11,rep,name=time_serie_keys,json=timeSerieKeys,proto3" json:"time_serie_keys,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 498 // Time series that failed to be created 499 FailedTimeSeries []*CreateTimeSeriesError `protobuf:"bytes,50,rep,name=failed_time_series,json=failedTimeSeries,proto3" json:"failed_time_series,omitempty"` 500 } 501 502 func (m *CreateTimeSeriesResponse) Reset() { 503 *m = CreateTimeSeriesResponse{} 504 if protoimpl.UnsafeEnabled { 505 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[3] 506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 507 ms.StoreMessageInfo(mi) 508 } 509 } 510 511 func (m *CreateTimeSeriesResponse) String() string { 512 return protoimpl.X.MessageStringOf(m) 513 } 514 515 func (*CreateTimeSeriesResponse) ProtoMessage() {} 516 517 func (m *CreateTimeSeriesResponse) ProtoReflect() preflect.Message { 518 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[3] 519 if protoimpl.UnsafeEnabled && m != nil { 520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 521 if ms.LoadMessageInfo() == nil { 522 ms.StoreMessageInfo(mi) 523 } 524 return ms 525 } 526 return mi.MessageOf(m) 527 } 528 529 func (*CreateTimeSeriesResponse) GotenMessage() {} 530 531 // Deprecated, Use CreateTimeSeriesResponse.ProtoReflect.Descriptor instead. 532 func (*CreateTimeSeriesResponse) Descriptor() ([]byte, []int) { 533 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{3} 534 } 535 536 func (m *CreateTimeSeriesResponse) Unmarshal(b []byte) error { 537 return proto.Unmarshal(b, m) 538 } 539 540 func (m *CreateTimeSeriesResponse) Marshal() ([]byte, error) { 541 return proto.Marshal(m) 542 } 543 544 func (m *CreateTimeSeriesResponse) MarshalJSON() ([]byte, error) { 545 return protojson.MarshalOptions{}.Marshal(m) 546 } 547 548 func (m *CreateTimeSeriesResponse) UnmarshalJSON(data []byte) error { 549 return protojson.Unmarshal(data, m) 550 } 551 552 func (m *CreateTimeSeriesResponse) GetTimeSerieKeys() map[uint32][]byte { 553 if m != nil { 554 return m.TimeSerieKeys 555 } 556 return nil 557 } 558 559 func (m *CreateTimeSeriesResponse) GetFailedTimeSeries() []*CreateTimeSeriesError { 560 if m != nil { 561 return m.FailedTimeSeries 562 } 563 return nil 564 } 565 566 func (m *CreateTimeSeriesResponse) SetTimeSerieKeys(fv map[uint32][]byte) { 567 if m == nil { 568 panic(fmt.Errorf("can't set %s on nil %s", "TimeSerieKeys", "CreateTimeSeriesResponse")) 569 } 570 m.TimeSerieKeys = fv 571 } 572 573 func (m *CreateTimeSeriesResponse) SetFailedTimeSeries(fv []*CreateTimeSeriesError) { 574 if m == nil { 575 panic(fmt.Errorf("can't set %s on nil %s", "FailedTimeSeries", "CreateTimeSeriesResponse")) 576 } 577 m.FailedTimeSeries = fv 578 } 579 580 // Describes the result of a failed request to write data to a time series. 581 type CreateTimeSeriesError struct { 582 state protoimpl.MessageState 583 sizeCache protoimpl.SizeCache 584 unknownFields protoimpl.UnknownFields 585 // The time series, including the `Metric`, `MonitoredResource`, 586 // and `Point`s (including timestamp and value) that resulted 587 // in the error. This field provides all of the context that 588 // would be needed to retry the operation. 589 TimeSeries *time_serie.TimeSerie `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 590 // The status of the requested write operation. 591 Status *rpc.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 592 } 593 594 func (m *CreateTimeSeriesError) Reset() { 595 *m = CreateTimeSeriesError{} 596 if protoimpl.UnsafeEnabled { 597 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[4] 598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 599 ms.StoreMessageInfo(mi) 600 } 601 } 602 603 func (m *CreateTimeSeriesError) String() string { 604 return protoimpl.X.MessageStringOf(m) 605 } 606 607 func (*CreateTimeSeriesError) ProtoMessage() {} 608 609 func (m *CreateTimeSeriesError) ProtoReflect() preflect.Message { 610 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[4] 611 if protoimpl.UnsafeEnabled && m != nil { 612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 613 if ms.LoadMessageInfo() == nil { 614 ms.StoreMessageInfo(mi) 615 } 616 return ms 617 } 618 return mi.MessageOf(m) 619 } 620 621 func (*CreateTimeSeriesError) GotenMessage() {} 622 623 // Deprecated, Use CreateTimeSeriesError.ProtoReflect.Descriptor instead. 624 func (*CreateTimeSeriesError) Descriptor() ([]byte, []int) { 625 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{4} 626 } 627 628 func (m *CreateTimeSeriesError) Unmarshal(b []byte) error { 629 return proto.Unmarshal(b, m) 630 } 631 632 func (m *CreateTimeSeriesError) Marshal() ([]byte, error) { 633 return proto.Marshal(m) 634 } 635 636 func (m *CreateTimeSeriesError) MarshalJSON() ([]byte, error) { 637 return protojson.MarshalOptions{}.Marshal(m) 638 } 639 640 func (m *CreateTimeSeriesError) UnmarshalJSON(data []byte) error { 641 return protojson.Unmarshal(data, m) 642 } 643 644 func (m *CreateTimeSeriesError) GetTimeSeries() *time_serie.TimeSerie { 645 if m != nil { 646 return m.TimeSeries 647 } 648 return nil 649 } 650 651 func (m *CreateTimeSeriesError) GetStatus() *rpc.Status { 652 if m != nil { 653 return m.Status 654 } 655 return nil 656 } 657 658 func (m *CreateTimeSeriesError) SetTimeSeries(fv *time_serie.TimeSerie) { 659 if m == nil { 660 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "CreateTimeSeriesError")) 661 } 662 m.TimeSeries = fv 663 } 664 665 func (m *CreateTimeSeriesError) SetStatus(fv *rpc.Status) { 666 if m == nil { 667 panic(fmt.Errorf("can't set %s on nil %s", "Status", "CreateTimeSeriesError")) 668 } 669 m.Status = fv 670 } 671 672 // ErrorDetails is used when one of the queried regions fails to produce 673 // results. It is used in execution_errors field (see subfield 674 // ntt.rpc.Status.details). 675 type ListTimeSeriesResponse_ErrorDetails struct { 676 state protoimpl.MessageState 677 sizeCache protoimpl.SizeCache 678 unknownFields protoimpl.UnknownFields 679 // region id which failed to give results. 680 RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 681 } 682 683 func (m *ListTimeSeriesResponse_ErrorDetails) Reset() { 684 *m = ListTimeSeriesResponse_ErrorDetails{} 685 if protoimpl.UnsafeEnabled { 686 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[5] 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 688 ms.StoreMessageInfo(mi) 689 } 690 } 691 692 func (m *ListTimeSeriesResponse_ErrorDetails) String() string { 693 return protoimpl.X.MessageStringOf(m) 694 } 695 696 func (*ListTimeSeriesResponse_ErrorDetails) ProtoMessage() {} 697 698 func (m *ListTimeSeriesResponse_ErrorDetails) ProtoReflect() preflect.Message { 699 mi := &edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[5] 700 if protoimpl.UnsafeEnabled && m != nil { 701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 702 if ms.LoadMessageInfo() == nil { 703 ms.StoreMessageInfo(mi) 704 } 705 return ms 706 } 707 return mi.MessageOf(m) 708 } 709 710 func (*ListTimeSeriesResponse_ErrorDetails) GotenMessage() {} 711 712 // Deprecated, Use ListTimeSeriesResponse_ErrorDetails.ProtoReflect.Descriptor instead. 713 func (*ListTimeSeriesResponse_ErrorDetails) Descriptor() ([]byte, []int) { 714 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP(), []int{1, 0} 715 } 716 717 func (m *ListTimeSeriesResponse_ErrorDetails) Unmarshal(b []byte) error { 718 return proto.Unmarshal(b, m) 719 } 720 721 func (m *ListTimeSeriesResponse_ErrorDetails) Marshal() ([]byte, error) { 722 return proto.Marshal(m) 723 } 724 725 func (m *ListTimeSeriesResponse_ErrorDetails) MarshalJSON() ([]byte, error) { 726 return protojson.MarshalOptions{}.Marshal(m) 727 } 728 729 func (m *ListTimeSeriesResponse_ErrorDetails) UnmarshalJSON(data []byte) error { 730 return protojson.Unmarshal(data, m) 731 } 732 733 func (m *ListTimeSeriesResponse_ErrorDetails) GetRegionId() string { 734 if m != nil { 735 return m.RegionId 736 } 737 return "" 738 } 739 740 func (m *ListTimeSeriesResponse_ErrorDetails) SetRegionId(fv string) { 741 if m == nil { 742 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ListTimeSeriesResponse_ErrorDetails")) 743 } 744 m.RegionId = fv 745 } 746 747 var edgelq_monitoring_proto_v3_time_serie_custom_proto preflect.FileDescriptor 748 749 var edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDesc = []byte{ 750 0x0a, 0x32, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 751 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x69, 0x6d, 752 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 753 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 754 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 755 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 756 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 757 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 758 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 759 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 760 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 761 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 762 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 763 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 764 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 765 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 766 0x6e, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 767 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 768 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x63, 769 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 770 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 771 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 772 0x69, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x04, 0x0a, 0x15, 0x4c, 0x69, 0x73, 773 0x74, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 774 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 775 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 776 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x06, 0x66, 777 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 0x21, 778 0x0d, 0x1a, 0x0b, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x06, 779 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 780 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 781 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 782 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 783 0x02, 0x08, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x40, 0x0a, 784 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 785 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 786 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 787 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 788 0x3d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 789 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 790 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 791 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 792 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6e, 793 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 794 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x56, 0x69, 0x65, 0x77, 0x52, 795 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x4c, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 796 0x61, 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 797 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 798 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x11, 0xb2, 0xda, 0x21, 0x0d, 0x32, 0x0b, 0x0a, 0x09, 0x54, 799 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 800 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x61, 801 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0e, 0xca, 0xc6, 0x27, 0x0a, 0x12, 0x08, 0x1a, 802 0x04, 0x08, 0xa0, 0x8d, 0x06, 0x2a, 0x00, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x43, 803 0x61, 0x70, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 804 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 805 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 806 0x6e, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x83, 0x02, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 807 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 808 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 809 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 810 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 811 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 812 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 813 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 814 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 815 0x12, 0x4e, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 816 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 817 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 818 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x12, 0x74, 0x6f, 819 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 820 0x1a, 0x2b, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 821 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 822 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x81, 0x01, 823 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 824 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x70, 0x61, 0x72, 825 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 826 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 827 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 828 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 829 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 830 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 831 0x73, 0x22, 0x9c, 0x02, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 832 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 833 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x5f, 0x6b, 0x65, 0x79, 834 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 835 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 836 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 837 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x4b, 0x65, 838 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 839 0x69, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 840 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x32, 0x20, 0x03, 841 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 842 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 843 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x10, 0x66, 0x61, 844 0x69, 0x6c, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x40, 845 0x0a, 0x12, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x45, 846 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 847 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 848 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 849 0x22, 0x7f, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 850 0x72, 0x69, 0x65, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 851 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 852 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 853 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x0a, 0x74, 0x69, 854 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 855 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x72, 856 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 857 0x73, 0x42, 0x80, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 858 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x14, 859 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 860 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 861 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 862 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6c, 863 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 864 0x69, 0x65, 0x3b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x5f, 0x63, 0x6c, 865 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 866 } 867 868 var ( 869 edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescOnce sync.Once 870 edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescData = edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDesc 871 ) 872 873 func edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescGZIP() []byte { 874 edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescOnce.Do(func() { 875 edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescData) 876 }) 877 return edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDescData 878 } 879 880 var edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 881 var edgelq_monitoring_proto_v3_time_serie_custom_proto_goTypes = []interface{}{ 882 (*ListTimeSeriesRequest)(nil), // 0: ntt.monitoring.v3.ListTimeSeriesRequest 883 (*ListTimeSeriesResponse)(nil), // 1: ntt.monitoring.v3.ListTimeSeriesResponse 884 (*CreateTimeSeriesRequest)(nil), // 2: ntt.monitoring.v3.CreateTimeSeriesRequest 885 (*CreateTimeSeriesResponse)(nil), // 3: ntt.monitoring.v3.CreateTimeSeriesResponse 886 (*CreateTimeSeriesError)(nil), // 4: ntt.monitoring.v3.CreateTimeSeriesError 887 (*ListTimeSeriesResponse_ErrorDetails)(nil), // 5: ntt.monitoring.v3.ListTimeSeriesResponse.ErrorDetails 888 nil, // 6: ntt.monitoring.v3.CreateTimeSeriesResponse.TimeSerieKeysEntry 889 (*common.TimeInterval)(nil), // 7: ntt.monitoring.v3.TimeInterval 890 (*common.Aggregation)(nil), // 8: ntt.monitoring.v3.Aggregation 891 (*common.Pagination)(nil), // 9: ntt.monitoring.v3.Pagination 892 (common.TimeSeriesView)(0), // 10: ntt.monitoring.v3.TimeSeriesView 893 (*time_serie.TimeSerie_FieldMask)(nil), // 11: ntt.monitoring.v3.TimeSerie_FieldMask 894 (*time_serie.TimeSerie)(nil), // 12: ntt.monitoring.v3.TimeSerie 895 (*rpc.Status)(nil), // 13: ntt.rpc.Status 896 } 897 var edgelq_monitoring_proto_v3_time_serie_custom_proto_depIdxs = []int32{ 898 7, // 0: ntt.monitoring.v3.ListTimeSeriesRequest.interval:type_name -> ntt.monitoring.v3.TimeInterval 899 8, // 1: ntt.monitoring.v3.ListTimeSeriesRequest.aggregation:type_name -> ntt.monitoring.v3.Aggregation 900 9, // 2: ntt.monitoring.v3.ListTimeSeriesRequest.pagination:type_name -> ntt.monitoring.v3.Pagination 901 10, // 3: ntt.monitoring.v3.ListTimeSeriesRequest.view:type_name -> ntt.monitoring.v3.TimeSeriesView 902 11, // 4: ntt.monitoring.v3.ListTimeSeriesRequest.field_mask:type_name -> ntt.monitoring.v3.TimeSerie_FieldMask 903 12, // 5: ntt.monitoring.v3.ListTimeSeriesResponse.time_series:type_name -> ntt.monitoring.v3.TimeSerie 904 12, // 6: ntt.monitoring.v3.ListTimeSeriesResponse.total_point_counters:type_name -> ntt.monitoring.v3.TimeSerie 905 12, // 7: ntt.monitoring.v3.CreateTimeSeriesRequest.time_series:type_name -> ntt.monitoring.v3.TimeSerie 906 6, // 8: ntt.monitoring.v3.CreateTimeSeriesResponse.time_serie_keys:type_name -> ntt.monitoring.v3.CreateTimeSeriesResponse.TimeSerieKeysEntry 907 4, // 9: ntt.monitoring.v3.CreateTimeSeriesResponse.failed_time_series:type_name -> ntt.monitoring.v3.CreateTimeSeriesError 908 12, // 10: ntt.monitoring.v3.CreateTimeSeriesError.time_series:type_name -> ntt.monitoring.v3.TimeSerie 909 13, // 11: ntt.monitoring.v3.CreateTimeSeriesError.status:type_name -> ntt.rpc.Status 910 12, // [12:12] is the sub-list for method output_type 911 12, // [12:12] is the sub-list for method input_type 912 12, // [12:12] is the sub-list for extension type_name 913 12, // [12:12] is the sub-list for extension extendee 914 0, // [0:12] is the sub-list for field type_name 915 } 916 917 func init() { edgelq_monitoring_proto_v3_time_serie_custom_proto_init() } 918 func edgelq_monitoring_proto_v3_time_serie_custom_proto_init() { 919 if edgelq_monitoring_proto_v3_time_serie_custom_proto != nil { 920 return 921 } 922 if !protoimpl.UnsafeEnabled { 923 924 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 925 switch v := v.(*ListTimeSeriesRequest); i { 926 case 0: 927 return &v.state 928 case 1: 929 return &v.sizeCache 930 case 2: 931 return &v.unknownFields 932 default: 933 return nil 934 } 935 } 936 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 937 switch v := v.(*ListTimeSeriesResponse); i { 938 case 0: 939 return &v.state 940 case 1: 941 return &v.sizeCache 942 case 2: 943 return &v.unknownFields 944 default: 945 return nil 946 } 947 } 948 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 949 switch v := v.(*CreateTimeSeriesRequest); i { 950 case 0: 951 return &v.state 952 case 1: 953 return &v.sizeCache 954 case 2: 955 return &v.unknownFields 956 default: 957 return nil 958 } 959 } 960 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 961 switch v := v.(*CreateTimeSeriesResponse); i { 962 case 0: 963 return &v.state 964 case 1: 965 return &v.sizeCache 966 case 2: 967 return &v.unknownFields 968 default: 969 return nil 970 } 971 } 972 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 973 switch v := v.(*CreateTimeSeriesError); i { 974 case 0: 975 return &v.state 976 case 1: 977 return &v.sizeCache 978 case 2: 979 return &v.unknownFields 980 default: 981 return nil 982 } 983 } 984 edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 985 switch v := v.(*ListTimeSeriesResponse_ErrorDetails); i { 986 case 0: 987 return &v.state 988 case 1: 989 return &v.sizeCache 990 case 2: 991 return &v.unknownFields 992 default: 993 return nil 994 } 995 } 996 } 997 998 type x struct{} 999 out := protoimpl.TypeBuilder{ 1000 File: protoimpl.DescBuilder{ 1001 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1002 RawDescriptor: edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDesc, 1003 NumEnums: 0, 1004 NumMessages: 7, 1005 NumExtensions: 0, 1006 NumServices: 0, 1007 }, 1008 GoTypes: edgelq_monitoring_proto_v3_time_serie_custom_proto_goTypes, 1009 DependencyIndexes: edgelq_monitoring_proto_v3_time_serie_custom_proto_depIdxs, 1010 MessageInfos: edgelq_monitoring_proto_v3_time_serie_custom_proto_msgTypes, 1011 }.Build() 1012 edgelq_monitoring_proto_v3_time_serie_custom_proto = out.File 1013 edgelq_monitoring_proto_v3_time_serie_custom_proto_rawDesc = nil 1014 edgelq_monitoring_proto_v3_time_serie_custom_proto_goTypes = nil 1015 edgelq_monitoring_proto_v3_time_serie_custom_proto_depIdxs = nil 1016 }