github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/time_serie/time_serie.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/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/v3/common" 21 metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/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_v3_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_v3_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_v3_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 // A collection of data points that describes the time-varying values 163 // of a metric. A time series is identified by a combination of a 164 // fully-specified monitored resource and a fully-specified metric. 165 // This type is used for both listing and creating time series. 166 type TimeSerie struct { 167 state protoimpl.MessageState 168 sizeCache protoimpl.SizeCache 169 unknownFields protoimpl.UnknownFields 170 // TimeSerie key identifies unique TimeSeries tuple: 171 // <project, region, metric.type, metric.labels, resource.type, 172 // resource.labels> 173 // 174 // Kind/ValueType are not present in key 175 // Key is not to be decoded outside of service, but treated as opaque string 176 // 177 // Specific key is valid and understood only in single region only. If time 178 // serie is created by merging from multiple regions, key must be ignore. 179 Key []byte `protobuf:"bytes,101,opt,name=key,proto3" json:"key,omitempty"` 180 // Internal use - for bulk reporting of TimeSeries 181 Project string `protobuf:"bytes,102,opt,name=project,proto3" json:"project,omitempty"` 182 // Region ID associated with time serie. 183 Region string `protobuf:"bytes,103,opt,name=region,proto3" json:"region,omitempty"` 184 // The associated metric. A fully-specified metric used to identify the time 185 // series. 186 Metric *common.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` 187 // The associated monitored resource. Custom metrics can use only certain 188 // monitored resource types in their time series data. 189 Resource *common.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 190 // The metric kind of the time series. When listing time series, this metric 191 // kind might be different from the metric kind of the associated metric if 192 // this time series is an alignment or reduction of other time series. 193 // 194 // When creating a time series, this field is optional. If present, it must be 195 // the same as the metric kind of the associated metric. If the associated 196 // metric's descriptor must be auto-created, then this field specifies the 197 // metric kind of the new descriptor and must be either `GAUGE` (the default) 198 // or `CUMULATIVE`. 199 MetricKind metric_descriptor.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=ntt.monitoring.v3.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"` 200 // The value type of the time series. When listing time series, this value 201 // type might be different from the value type of the associated metric if 202 // this time series is an alignment or reduction of other time series. 203 // 204 // When creating a time series, this field is optional. If present, it must be 205 // the same as the type of the data in the `points` field. 206 ValueType metric_descriptor.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=ntt.monitoring.v3.MetricDescriptor_ValueType" json:"value_type,omitempty"` 207 // The data points of this time series. When listing time series, points are 208 // returned in reverse time order. 209 // 210 // When creating a time series, this field must contain exactly one point and 211 // the point's type must be the same as the value type of the associated 212 // metric. If the associated metric's descriptor must be auto-created, then 213 // the value type of the descriptor is determined by the point's type, which 214 // must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. 215 Points []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"` 216 } 217 218 func (m *TimeSerie) Reset() { 219 *m = TimeSerie{} 220 if protoimpl.UnsafeEnabled { 221 mi := &edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[1] 222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 223 ms.StoreMessageInfo(mi) 224 } 225 } 226 227 func (m *TimeSerie) String() string { 228 return protoimpl.X.MessageStringOf(m) 229 } 230 231 func (*TimeSerie) ProtoMessage() {} 232 233 func (m *TimeSerie) ProtoReflect() preflect.Message { 234 mi := &edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[1] 235 if protoimpl.UnsafeEnabled && m != nil { 236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 237 if ms.LoadMessageInfo() == nil { 238 ms.StoreMessageInfo(mi) 239 } 240 return ms 241 } 242 return mi.MessageOf(m) 243 } 244 245 func (*TimeSerie) GotenMessage() {} 246 247 // Deprecated, Use TimeSerie.ProtoReflect.Descriptor instead. 248 func (*TimeSerie) Descriptor() ([]byte, []int) { 249 return edgelq_monitoring_proto_v3_time_serie_proto_rawDescGZIP(), []int{1} 250 } 251 252 func (m *TimeSerie) Unmarshal(b []byte) error { 253 return proto.Unmarshal(b, m) 254 } 255 256 func (m *TimeSerie) Marshal() ([]byte, error) { 257 return proto.Marshal(m) 258 } 259 260 func (m *TimeSerie) MarshalJSON() ([]byte, error) { 261 return protojson.MarshalOptions{}.Marshal(m) 262 } 263 264 func (m *TimeSerie) UnmarshalJSON(data []byte) error { 265 return protojson.Unmarshal(data, m) 266 } 267 268 func (m *TimeSerie) GetKey() []byte { 269 if m != nil { 270 return m.Key 271 } 272 return nil 273 } 274 275 func (m *TimeSerie) GetProject() string { 276 if m != nil { 277 return m.Project 278 } 279 return "" 280 } 281 282 func (m *TimeSerie) GetRegion() string { 283 if m != nil { 284 return m.Region 285 } 286 return "" 287 } 288 289 func (m *TimeSerie) GetMetric() *common.Metric { 290 if m != nil { 291 return m.Metric 292 } 293 return nil 294 } 295 296 func (m *TimeSerie) GetResource() *common.MonitoredResource { 297 if m != nil { 298 return m.Resource 299 } 300 return nil 301 } 302 303 func (m *TimeSerie) GetMetricKind() metric_descriptor.MetricDescriptor_MetricKind { 304 if m != nil { 305 return m.MetricKind 306 } 307 return metric_descriptor.MetricDescriptor_METRIC_KIND_UNSPECIFIED 308 } 309 310 func (m *TimeSerie) GetValueType() metric_descriptor.MetricDescriptor_ValueType { 311 if m != nil { 312 return m.ValueType 313 } 314 return metric_descriptor.MetricDescriptor_VALUE_TYPE_UNSPECIFIED 315 } 316 317 func (m *TimeSerie) GetPoints() []*Point { 318 if m != nil { 319 return m.Points 320 } 321 return nil 322 } 323 324 func (m *TimeSerie) SetKey(fv []byte) { 325 if m == nil { 326 panic(fmt.Errorf("can't set %s on nil %s", "Key", "TimeSerie")) 327 } 328 m.Key = fv 329 } 330 331 func (m *TimeSerie) SetProject(fv string) { 332 if m == nil { 333 panic(fmt.Errorf("can't set %s on nil %s", "Project", "TimeSerie")) 334 } 335 m.Project = fv 336 } 337 338 func (m *TimeSerie) SetRegion(fv string) { 339 if m == nil { 340 panic(fmt.Errorf("can't set %s on nil %s", "Region", "TimeSerie")) 341 } 342 m.Region = fv 343 } 344 345 func (m *TimeSerie) SetMetric(fv *common.Metric) { 346 if m == nil { 347 panic(fmt.Errorf("can't set %s on nil %s", "Metric", "TimeSerie")) 348 } 349 m.Metric = fv 350 } 351 352 func (m *TimeSerie) SetResource(fv *common.MonitoredResource) { 353 if m == nil { 354 panic(fmt.Errorf("can't set %s on nil %s", "Resource", "TimeSerie")) 355 } 356 m.Resource = fv 357 } 358 359 func (m *TimeSerie) SetMetricKind(fv metric_descriptor.MetricDescriptor_MetricKind) { 360 if m == nil { 361 panic(fmt.Errorf("can't set %s on nil %s", "MetricKind", "TimeSerie")) 362 } 363 m.MetricKind = fv 364 } 365 366 func (m *TimeSerie) SetValueType(fv metric_descriptor.MetricDescriptor_ValueType) { 367 if m == nil { 368 panic(fmt.Errorf("can't set %s on nil %s", "ValueType", "TimeSerie")) 369 } 370 m.ValueType = fv 371 } 372 373 func (m *TimeSerie) SetPoints(fv []*Point) { 374 if m == nil { 375 panic(fmt.Errorf("can't set %s on nil %s", "Points", "TimeSerie")) 376 } 377 m.Points = fv 378 } 379 380 // Used for reporting rollups 381 type BulkTimeSeries struct { 382 state protoimpl.MessageState 383 sizeCache protoimpl.SizeCache 384 unknownFields protoimpl.UnknownFields 385 TimeSeries []*TimeSerie `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` 386 PhantomFlag bool `protobuf:"varint,2,opt,name=phantom_flag,json=phantomFlag,proto3" json:"phantom_flag,omitempty"` 387 } 388 389 func (m *BulkTimeSeries) Reset() { 390 *m = BulkTimeSeries{} 391 if protoimpl.UnsafeEnabled { 392 mi := &edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[2] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 394 ms.StoreMessageInfo(mi) 395 } 396 } 397 398 func (m *BulkTimeSeries) String() string { 399 return protoimpl.X.MessageStringOf(m) 400 } 401 402 func (*BulkTimeSeries) ProtoMessage() {} 403 404 func (m *BulkTimeSeries) ProtoReflect() preflect.Message { 405 mi := &edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[2] 406 if protoimpl.UnsafeEnabled && m != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(m) 414 } 415 416 func (*BulkTimeSeries) GotenMessage() {} 417 418 // Deprecated, Use BulkTimeSeries.ProtoReflect.Descriptor instead. 419 func (*BulkTimeSeries) Descriptor() ([]byte, []int) { 420 return edgelq_monitoring_proto_v3_time_serie_proto_rawDescGZIP(), []int{2} 421 } 422 423 func (m *BulkTimeSeries) Unmarshal(b []byte) error { 424 return proto.Unmarshal(b, m) 425 } 426 427 func (m *BulkTimeSeries) Marshal() ([]byte, error) { 428 return proto.Marshal(m) 429 } 430 431 func (m *BulkTimeSeries) MarshalJSON() ([]byte, error) { 432 return protojson.MarshalOptions{}.Marshal(m) 433 } 434 435 func (m *BulkTimeSeries) UnmarshalJSON(data []byte) error { 436 return protojson.Unmarshal(data, m) 437 } 438 439 func (m *BulkTimeSeries) GetTimeSeries() []*TimeSerie { 440 if m != nil { 441 return m.TimeSeries 442 } 443 return nil 444 } 445 446 func (m *BulkTimeSeries) GetPhantomFlag() bool { 447 if m != nil { 448 return m.PhantomFlag 449 } 450 return false 451 } 452 453 func (m *BulkTimeSeries) SetTimeSeries(fv []*TimeSerie) { 454 if m == nil { 455 panic(fmt.Errorf("can't set %s on nil %s", "TimeSeries", "BulkTimeSeries")) 456 } 457 m.TimeSeries = fv 458 } 459 460 func (m *BulkTimeSeries) SetPhantomFlag(fv bool) { 461 if m == nil { 462 panic(fmt.Errorf("can't set %s on nil %s", "PhantomFlag", "BulkTimeSeries")) 463 } 464 m.PhantomFlag = fv 465 } 466 467 var edgelq_monitoring_proto_v3_time_serie_proto preflect.FileDescriptor 468 469 var edgelq_monitoring_proto_v3_time_serie_proto_rawDesc = []byte{ 470 0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 471 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x69, 0x6d, 472 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 473 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 474 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 475 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 476 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 477 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 478 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 479 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 480 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 481 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 482 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 483 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 484 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 485 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 486 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 487 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 488 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 489 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 490 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x65, 491 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 492 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 493 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 494 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x05, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x69, 495 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 496 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 497 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 498 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 499 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 500 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 501 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 502 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x65, 0x20, 0x01, 503 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 504 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 505 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 506 0x9a, 0x04, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x12, 0x10, 0x0a, 507 0x03, 0x6b, 0x65, 0x79, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 508 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x66, 0x20, 0x01, 0x28, 0x09, 509 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 510 0x69, 0x6f, 0x6e, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 511 0x6e, 0x12, 0x31, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 512 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 513 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 514 0x74, 0x72, 0x69, 0x63, 0x12, 0x40, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 515 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 516 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 517 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 518 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 519 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 520 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 521 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 522 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x6d, 0x65, 0x74, 523 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x4c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 524 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 525 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 526 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 527 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 528 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 529 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 530 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 531 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x3a, 0x7d, 0xea, 0x41, 0x4d, 0x0a, 0x1f, 0x6d, 0x6f, 532 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 533 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x12, 0x2a, 0x70, 534 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 535 0x7d, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x69, 536 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x7d, 0x92, 0xd9, 0x21, 0x29, 0x0a, 0x0a, 0x74, 537 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 538 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x38, 0x05, 539 0x48, 0x01, 0x52, 0x02, 0x08, 0x01, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x72, 0x0a, 0x0e, 540 0x42, 0x75, 0x6c, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3d, 541 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 542 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 543 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 544 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 545 0x0c, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 546 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x68, 0x61, 0x6e, 0x74, 0x6f, 0x6d, 0x46, 0x6c, 0x61, 0x67, 547 0x42, 0xa0, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x4d, 0x0a, 0x10, 0x74, 0x69, 548 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x39, 549 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 550 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 551 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x74, 552 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0xa2, 0x80, 0xd1, 0x02, 0x4f, 0x0a, 0x11, 553 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 554 0x73, 0x12, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 555 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 556 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 557 0x76, 0x33, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x0a, 0x18, 0x63, 558 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 559 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 560 0x69, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 561 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 562 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 563 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x69, 564 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x3b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 565 0x72, 0x69, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 566 } 567 568 var ( 569 edgelq_monitoring_proto_v3_time_serie_proto_rawDescOnce sync.Once 570 edgelq_monitoring_proto_v3_time_serie_proto_rawDescData = edgelq_monitoring_proto_v3_time_serie_proto_rawDesc 571 ) 572 573 func edgelq_monitoring_proto_v3_time_serie_proto_rawDescGZIP() []byte { 574 edgelq_monitoring_proto_v3_time_serie_proto_rawDescOnce.Do(func() { 575 edgelq_monitoring_proto_v3_time_serie_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_time_serie_proto_rawDescData) 576 }) 577 return edgelq_monitoring_proto_v3_time_serie_proto_rawDescData 578 } 579 580 var edgelq_monitoring_proto_v3_time_serie_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 581 var edgelq_monitoring_proto_v3_time_serie_proto_goTypes = []interface{}{ 582 (*Point)(nil), // 0: ntt.monitoring.v3.Point 583 (*TimeSerie)(nil), // 1: ntt.monitoring.v3.TimeSerie 584 (*BulkTimeSeries)(nil), // 2: ntt.monitoring.v3.BulkTimeSeries 585 (*common.TimeInterval)(nil), // 3: ntt.monitoring.v3.TimeInterval 586 (*common.TypedValue)(nil), // 4: ntt.monitoring.v3.TypedValue 587 (*common.Aggregation)(nil), // 5: ntt.monitoring.v3.Aggregation 588 (*common.Metric)(nil), // 6: ntt.monitoring.v3.Metric 589 (*common.MonitoredResource)(nil), // 7: ntt.monitoring.v3.MonitoredResource 590 (metric_descriptor.MetricDescriptor_MetricKind)(0), // 8: ntt.monitoring.v3.MetricDescriptor_MetricKind 591 (metric_descriptor.MetricDescriptor_ValueType)(0), // 9: ntt.monitoring.v3.MetricDescriptor_ValueType 592 } 593 var edgelq_monitoring_proto_v3_time_serie_proto_depIdxs = []int32{ 594 3, // 0: ntt.monitoring.v3.Point.interval:type_name -> ntt.monitoring.v3.TimeInterval 595 4, // 1: ntt.monitoring.v3.Point.value:type_name -> ntt.monitoring.v3.TypedValue 596 5, // 2: ntt.monitoring.v3.Point.aggregation:type_name -> ntt.monitoring.v3.Aggregation 597 6, // 3: ntt.monitoring.v3.TimeSerie.metric:type_name -> ntt.monitoring.v3.Metric 598 7, // 4: ntt.monitoring.v3.TimeSerie.resource:type_name -> ntt.monitoring.v3.MonitoredResource 599 8, // 5: ntt.monitoring.v3.TimeSerie.metric_kind:type_name -> ntt.monitoring.v3.MetricDescriptor_MetricKind 600 9, // 6: ntt.monitoring.v3.TimeSerie.value_type:type_name -> ntt.monitoring.v3.MetricDescriptor_ValueType 601 0, // 7: ntt.monitoring.v3.TimeSerie.points:type_name -> ntt.monitoring.v3.Point 602 1, // 8: ntt.monitoring.v3.BulkTimeSeries.time_series:type_name -> ntt.monitoring.v3.TimeSerie 603 9, // [9:9] is the sub-list for method output_type 604 9, // [9:9] is the sub-list for method input_type 605 9, // [9:9] is the sub-list for extension type_name 606 9, // [9:9] is the sub-list for extension extendee 607 0, // [0:9] is the sub-list for field type_name 608 } 609 610 func init() { edgelq_monitoring_proto_v3_time_serie_proto_init() } 611 func edgelq_monitoring_proto_v3_time_serie_proto_init() { 612 if edgelq_monitoring_proto_v3_time_serie_proto != nil { 613 return 614 } 615 if !protoimpl.UnsafeEnabled { 616 617 edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 618 switch v := v.(*Point); i { 619 case 0: 620 return &v.state 621 case 1: 622 return &v.sizeCache 623 case 2: 624 return &v.unknownFields 625 default: 626 return nil 627 } 628 } 629 edgelq_monitoring_proto_v3_time_serie_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 630 switch v := v.(*TimeSerie); 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_v3_time_serie_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 642 switch v := v.(*BulkTimeSeries); 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 } 654 655 type x struct{} 656 out := protoimpl.TypeBuilder{ 657 File: protoimpl.DescBuilder{ 658 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 659 RawDescriptor: edgelq_monitoring_proto_v3_time_serie_proto_rawDesc, 660 NumEnums: 0, 661 NumMessages: 3, 662 NumExtensions: 0, 663 NumServices: 0, 664 }, 665 GoTypes: edgelq_monitoring_proto_v3_time_serie_proto_goTypes, 666 DependencyIndexes: edgelq_monitoring_proto_v3_time_serie_proto_depIdxs, 667 MessageInfos: edgelq_monitoring_proto_v3_time_serie_proto_msgTypes, 668 }.Build() 669 edgelq_monitoring_proto_v3_time_serie_proto = out.File 670 edgelq_monitoring_proto_v3_time_serie_proto_rawDesc = nil 671 edgelq_monitoring_proto_v3_time_serie_proto_goTypes = nil 672 edgelq_monitoring_proto_v3_time_serie_proto_depIdxs = nil 673 }