github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v4/time_serie/time_serie.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v4/time_serie.proto 3 // DO NOT EDIT!!! 4 5 package time_serie 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 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 21 metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &common.LabelDescriptor{} 39 _ = &metric_descriptor.MetricDescriptor{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // A single data point in a time series. 50 type Point struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 // The time interval to which the data point applies. For `GAUGE` metrics, 55 // only the end time of the interval is used. For `DELTA` metrics, the start 56 // and end time should specify a non-zero interval, with subsequent points 57 // specifying contiguous and non-overlapping intervals. For `CUMULATIVE` 58 // metrics, the start and end time should specify a non-zero interval, with 59 // subsequent points specifying the same start time and increasing end times, 60 // until an event resets the cumulative value to zero and sets a new start 61 // time for the following points. 62 Interval *common.TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` 63 // The value of the data point. 64 Value *common.TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 65 // Additional aggregation info 66 // Used internally for batching rollup points 67 Aggregation *common.Aggregation `protobuf:"bytes,101,opt,name=aggregation,proto3" json:"aggregation,omitempty"` 68 } 69 70 func (m *Point) Reset() { 71 *m = Point{} 72 if protoimpl.UnsafeEnabled { 73 mi := &edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 75 ms.StoreMessageInfo(mi) 76 } 77 } 78 79 func (m *Point) String() string { 80 return protoimpl.X.MessageStringOf(m) 81 } 82 83 func (*Point) ProtoMessage() {} 84 85 func (m *Point) ProtoReflect() preflect.Message { 86 mi := &edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[0] 87 if protoimpl.UnsafeEnabled && m != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(m) 95 } 96 97 func (*Point) GotenMessage() {} 98 99 // Deprecated, Use Point.ProtoReflect.Descriptor instead. 100 func (*Point) Descriptor() ([]byte, []int) { 101 return edgelq_monitoring_proto_v4_time_serie_proto_rawDescGZIP(), []int{0} 102 } 103 104 func (m *Point) Unmarshal(b []byte) error { 105 return proto.Unmarshal(b, m) 106 } 107 108 func (m *Point) Marshal() ([]byte, error) { 109 return proto.Marshal(m) 110 } 111 112 func (m *Point) MarshalJSON() ([]byte, error) { 113 return protojson.MarshalOptions{}.Marshal(m) 114 } 115 116 func (m *Point) UnmarshalJSON(data []byte) error { 117 return protojson.Unmarshal(data, m) 118 } 119 120 func (m *Point) GetInterval() *common.TimeInterval { 121 if m != nil { 122 return m.Interval 123 } 124 return nil 125 } 126 127 func (m *Point) GetValue() *common.TypedValue { 128 if m != nil { 129 return m.Value 130 } 131 return nil 132 } 133 134 func (m *Point) GetAggregation() *common.Aggregation { 135 if m != nil { 136 return m.Aggregation 137 } 138 return nil 139 } 140 141 func (m *Point) SetInterval(fv *common.TimeInterval) { 142 if m == nil { 143 panic(fmt.Errorf("can't set %s on nil %s", "Interval", "Point")) 144 } 145 m.Interval = fv 146 } 147 148 func (m *Point) SetValue(fv *common.TypedValue) { 149 if m == nil { 150 panic(fmt.Errorf("can't set %s on nil %s", "Value", "Point")) 151 } 152 m.Value = fv 153 } 154 155 func (m *Point) SetAggregation(fv *common.Aggregation) { 156 if m == nil { 157 panic(fmt.Errorf("can't set %s on nil %s", "Aggregation", "Point")) 158 } 159 m.Aggregation = fv 160 } 161 162 // TimeSerie Resource 163 type TimeSerie struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 // TimeSerie key identifies unique TimeSeries tuple: 168 // <project, region, metric.type, metric.labels, resource.type, 169 // resource.labels, unit> 170 // 171 // Kind/ValueType are not present in key 172 // Key is not to be decoded outside of service, but treated as opaque string 173 // 174 // Specific key is valid and understood only in single region only. If time 175 // serie is created by merging from multiple regions, key must be ignore. 176 Key []byte `protobuf:"bytes,101,opt,name=key,proto3" json:"key,omitempty"` 177 // Internal use - for bulk reporting of TimeSeries 178 Project string `protobuf:"bytes,102,opt,name=project,proto3" json:"project,omitempty"` 179 // Region ID associated with time serie. 180 Region string `protobuf:"bytes,103,opt,name=region,proto3" json:"region,omitempty"` 181 // Unit taken from MetricDescriptor (metric.type field). It does not need to 182 // be populated during creation (it is derived). 183 // It may be modified by certain queries (COUNT will switch unit to "1", 184 // ALIGN_RATE will append "/s". 185 Unit string `protobuf:"bytes,104,opt,name=unit,proto3" json:"unit,omitempty"` 186 // The associated metric. A fully-specified metric used to identify the time 187 // series. 188 Metric *common.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` 189 // The associated monitored resource. Custom metrics can use only certain 190 // monitored resource types in their time series data. 191 Resource *common.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 192 // The metric kind of the time series. When listing time series, this metric 193 // kind might be different from the metric kind of the associated metric if 194 // this time series is an alignment or reduction of other time series. 195 // 196 // When creating a time series, this field is optional. If present, it must be 197 // the same as the metric kind of the associated metric. If the associated 198 // metric's descriptor must be auto-created, then this field specifies the 199 // metric kind of the new descriptor and must be either `GAUGE` (the default) 200 // or `CUMULATIVE`. 201 MetricKind metric_descriptor.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=ntt.monitoring.v4.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"` 202 // The value type of the time series. When listing time series, this value 203 // type might be different from the value type of the associated metric if 204 // this time series is an alignment or reduction of other time series. 205 // 206 // When creating a time series, this field is optional. If present, it must be 207 // the same as the type of the data in the `points` field. 208 ValueType metric_descriptor.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=ntt.monitoring.v4.MetricDescriptor_ValueType" json:"value_type,omitempty"` 209 // The data points of this time series. When listing time series, points are 210 // returned in reverse time order. 211 // 212 // When creating a time series, this field must contain exactly one point and 213 // the point's type must be the same as the value type of the associated 214 // metric. If the associated metric's descriptor must be auto-created, then 215 // the value type of the descriptor is determined by the point's type, which 216 // must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. 217 Points []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"` 218 } 219 220 func (m *TimeSerie) Reset() { 221 *m = TimeSerie{} 222 if protoimpl.UnsafeEnabled { 223 mi := &edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[1] 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 225 ms.StoreMessageInfo(mi) 226 } 227 } 228 229 func (m *TimeSerie) String() string { 230 return protoimpl.X.MessageStringOf(m) 231 } 232 233 func (*TimeSerie) ProtoMessage() {} 234 235 func (m *TimeSerie) ProtoReflect() preflect.Message { 236 mi := &edgelq_monitoring_proto_v4_time_serie_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 (*TimeSerie) GotenMessage() {} 248 249 // Deprecated, Use TimeSerie.ProtoReflect.Descriptor instead. 250 func (*TimeSerie) Descriptor() ([]byte, []int) { 251 return edgelq_monitoring_proto_v4_time_serie_proto_rawDescGZIP(), []int{1} 252 } 253 254 func (m *TimeSerie) Unmarshal(b []byte) error { 255 return proto.Unmarshal(b, m) 256 } 257 258 func (m *TimeSerie) Marshal() ([]byte, error) { 259 return proto.Marshal(m) 260 } 261 262 func (m *TimeSerie) MarshalJSON() ([]byte, error) { 263 return protojson.MarshalOptions{}.Marshal(m) 264 } 265 266 func (m *TimeSerie) UnmarshalJSON(data []byte) error { 267 return protojson.Unmarshal(data, m) 268 } 269 270 func (m *TimeSerie) GetKey() []byte { 271 if m != nil { 272 return m.Key 273 } 274 return nil 275 } 276 277 func (m *TimeSerie) GetProject() string { 278 if m != nil { 279 return m.Project 280 } 281 return "" 282 } 283 284 func (m *TimeSerie) GetRegion() string { 285 if m != nil { 286 return m.Region 287 } 288 return "" 289 } 290 291 func (m *TimeSerie) GetUnit() string { 292 if m != nil { 293 return m.Unit 294 } 295 return "" 296 } 297 298 func (m *TimeSerie) GetMetric() *common.Metric { 299 if m != nil { 300 return m.Metric 301 } 302 return nil 303 } 304 305 func (m *TimeSerie) GetResource() *common.MonitoredResource { 306 if m != nil { 307 return m.Resource 308 } 309 return nil 310 } 311 312 func (m *TimeSerie) GetMetricKind() metric_descriptor.MetricDescriptor_MetricKind { 313 if m != nil { 314 return m.MetricKind 315 } 316 return metric_descriptor.MetricDescriptor_METRIC_KIND_UNSPECIFIED 317 } 318 319 func (m *TimeSerie) GetValueType() metric_descriptor.MetricDescriptor_ValueType { 320 if m != nil { 321 return m.ValueType 322 } 323 return metric_descriptor.MetricDescriptor_VALUE_TYPE_UNSPECIFIED 324 } 325 326 func (m *TimeSerie) GetPoints() []*Point { 327 if m != nil { 328 return m.Points 329 } 330 return nil 331 } 332 333 func (m *TimeSerie) SetKey(fv []byte) { 334 if m == nil { 335 panic(fmt.Errorf("can't set %s on nil %s", "Key", "TimeSerie")) 336 } 337 m.Key = fv 338 } 339 340 func (m *TimeSerie) SetProject(fv string) { 341 if m == nil { 342 panic(fmt.Errorf("can't set %s on nil %s", "Project", "TimeSerie")) 343 } 344 m.Project = fv 345 } 346 347 func (m *TimeSerie) SetRegion(fv string) { 348 if m == nil { 349 panic(fmt.Errorf("can't set %s on nil %s", "Region", "TimeSerie")) 350 } 351 m.Region = fv 352 } 353 354 func (m *TimeSerie) SetUnit(fv string) { 355 if m == nil { 356 panic(fmt.Errorf("can't set %s on nil %s", "Unit", "TimeSerie")) 357 } 358 m.Unit = fv 359 } 360 361 func (m *TimeSerie) SetMetric(fv *common.Metric) { 362 if m == nil { 363 panic(fmt.Errorf("can't set %s on nil %s", "Metric", "TimeSerie")) 364 } 365 m.Metric = fv 366 } 367 368 func (m *TimeSerie) SetResource(fv *common.MonitoredResource) { 369 if m == nil { 370 panic(fmt.Errorf("can't set %s on nil %s", "Resource", "TimeSerie")) 371 } 372 m.Resource = fv 373 } 374 375 func (m *TimeSerie) SetMetricKind(fv metric_descriptor.MetricDescriptor_MetricKind) { 376 if m == nil { 377 panic(fmt.Errorf("can't set %s on nil %s", "MetricKind", "TimeSerie")) 378 } 379 m.MetricKind = fv 380 } 381 382 func (m *TimeSerie) SetValueType(fv metric_descriptor.MetricDescriptor_ValueType) { 383 if m == nil { 384 panic(fmt.Errorf("can't set %s on nil %s", "ValueType", "TimeSerie")) 385 } 386 m.ValueType = fv 387 } 388 389 func (m *TimeSerie) SetPoints(fv []*Point) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "Points", "TimeSerie")) 392 } 393 m.Points = fv 394 } 395 396 // Used for reporting rollups 397 type BulkTimeSeries struct { 398 state protoimpl.MessageState 399 sizeCache protoimpl.SizeCache 400 unknownFields protoimpl.UnknownFields 401 TimeSeries []*TimeSerie `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 402 PhantomFlag bool `protobuf:"varint,2,opt,name=phantom_flag,json=phantomFlag,proto3" json:"phantom_flag,omitempty"` 403 } 404 405 func (m *BulkTimeSeries) Reset() { 406 *m = BulkTimeSeries{} 407 if protoimpl.UnsafeEnabled { 408 mi := &edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[2] 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 410 ms.StoreMessageInfo(mi) 411 } 412 } 413 414 func (m *BulkTimeSeries) String() string { 415 return protoimpl.X.MessageStringOf(m) 416 } 417 418 func (*BulkTimeSeries) ProtoMessage() {} 419 420 func (m *BulkTimeSeries) ProtoReflect() preflect.Message { 421 mi := &edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[2] 422 if protoimpl.UnsafeEnabled && m != nil { 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 424 if ms.LoadMessageInfo() == nil { 425 ms.StoreMessageInfo(mi) 426 } 427 return ms 428 } 429 return mi.MessageOf(m) 430 } 431 432 func (*BulkTimeSeries) GotenMessage() {} 433 434 // Deprecated, Use BulkTimeSeries.ProtoReflect.Descriptor instead. 435 func (*BulkTimeSeries) Descriptor() ([]byte, []int) { 436 return edgelq_monitoring_proto_v4_time_serie_proto_rawDescGZIP(), []int{2} 437 } 438 439 func (m *BulkTimeSeries) Unmarshal(b []byte) error { 440 return proto.Unmarshal(b, m) 441 } 442 443 func (m *BulkTimeSeries) Marshal() ([]byte, error) { 444 return proto.Marshal(m) 445 } 446 447 func (m *BulkTimeSeries) MarshalJSON() ([]byte, error) { 448 return protojson.MarshalOptions{}.Marshal(m) 449 } 450 451 func (m *BulkTimeSeries) UnmarshalJSON(data []byte) error { 452 return protojson.Unmarshal(data, m) 453 } 454 455 func (m *BulkTimeSeries) GetTimeSeries() []*TimeSerie { 456 if m != nil { 457 return m.TimeSeries 458 } 459 return nil 460 } 461 462 func (m *BulkTimeSeries) GetPhantomFlag() bool { 463 if m != nil { 464 return m.PhantomFlag 465 } 466 return false 467 } 468 469 func (m *BulkTimeSeries) SetTimeSeries(fv []*TimeSerie) { 470 if m == nil { 471 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "BulkTimeSeries")) 472 } 473 m.TimeSeries = fv 474 } 475 476 func (m *BulkTimeSeries) SetPhantomFlag(fv bool) { 477 if m == nil { 478 panic(fmt.Errorf("can't set %s on nil %s", "PhantomFlag", "BulkTimeSeries")) 479 } 480 m.PhantomFlag = fv 481 } 482 483 var edgelq_monitoring_proto_v4_time_serie_proto preflect.FileDescriptor 484 485 var edgelq_monitoring_proto_v4_time_serie_proto_rawDesc = []byte{ 486 0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 487 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x69, 0x6d, 488 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 489 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 490 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 491 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 492 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 493 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 494 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 495 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 496 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 497 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 498 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 499 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 500 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 501 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 502 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 503 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 504 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 505 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 506 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x65, 507 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 508 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 509 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 510 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x05, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x69, 511 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 512 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 513 0x34, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 514 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 515 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 516 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x54, 0x79, 0x70, 0x65, 517 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 518 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x65, 0x20, 0x01, 519 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 520 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 521 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 522 0x86, 0x05, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x12, 0x10, 0x0a, 523 0x03, 0x6b, 0x65, 0x79, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 524 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x66, 0x20, 0x01, 0x28, 0x09, 525 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 526 0x69, 0x6f, 0x6e, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 527 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x68, 0x20, 0x01, 0x28, 0x09, 0x52, 528 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 529 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 530 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 531 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x40, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 532 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 533 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x4d, 534 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 535 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x6d, 0x65, 536 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 537 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 538 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 539 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x52, 540 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x4c, 0x0a, 0x0a, 0x76, 541 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 542 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 543 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 544 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 545 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x6f, 0x69, 546 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 547 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x34, 0x2e, 0x50, 0x6f, 548 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x3a, 0xd4, 0x01, 0xea, 0x41, 549 0x9b, 0x01, 0x0a, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x65, 550 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 551 0x72, 0x69, 0x65, 0x12, 0x2a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 552 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 553 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x7d, 0x12, 554 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 555 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 556 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x75, 557 0x63, 0x6b, 0x65, 0x74, 0x7d, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 558 0x2f, 0x7b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x7d, 0x92, 0xd9, 0x21, 559 0x31, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x0a, 0x74, 560 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 561 0x63, 0x74, 0x1a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x38, 0x05, 0x48, 0x01, 0x52, 0x02, 562 0x08, 0x01, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x72, 0x0a, 0x0e, 0x42, 0x75, 0x6c, 0x6b, 563 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x74, 0x69, 564 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 565 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 566 0x2e, 0x76, 0x34, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x52, 0x0a, 0x74, 567 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x61, 568 0x6e, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 569 0x0b, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x42, 0x7a, 0xe8, 0xde, 570 0x21, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 571 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x34, 0x42, 0x0e, 0x54, 0x69, 572 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 573 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 574 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 575 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 576 0x76, 0x34, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x3b, 0x74, 0x69, 577 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 578 } 579 580 var ( 581 edgelq_monitoring_proto_v4_time_serie_proto_rawDescOnce sync.Once 582 edgelq_monitoring_proto_v4_time_serie_proto_rawDescData = edgelq_monitoring_proto_v4_time_serie_proto_rawDesc 583 ) 584 585 func edgelq_monitoring_proto_v4_time_serie_proto_rawDescGZIP() []byte { 586 edgelq_monitoring_proto_v4_time_serie_proto_rawDescOnce.Do(func() { 587 edgelq_monitoring_proto_v4_time_serie_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v4_time_serie_proto_rawDescData) 588 }) 589 return edgelq_monitoring_proto_v4_time_serie_proto_rawDescData 590 } 591 592 var edgelq_monitoring_proto_v4_time_serie_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 593 var edgelq_monitoring_proto_v4_time_serie_proto_goTypes = []interface{}{ 594 (*Point)(nil), // 0: ntt.monitoring.v4.Point 595 (*TimeSerie)(nil), // 1: ntt.monitoring.v4.TimeSerie 596 (*BulkTimeSeries)(nil), // 2: ntt.monitoring.v4.BulkTimeSeries 597 (*common.TimeInterval)(nil), // 3: ntt.monitoring.v4.TimeInterval 598 (*common.TypedValue)(nil), // 4: ntt.monitoring.v4.TypedValue 599 (*common.Aggregation)(nil), // 5: ntt.monitoring.v4.Aggregation 600 (*common.Metric)(nil), // 6: ntt.monitoring.v4.Metric 601 (*common.MonitoredResource)(nil), // 7: ntt.monitoring.v4.MonitoredResource 602 (metric_descriptor.MetricDescriptor_MetricKind)(0), // 8: ntt.monitoring.v4.MetricDescriptor_MetricKind 603 (metric_descriptor.MetricDescriptor_ValueType)(0), // 9: ntt.monitoring.v4.MetricDescriptor_ValueType 604 } 605 var edgelq_monitoring_proto_v4_time_serie_proto_depIdxs = []int32{ 606 3, // 0: ntt.monitoring.v4.Point.interval:type_name -> ntt.monitoring.v4.TimeInterval 607 4, // 1: ntt.monitoring.v4.Point.value:type_name -> ntt.monitoring.v4.TypedValue 608 5, // 2: ntt.monitoring.v4.Point.aggregation:type_name -> ntt.monitoring.v4.Aggregation 609 6, // 3: ntt.monitoring.v4.TimeSerie.metric:type_name -> ntt.monitoring.v4.Metric 610 7, // 4: ntt.monitoring.v4.TimeSerie.resource:type_name -> ntt.monitoring.v4.MonitoredResource 611 8, // 5: ntt.monitoring.v4.TimeSerie.metric_kind:type_name -> ntt.monitoring.v4.MetricDescriptor_MetricKind 612 9, // 6: ntt.monitoring.v4.TimeSerie.value_type:type_name -> ntt.monitoring.v4.MetricDescriptor_ValueType 613 0, // 7: ntt.monitoring.v4.TimeSerie.points:type_name -> ntt.monitoring.v4.Point 614 1, // 8: ntt.monitoring.v4.BulkTimeSeries.time_series:type_name -> ntt.monitoring.v4.TimeSerie 615 9, // [9:9] is the sub-list for method output_type 616 9, // [9:9] is the sub-list for method input_type 617 9, // [9:9] is the sub-list for extension type_name 618 9, // [9:9] is the sub-list for extension extendee 619 0, // [0:9] is the sub-list for field type_name 620 } 621 622 func init() { edgelq_monitoring_proto_v4_time_serie_proto_init() } 623 func edgelq_monitoring_proto_v4_time_serie_proto_init() { 624 if edgelq_monitoring_proto_v4_time_serie_proto != nil { 625 return 626 } 627 if !protoimpl.UnsafeEnabled { 628 629 edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 630 switch v := v.(*Point); i { 631 case 0: 632 return &v.state 633 case 1: 634 return &v.sizeCache 635 case 2: 636 return &v.unknownFields 637 default: 638 return nil 639 } 640 } 641 edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 642 switch v := v.(*TimeSerie); i { 643 case 0: 644 return &v.state 645 case 1: 646 return &v.sizeCache 647 case 2: 648 return &v.unknownFields 649 default: 650 return nil 651 } 652 } 653 edgelq_monitoring_proto_v4_time_serie_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 654 switch v := v.(*BulkTimeSeries); i { 655 case 0: 656 return &v.state 657 case 1: 658 return &v.sizeCache 659 case 2: 660 return &v.unknownFields 661 default: 662 return nil 663 } 664 } 665 } 666 667 type x struct{} 668 out := protoimpl.TypeBuilder{ 669 File: protoimpl.DescBuilder{ 670 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 671 RawDescriptor: edgelq_monitoring_proto_v4_time_serie_proto_rawDesc, 672 NumEnums: 0, 673 NumMessages: 3, 674 NumExtensions: 0, 675 NumServices: 0, 676 }, 677 GoTypes: edgelq_monitoring_proto_v4_time_serie_proto_goTypes, 678 DependencyIndexes: edgelq_monitoring_proto_v4_time_serie_proto_depIdxs, 679 MessageInfos: edgelq_monitoring_proto_v4_time_serie_proto_msgTypes, 680 }.Build() 681 edgelq_monitoring_proto_v4_time_serie_proto = out.File 682 edgelq_monitoring_proto_v4_time_serie_proto_rawDesc = nil 683 edgelq_monitoring_proto_v4_time_serie_proto_goTypes = nil 684 edgelq_monitoring_proto_v4_time_serie_proto_depIdxs = nil 685 }