github.com/pinpoint-apm/pinpoint-go-agent@v1.4.1-0.20240110120318-a50c2eb18c8c/protobuf/CustomMetric.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: v1/CustomMetric.proto 3 4 package v1 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type PCustomMetricMessage struct { 24 Timestamp []int64 `protobuf:"varint,1,rep,packed,name=timestamp,proto3" json:"timestamp,omitempty"` 25 CollectInterval []int64 `protobuf:"varint,2,rep,packed,name=collectInterval,proto3" json:"collectInterval,omitempty"` 26 CustomMetrics []*PCustomMetric `protobuf:"bytes,3,rep,name=customMetrics,proto3" json:"customMetrics,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *PCustomMetricMessage) Reset() { *m = PCustomMetricMessage{} } 33 func (m *PCustomMetricMessage) String() string { return proto.CompactTextString(m) } 34 func (*PCustomMetricMessage) ProtoMessage() {} 35 func (*PCustomMetricMessage) Descriptor() ([]byte, []int) { 36 return fileDescriptor_ce7d80f7f696e9ae, []int{0} 37 } 38 39 func (m *PCustomMetricMessage) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_PCustomMetricMessage.Unmarshal(m, b) 41 } 42 func (m *PCustomMetricMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_PCustomMetricMessage.Marshal(b, m, deterministic) 44 } 45 func (m *PCustomMetricMessage) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_PCustomMetricMessage.Merge(m, src) 47 } 48 func (m *PCustomMetricMessage) XXX_Size() int { 49 return xxx_messageInfo_PCustomMetricMessage.Size(m) 50 } 51 func (m *PCustomMetricMessage) XXX_DiscardUnknown() { 52 xxx_messageInfo_PCustomMetricMessage.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_PCustomMetricMessage proto.InternalMessageInfo 56 57 func (m *PCustomMetricMessage) GetTimestamp() []int64 { 58 if m != nil { 59 return m.Timestamp 60 } 61 return nil 62 } 63 64 func (m *PCustomMetricMessage) GetCollectInterval() []int64 { 65 if m != nil { 66 return m.CollectInterval 67 } 68 return nil 69 } 70 71 func (m *PCustomMetricMessage) GetCustomMetrics() []*PCustomMetric { 72 if m != nil { 73 return m.CustomMetrics 74 } 75 return nil 76 } 77 78 type PCustomMetric struct { 79 // Types that are valid to be assigned to Field: 80 // *PCustomMetric_IntCountMetric 81 // *PCustomMetric_LongCountMetric 82 // *PCustomMetric_IntGaugeMetric 83 // *PCustomMetric_LongGaugeMetric 84 // *PCustomMetric_DoubleGaugeMetric 85 Field isPCustomMetric_Field `protobuf_oneof:"field"` 86 XXX_NoUnkeyedLiteral struct{} `json:"-"` 87 XXX_unrecognized []byte `json:"-"` 88 XXX_sizecache int32 `json:"-"` 89 } 90 91 func (m *PCustomMetric) Reset() { *m = PCustomMetric{} } 92 func (m *PCustomMetric) String() string { return proto.CompactTextString(m) } 93 func (*PCustomMetric) ProtoMessage() {} 94 func (*PCustomMetric) Descriptor() ([]byte, []int) { 95 return fileDescriptor_ce7d80f7f696e9ae, []int{1} 96 } 97 98 func (m *PCustomMetric) XXX_Unmarshal(b []byte) error { 99 return xxx_messageInfo_PCustomMetric.Unmarshal(m, b) 100 } 101 func (m *PCustomMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 102 return xxx_messageInfo_PCustomMetric.Marshal(b, m, deterministic) 103 } 104 func (m *PCustomMetric) XXX_Merge(src proto.Message) { 105 xxx_messageInfo_PCustomMetric.Merge(m, src) 106 } 107 func (m *PCustomMetric) XXX_Size() int { 108 return xxx_messageInfo_PCustomMetric.Size(m) 109 } 110 func (m *PCustomMetric) XXX_DiscardUnknown() { 111 xxx_messageInfo_PCustomMetric.DiscardUnknown(m) 112 } 113 114 var xxx_messageInfo_PCustomMetric proto.InternalMessageInfo 115 116 type isPCustomMetric_Field interface { 117 isPCustomMetric_Field() 118 } 119 120 type PCustomMetric_IntCountMetric struct { 121 IntCountMetric *PIntCountMetric `protobuf:"bytes,1,opt,name=intCountMetric,proto3,oneof"` 122 } 123 124 type PCustomMetric_LongCountMetric struct { 125 LongCountMetric *PLongCountMetric `protobuf:"bytes,2,opt,name=longCountMetric,proto3,oneof"` 126 } 127 128 type PCustomMetric_IntGaugeMetric struct { 129 IntGaugeMetric *PIntGaugeMetric `protobuf:"bytes,3,opt,name=intGaugeMetric,proto3,oneof"` 130 } 131 132 type PCustomMetric_LongGaugeMetric struct { 133 LongGaugeMetric *PLongGaugeMetric `protobuf:"bytes,4,opt,name=longGaugeMetric,proto3,oneof"` 134 } 135 136 type PCustomMetric_DoubleGaugeMetric struct { 137 DoubleGaugeMetric *PDouleGaugeMetric `protobuf:"bytes,5,opt,name=doubleGaugeMetric,proto3,oneof"` 138 } 139 140 func (*PCustomMetric_IntCountMetric) isPCustomMetric_Field() {} 141 142 func (*PCustomMetric_LongCountMetric) isPCustomMetric_Field() {} 143 144 func (*PCustomMetric_IntGaugeMetric) isPCustomMetric_Field() {} 145 146 func (*PCustomMetric_LongGaugeMetric) isPCustomMetric_Field() {} 147 148 func (*PCustomMetric_DoubleGaugeMetric) isPCustomMetric_Field() {} 149 150 func (m *PCustomMetric) GetField() isPCustomMetric_Field { 151 if m != nil { 152 return m.Field 153 } 154 return nil 155 } 156 157 func (m *PCustomMetric) GetIntCountMetric() *PIntCountMetric { 158 if x, ok := m.GetField().(*PCustomMetric_IntCountMetric); ok { 159 return x.IntCountMetric 160 } 161 return nil 162 } 163 164 func (m *PCustomMetric) GetLongCountMetric() *PLongCountMetric { 165 if x, ok := m.GetField().(*PCustomMetric_LongCountMetric); ok { 166 return x.LongCountMetric 167 } 168 return nil 169 } 170 171 func (m *PCustomMetric) GetIntGaugeMetric() *PIntGaugeMetric { 172 if x, ok := m.GetField().(*PCustomMetric_IntGaugeMetric); ok { 173 return x.IntGaugeMetric 174 } 175 return nil 176 } 177 178 func (m *PCustomMetric) GetLongGaugeMetric() *PLongGaugeMetric { 179 if x, ok := m.GetField().(*PCustomMetric_LongGaugeMetric); ok { 180 return x.LongGaugeMetric 181 } 182 return nil 183 } 184 185 func (m *PCustomMetric) GetDoubleGaugeMetric() *PDouleGaugeMetric { 186 if x, ok := m.GetField().(*PCustomMetric_DoubleGaugeMetric); ok { 187 return x.DoubleGaugeMetric 188 } 189 return nil 190 } 191 192 // XXX_OneofWrappers is for the internal use of the proto package. 193 func (*PCustomMetric) XXX_OneofWrappers() []interface{} { 194 return []interface{}{ 195 (*PCustomMetric_IntCountMetric)(nil), 196 (*PCustomMetric_LongCountMetric)(nil), 197 (*PCustomMetric_IntGaugeMetric)(nil), 198 (*PCustomMetric_LongGaugeMetric)(nil), 199 (*PCustomMetric_DoubleGaugeMetric)(nil), 200 } 201 } 202 203 type PIntCountMetric struct { 204 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 205 Values []*PIntValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 206 XXX_NoUnkeyedLiteral struct{} `json:"-"` 207 XXX_unrecognized []byte `json:"-"` 208 XXX_sizecache int32 `json:"-"` 209 } 210 211 func (m *PIntCountMetric) Reset() { *m = PIntCountMetric{} } 212 func (m *PIntCountMetric) String() string { return proto.CompactTextString(m) } 213 func (*PIntCountMetric) ProtoMessage() {} 214 func (*PIntCountMetric) Descriptor() ([]byte, []int) { 215 return fileDescriptor_ce7d80f7f696e9ae, []int{2} 216 } 217 218 func (m *PIntCountMetric) XXX_Unmarshal(b []byte) error { 219 return xxx_messageInfo_PIntCountMetric.Unmarshal(m, b) 220 } 221 func (m *PIntCountMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 222 return xxx_messageInfo_PIntCountMetric.Marshal(b, m, deterministic) 223 } 224 func (m *PIntCountMetric) XXX_Merge(src proto.Message) { 225 xxx_messageInfo_PIntCountMetric.Merge(m, src) 226 } 227 func (m *PIntCountMetric) XXX_Size() int { 228 return xxx_messageInfo_PIntCountMetric.Size(m) 229 } 230 func (m *PIntCountMetric) XXX_DiscardUnknown() { 231 xxx_messageInfo_PIntCountMetric.DiscardUnknown(m) 232 } 233 234 var xxx_messageInfo_PIntCountMetric proto.InternalMessageInfo 235 236 func (m *PIntCountMetric) GetName() string { 237 if m != nil { 238 return m.Name 239 } 240 return "" 241 } 242 243 func (m *PIntCountMetric) GetValues() []*PIntValue { 244 if m != nil { 245 return m.Values 246 } 247 return nil 248 } 249 250 type PLongCountMetric struct { 251 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 252 Values []*PLongValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 253 XXX_NoUnkeyedLiteral struct{} `json:"-"` 254 XXX_unrecognized []byte `json:"-"` 255 XXX_sizecache int32 `json:"-"` 256 } 257 258 func (m *PLongCountMetric) Reset() { *m = PLongCountMetric{} } 259 func (m *PLongCountMetric) String() string { return proto.CompactTextString(m) } 260 func (*PLongCountMetric) ProtoMessage() {} 261 func (*PLongCountMetric) Descriptor() ([]byte, []int) { 262 return fileDescriptor_ce7d80f7f696e9ae, []int{3} 263 } 264 265 func (m *PLongCountMetric) XXX_Unmarshal(b []byte) error { 266 return xxx_messageInfo_PLongCountMetric.Unmarshal(m, b) 267 } 268 func (m *PLongCountMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 269 return xxx_messageInfo_PLongCountMetric.Marshal(b, m, deterministic) 270 } 271 func (m *PLongCountMetric) XXX_Merge(src proto.Message) { 272 xxx_messageInfo_PLongCountMetric.Merge(m, src) 273 } 274 func (m *PLongCountMetric) XXX_Size() int { 275 return xxx_messageInfo_PLongCountMetric.Size(m) 276 } 277 func (m *PLongCountMetric) XXX_DiscardUnknown() { 278 xxx_messageInfo_PLongCountMetric.DiscardUnknown(m) 279 } 280 281 var xxx_messageInfo_PLongCountMetric proto.InternalMessageInfo 282 283 func (m *PLongCountMetric) GetName() string { 284 if m != nil { 285 return m.Name 286 } 287 return "" 288 } 289 290 func (m *PLongCountMetric) GetValues() []*PLongValue { 291 if m != nil { 292 return m.Values 293 } 294 return nil 295 } 296 297 type PIntGaugeMetric struct { 298 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 299 Values []*PIntValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 300 XXX_NoUnkeyedLiteral struct{} `json:"-"` 301 XXX_unrecognized []byte `json:"-"` 302 XXX_sizecache int32 `json:"-"` 303 } 304 305 func (m *PIntGaugeMetric) Reset() { *m = PIntGaugeMetric{} } 306 func (m *PIntGaugeMetric) String() string { return proto.CompactTextString(m) } 307 func (*PIntGaugeMetric) ProtoMessage() {} 308 func (*PIntGaugeMetric) Descriptor() ([]byte, []int) { 309 return fileDescriptor_ce7d80f7f696e9ae, []int{4} 310 } 311 312 func (m *PIntGaugeMetric) XXX_Unmarshal(b []byte) error { 313 return xxx_messageInfo_PIntGaugeMetric.Unmarshal(m, b) 314 } 315 func (m *PIntGaugeMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 316 return xxx_messageInfo_PIntGaugeMetric.Marshal(b, m, deterministic) 317 } 318 func (m *PIntGaugeMetric) XXX_Merge(src proto.Message) { 319 xxx_messageInfo_PIntGaugeMetric.Merge(m, src) 320 } 321 func (m *PIntGaugeMetric) XXX_Size() int { 322 return xxx_messageInfo_PIntGaugeMetric.Size(m) 323 } 324 func (m *PIntGaugeMetric) XXX_DiscardUnknown() { 325 xxx_messageInfo_PIntGaugeMetric.DiscardUnknown(m) 326 } 327 328 var xxx_messageInfo_PIntGaugeMetric proto.InternalMessageInfo 329 330 func (m *PIntGaugeMetric) GetName() string { 331 if m != nil { 332 return m.Name 333 } 334 return "" 335 } 336 337 func (m *PIntGaugeMetric) GetValues() []*PIntValue { 338 if m != nil { 339 return m.Values 340 } 341 return nil 342 } 343 344 type PLongGaugeMetric struct { 345 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 346 Values []*PLongValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 347 XXX_NoUnkeyedLiteral struct{} `json:"-"` 348 XXX_unrecognized []byte `json:"-"` 349 XXX_sizecache int32 `json:"-"` 350 } 351 352 func (m *PLongGaugeMetric) Reset() { *m = PLongGaugeMetric{} } 353 func (m *PLongGaugeMetric) String() string { return proto.CompactTextString(m) } 354 func (*PLongGaugeMetric) ProtoMessage() {} 355 func (*PLongGaugeMetric) Descriptor() ([]byte, []int) { 356 return fileDescriptor_ce7d80f7f696e9ae, []int{5} 357 } 358 359 func (m *PLongGaugeMetric) XXX_Unmarshal(b []byte) error { 360 return xxx_messageInfo_PLongGaugeMetric.Unmarshal(m, b) 361 } 362 func (m *PLongGaugeMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 363 return xxx_messageInfo_PLongGaugeMetric.Marshal(b, m, deterministic) 364 } 365 func (m *PLongGaugeMetric) XXX_Merge(src proto.Message) { 366 xxx_messageInfo_PLongGaugeMetric.Merge(m, src) 367 } 368 func (m *PLongGaugeMetric) XXX_Size() int { 369 return xxx_messageInfo_PLongGaugeMetric.Size(m) 370 } 371 func (m *PLongGaugeMetric) XXX_DiscardUnknown() { 372 xxx_messageInfo_PLongGaugeMetric.DiscardUnknown(m) 373 } 374 375 var xxx_messageInfo_PLongGaugeMetric proto.InternalMessageInfo 376 377 func (m *PLongGaugeMetric) GetName() string { 378 if m != nil { 379 return m.Name 380 } 381 return "" 382 } 383 384 func (m *PLongGaugeMetric) GetValues() []*PLongValue { 385 if m != nil { 386 return m.Values 387 } 388 return nil 389 } 390 391 type PDouleGaugeMetric struct { 392 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 393 Values []*PDoubleValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 395 XXX_unrecognized []byte `json:"-"` 396 XXX_sizecache int32 `json:"-"` 397 } 398 399 func (m *PDouleGaugeMetric) Reset() { *m = PDouleGaugeMetric{} } 400 func (m *PDouleGaugeMetric) String() string { return proto.CompactTextString(m) } 401 func (*PDouleGaugeMetric) ProtoMessage() {} 402 func (*PDouleGaugeMetric) Descriptor() ([]byte, []int) { 403 return fileDescriptor_ce7d80f7f696e9ae, []int{6} 404 } 405 406 func (m *PDouleGaugeMetric) XXX_Unmarshal(b []byte) error { 407 return xxx_messageInfo_PDouleGaugeMetric.Unmarshal(m, b) 408 } 409 func (m *PDouleGaugeMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 410 return xxx_messageInfo_PDouleGaugeMetric.Marshal(b, m, deterministic) 411 } 412 func (m *PDouleGaugeMetric) XXX_Merge(src proto.Message) { 413 xxx_messageInfo_PDouleGaugeMetric.Merge(m, src) 414 } 415 func (m *PDouleGaugeMetric) XXX_Size() int { 416 return xxx_messageInfo_PDouleGaugeMetric.Size(m) 417 } 418 func (m *PDouleGaugeMetric) XXX_DiscardUnknown() { 419 xxx_messageInfo_PDouleGaugeMetric.DiscardUnknown(m) 420 } 421 422 var xxx_messageInfo_PDouleGaugeMetric proto.InternalMessageInfo 423 424 func (m *PDouleGaugeMetric) GetName() string { 425 if m != nil { 426 return m.Name 427 } 428 return "" 429 } 430 431 func (m *PDouleGaugeMetric) GetValues() []*PDoubleValue { 432 if m != nil { 433 return m.Values 434 } 435 return nil 436 } 437 438 type PIntValue struct { 439 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 440 IsNotSet bool `protobuf:"varint,2,opt,name=isNotSet,proto3" json:"isNotSet,omitempty"` 441 XXX_NoUnkeyedLiteral struct{} `json:"-"` 442 XXX_unrecognized []byte `json:"-"` 443 XXX_sizecache int32 `json:"-"` 444 } 445 446 func (m *PIntValue) Reset() { *m = PIntValue{} } 447 func (m *PIntValue) String() string { return proto.CompactTextString(m) } 448 func (*PIntValue) ProtoMessage() {} 449 func (*PIntValue) Descriptor() ([]byte, []int) { 450 return fileDescriptor_ce7d80f7f696e9ae, []int{7} 451 } 452 453 func (m *PIntValue) XXX_Unmarshal(b []byte) error { 454 return xxx_messageInfo_PIntValue.Unmarshal(m, b) 455 } 456 func (m *PIntValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 457 return xxx_messageInfo_PIntValue.Marshal(b, m, deterministic) 458 } 459 func (m *PIntValue) XXX_Merge(src proto.Message) { 460 xxx_messageInfo_PIntValue.Merge(m, src) 461 } 462 func (m *PIntValue) XXX_Size() int { 463 return xxx_messageInfo_PIntValue.Size(m) 464 } 465 func (m *PIntValue) XXX_DiscardUnknown() { 466 xxx_messageInfo_PIntValue.DiscardUnknown(m) 467 } 468 469 var xxx_messageInfo_PIntValue proto.InternalMessageInfo 470 471 func (m *PIntValue) GetValue() int32 { 472 if m != nil { 473 return m.Value 474 } 475 return 0 476 } 477 478 func (m *PIntValue) GetIsNotSet() bool { 479 if m != nil { 480 return m.IsNotSet 481 } 482 return false 483 } 484 485 type PLongValue struct { 486 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 487 IsNotSet bool `protobuf:"varint,2,opt,name=isNotSet,proto3" json:"isNotSet,omitempty"` 488 XXX_NoUnkeyedLiteral struct{} `json:"-"` 489 XXX_unrecognized []byte `json:"-"` 490 XXX_sizecache int32 `json:"-"` 491 } 492 493 func (m *PLongValue) Reset() { *m = PLongValue{} } 494 func (m *PLongValue) String() string { return proto.CompactTextString(m) } 495 func (*PLongValue) ProtoMessage() {} 496 func (*PLongValue) Descriptor() ([]byte, []int) { 497 return fileDescriptor_ce7d80f7f696e9ae, []int{8} 498 } 499 500 func (m *PLongValue) XXX_Unmarshal(b []byte) error { 501 return xxx_messageInfo_PLongValue.Unmarshal(m, b) 502 } 503 func (m *PLongValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 504 return xxx_messageInfo_PLongValue.Marshal(b, m, deterministic) 505 } 506 func (m *PLongValue) XXX_Merge(src proto.Message) { 507 xxx_messageInfo_PLongValue.Merge(m, src) 508 } 509 func (m *PLongValue) XXX_Size() int { 510 return xxx_messageInfo_PLongValue.Size(m) 511 } 512 func (m *PLongValue) XXX_DiscardUnknown() { 513 xxx_messageInfo_PLongValue.DiscardUnknown(m) 514 } 515 516 var xxx_messageInfo_PLongValue proto.InternalMessageInfo 517 518 func (m *PLongValue) GetValue() int64 { 519 if m != nil { 520 return m.Value 521 } 522 return 0 523 } 524 525 func (m *PLongValue) GetIsNotSet() bool { 526 if m != nil { 527 return m.IsNotSet 528 } 529 return false 530 } 531 532 type PDoubleValue struct { 533 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` 534 IsNotSet bool `protobuf:"varint,2,opt,name=isNotSet,proto3" json:"isNotSet,omitempty"` 535 XXX_NoUnkeyedLiteral struct{} `json:"-"` 536 XXX_unrecognized []byte `json:"-"` 537 XXX_sizecache int32 `json:"-"` 538 } 539 540 func (m *PDoubleValue) Reset() { *m = PDoubleValue{} } 541 func (m *PDoubleValue) String() string { return proto.CompactTextString(m) } 542 func (*PDoubleValue) ProtoMessage() {} 543 func (*PDoubleValue) Descriptor() ([]byte, []int) { 544 return fileDescriptor_ce7d80f7f696e9ae, []int{9} 545 } 546 547 func (m *PDoubleValue) XXX_Unmarshal(b []byte) error { 548 return xxx_messageInfo_PDoubleValue.Unmarshal(m, b) 549 } 550 func (m *PDoubleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 551 return xxx_messageInfo_PDoubleValue.Marshal(b, m, deterministic) 552 } 553 func (m *PDoubleValue) XXX_Merge(src proto.Message) { 554 xxx_messageInfo_PDoubleValue.Merge(m, src) 555 } 556 func (m *PDoubleValue) XXX_Size() int { 557 return xxx_messageInfo_PDoubleValue.Size(m) 558 } 559 func (m *PDoubleValue) XXX_DiscardUnknown() { 560 xxx_messageInfo_PDoubleValue.DiscardUnknown(m) 561 } 562 563 var xxx_messageInfo_PDoubleValue proto.InternalMessageInfo 564 565 func (m *PDoubleValue) GetValue() float64 { 566 if m != nil { 567 return m.Value 568 } 569 return 0 570 } 571 572 func (m *PDoubleValue) GetIsNotSet() bool { 573 if m != nil { 574 return m.IsNotSet 575 } 576 return false 577 } 578 579 func init() { 580 proto.RegisterType((*PCustomMetricMessage)(nil), "v1.PCustomMetricMessage") 581 proto.RegisterType((*PCustomMetric)(nil), "v1.PCustomMetric") 582 proto.RegisterType((*PIntCountMetric)(nil), "v1.PIntCountMetric") 583 proto.RegisterType((*PLongCountMetric)(nil), "v1.PLongCountMetric") 584 proto.RegisterType((*PIntGaugeMetric)(nil), "v1.PIntGaugeMetric") 585 proto.RegisterType((*PLongGaugeMetric)(nil), "v1.PLongGaugeMetric") 586 proto.RegisterType((*PDouleGaugeMetric)(nil), "v1.PDouleGaugeMetric") 587 proto.RegisterType((*PIntValue)(nil), "v1.PIntValue") 588 proto.RegisterType((*PLongValue)(nil), "v1.PLongValue") 589 proto.RegisterType((*PDoubleValue)(nil), "v1.PDoubleValue") 590 } 591 592 func init() { proto.RegisterFile("v1/CustomMetric.proto", fileDescriptor_ce7d80f7f696e9ae) } 593 594 var fileDescriptor_ce7d80f7f696e9ae = []byte{ 595 // 453 bytes of a gzipped FileDescriptorProto 596 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x41, 0x6f, 0xd3, 0x30, 597 0x14, 0xc7, 0x9b, 0x66, 0x1d, 0xeb, 0x2b, 0x5d, 0x17, 0xd3, 0x49, 0x11, 0xe2, 0x50, 0x22, 0x81, 598 0x72, 0xca, 0x94, 0x72, 0xe0, 0x54, 0x34, 0x75, 0x20, 0x3a, 0x69, 0x9b, 0x8a, 0x91, 0x38, 0x70, 599 0x73, 0x3d, 0x13, 0x45, 0x72, 0xec, 0x28, 0x71, 0xf2, 0x55, 0xf8, 0x7c, 0x7c, 0x13, 0x34, 0x2f, 600 0xed, 0x6c, 0xaf, 0x12, 0x3d, 0x70, 0x8b, 0xdf, 0xfb, 0xff, 0x7f, 0xf9, 0xfb, 0x39, 0x31, 0x9c, 601 0xb7, 0xe9, 0xc5, 0x55, 0x53, 0x2b, 0x59, 0xdc, 0x32, 0x55, 0xe5, 0x34, 0x29, 0x2b, 0xa9, 0x24, 602 0xea, 0xb7, 0x69, 0xf4, 0xdb, 0x83, 0xe9, 0xda, 0xec, 0xdd, 0xb2, 0xba, 0x26, 0x19, 0x43, 0x6f, 603 0x60, 0xa8, 0xf2, 0x82, 0xd5, 0x8a, 0x14, 0x65, 0xe8, 0xcd, 0xfc, 0xd8, 0xc7, 0x4f, 0x05, 0x14, 604 0xc3, 0x84, 0x4a, 0xce, 0x19, 0x55, 0xd7, 0x42, 0xb1, 0xaa, 0x25, 0x3c, 0xec, 0x6b, 0x8d, 0x5b, 605 0x46, 0x1f, 0x61, 0x4c, 0x0d, 0x7c, 0x1d, 0xfa, 0x33, 0x3f, 0x1e, 0xcd, 0x83, 0xa4, 0x4d, 0x13, 606 0xeb, 0xc5, 0xd8, 0xd6, 0x45, 0x7f, 0xfa, 0x30, 0xb6, 0x04, 0x68, 0x01, 0xa7, 0xb9, 0x50, 0x57, 607 0xb2, 0x11, 0xea, 0xb1, 0x12, 0x7a, 0x33, 0x2f, 0x1e, 0xcd, 0x5f, 0x69, 0xd6, 0xb5, 0xd5, 0x5a, 608 0xf5, 0xb0, 0x23, 0x46, 0x97, 0x30, 0xe1, 0x52, 0x64, 0xa6, 0xbf, 0xaf, 0xfd, 0x53, 0xed, 0xbf, 609 0xb1, 0x7b, 0xab, 0x1e, 0x76, 0xe5, 0x5d, 0x80, 0xaf, 0xa4, 0xc9, 0x58, 0x07, 0xf0, 0xed, 0x00, 610 0x46, 0xab, 0x0b, 0x60, 0x54, 0xb6, 0x01, 0x4c, 0xff, 0x91, 0x13, 0xc0, 0x06, 0xb8, 0x72, 0xf4, 611 0x05, 0x82, 0x7b, 0xd9, 0x6c, 0x38, 0x33, 0x19, 0x03, 0xcd, 0x38, 0xd7, 0x8c, 0xcf, 0xb2, 0xb1, 612 0x9a, 0xab, 0x1e, 0x7e, 0xee, 0x58, 0xbe, 0x80, 0xc1, 0xaf, 0x9c, 0xf1, 0xfb, 0xe8, 0x06, 0x26, 613 0xce, 0xdc, 0x10, 0x82, 0x23, 0x41, 0x0a, 0xa6, 0x47, 0x3b, 0xc4, 0xfa, 0x19, 0xbd, 0x83, 0xe3, 614 0x96, 0xf0, 0x86, 0xd5, 0xfa, 0x90, 0x47, 0xf3, 0xf1, 0x76, 0xbf, 0x3f, 0x1e, 0xaa, 0xb8, 0x6b, 615 0x46, 0x77, 0x70, 0xe6, 0x4e, 0x71, 0x2f, 0xee, 0xbd, 0x83, 0x3b, 0xdd, 0x6d, 0xdf, 0xe6, 0x75, 616 0xe9, 0xcc, 0x01, 0xfc, 0x87, 0x74, 0xff, 0xc2, 0x1d, 0x9a, 0xee, 0x1b, 0x04, 0xcf, 0xc6, 0xbd, 617 0x17, 0x18, 0x3b, 0xc0, 0xb3, 0xed, 0x49, 0x6d, 0x38, 0xb3, 0x91, 0x0b, 0x18, 0xee, 0x72, 0xa3, 618 0x29, 0x0c, 0x74, 0x59, 0xb3, 0x06, 0xf8, 0x71, 0x81, 0x5e, 0xc3, 0x49, 0x5e, 0xdf, 0x49, 0xf5, 619 0x9d, 0x29, 0xfd, 0xf5, 0x9e, 0xe0, 0xdd, 0x3a, 0xfa, 0x04, 0xf0, 0x94, 0xd3, 0xf6, 0xfb, 0x87, 620 0xf8, 0x2f, 0xe1, 0xa5, 0x19, 0xcb, 0x26, 0x78, 0x07, 0x10, 0x96, 0x0b, 0x78, 0x4b, 0x65, 0x91, 621 0x08, 0xd2, 0xb2, 0x8a, 0xca, 0xaa, 0x4c, 0xca, 0x5c, 0x94, 0x32, 0x17, 0x2a, 0xc9, 0xaa, 0x92, 622 0x26, 0xaa, 0x22, 0x94, 0x2d, 0x03, 0xf3, 0xa7, 0x5e, 0x3f, 0xdc, 0x44, 0x6b, 0xef, 0xa7, 0x7f, 623 0xd1, 0xa6, 0x9b, 0x63, 0x7d, 0x2f, 0x7d, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x50, 0x28, 0xfb, 624 0x36, 0xb0, 0x04, 0x00, 0x00, 625 }