github.com/pinpoint-apm/pinpoint-go-agent@v1.4.1-0.20240110120318-a50c2eb18c8c/protobuf/Annotation.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: v1/Annotation.proto 3 4 package v1 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 10 math "math" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24 type PIntStringValue struct { 25 IntValue int32 `protobuf:"varint,1,opt,name=intValue,proto3" json:"intValue,omitempty"` 26 StringValue *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stringValue,proto3" json:"stringValue,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *PIntStringValue) Reset() { *m = PIntStringValue{} } 33 func (m *PIntStringValue) String() string { return proto.CompactTextString(m) } 34 func (*PIntStringValue) ProtoMessage() {} 35 func (*PIntStringValue) Descriptor() ([]byte, []int) { 36 return fileDescriptor_abe607a737cbfdf8, []int{0} 37 } 38 39 func (m *PIntStringValue) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_PIntStringValue.Unmarshal(m, b) 41 } 42 func (m *PIntStringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_PIntStringValue.Marshal(b, m, deterministic) 44 } 45 func (m *PIntStringValue) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_PIntStringValue.Merge(m, src) 47 } 48 func (m *PIntStringValue) XXX_Size() int { 49 return xxx_messageInfo_PIntStringValue.Size(m) 50 } 51 func (m *PIntStringValue) XXX_DiscardUnknown() { 52 xxx_messageInfo_PIntStringValue.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_PIntStringValue proto.InternalMessageInfo 56 57 func (m *PIntStringValue) GetIntValue() int32 { 58 if m != nil { 59 return m.IntValue 60 } 61 return 0 62 } 63 64 func (m *PIntStringValue) GetStringValue() *wrapperspb.StringValue { 65 if m != nil { 66 return m.StringValue 67 } 68 return nil 69 } 70 71 type PIntStringStringValue struct { 72 IntValue int32 `protobuf:"varint,1,opt,name=intValue,proto3" json:"intValue,omitempty"` 73 StringValue1 *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stringValue1,proto3" json:"stringValue1,omitempty"` 74 StringValue2 *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=stringValue2,proto3" json:"stringValue2,omitempty"` 75 XXX_NoUnkeyedLiteral struct{} `json:"-"` 76 XXX_unrecognized []byte `json:"-"` 77 XXX_sizecache int32 `json:"-"` 78 } 79 80 func (m *PIntStringStringValue) Reset() { *m = PIntStringStringValue{} } 81 func (m *PIntStringStringValue) String() string { return proto.CompactTextString(m) } 82 func (*PIntStringStringValue) ProtoMessage() {} 83 func (*PIntStringStringValue) Descriptor() ([]byte, []int) { 84 return fileDescriptor_abe607a737cbfdf8, []int{1} 85 } 86 87 func (m *PIntStringStringValue) XXX_Unmarshal(b []byte) error { 88 return xxx_messageInfo_PIntStringStringValue.Unmarshal(m, b) 89 } 90 func (m *PIntStringStringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 91 return xxx_messageInfo_PIntStringStringValue.Marshal(b, m, deterministic) 92 } 93 func (m *PIntStringStringValue) XXX_Merge(src proto.Message) { 94 xxx_messageInfo_PIntStringStringValue.Merge(m, src) 95 } 96 func (m *PIntStringStringValue) XXX_Size() int { 97 return xxx_messageInfo_PIntStringStringValue.Size(m) 98 } 99 func (m *PIntStringStringValue) XXX_DiscardUnknown() { 100 xxx_messageInfo_PIntStringStringValue.DiscardUnknown(m) 101 } 102 103 var xxx_messageInfo_PIntStringStringValue proto.InternalMessageInfo 104 105 func (m *PIntStringStringValue) GetIntValue() int32 { 106 if m != nil { 107 return m.IntValue 108 } 109 return 0 110 } 111 112 func (m *PIntStringStringValue) GetStringValue1() *wrapperspb.StringValue { 113 if m != nil { 114 return m.StringValue1 115 } 116 return nil 117 } 118 119 func (m *PIntStringStringValue) GetStringValue2() *wrapperspb.StringValue { 120 if m != nil { 121 return m.StringValue2 122 } 123 return nil 124 } 125 126 type PBytesStringStringValue struct { 127 BytesValue []byte `protobuf:"bytes,1,opt,name=bytesValue,proto3" json:"bytesValue,omitempty"` 128 StringValue1 *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stringValue1,proto3" json:"stringValue1,omitempty"` 129 StringValue2 *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=stringValue2,proto3" json:"stringValue2,omitempty"` 130 XXX_NoUnkeyedLiteral struct{} `json:"-"` 131 XXX_unrecognized []byte `json:"-"` 132 XXX_sizecache int32 `json:"-"` 133 } 134 135 func (m *PBytesStringStringValue) Reset() { *m = PBytesStringStringValue{} } 136 func (m *PBytesStringStringValue) String() string { return proto.CompactTextString(m) } 137 func (*PBytesStringStringValue) ProtoMessage() {} 138 func (*PBytesStringStringValue) Descriptor() ([]byte, []int) { 139 return fileDescriptor_abe607a737cbfdf8, []int{2} 140 } 141 142 func (m *PBytesStringStringValue) XXX_Unmarshal(b []byte) error { 143 return xxx_messageInfo_PBytesStringStringValue.Unmarshal(m, b) 144 } 145 func (m *PBytesStringStringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 146 return xxx_messageInfo_PBytesStringStringValue.Marshal(b, m, deterministic) 147 } 148 func (m *PBytesStringStringValue) XXX_Merge(src proto.Message) { 149 xxx_messageInfo_PBytesStringStringValue.Merge(m, src) 150 } 151 func (m *PBytesStringStringValue) XXX_Size() int { 152 return xxx_messageInfo_PBytesStringStringValue.Size(m) 153 } 154 func (m *PBytesStringStringValue) XXX_DiscardUnknown() { 155 xxx_messageInfo_PBytesStringStringValue.DiscardUnknown(m) 156 } 157 158 var xxx_messageInfo_PBytesStringStringValue proto.InternalMessageInfo 159 160 func (m *PBytesStringStringValue) GetBytesValue() []byte { 161 if m != nil { 162 return m.BytesValue 163 } 164 return nil 165 } 166 167 func (m *PBytesStringStringValue) GetStringValue1() *wrapperspb.StringValue { 168 if m != nil { 169 return m.StringValue1 170 } 171 return nil 172 } 173 174 func (m *PBytesStringStringValue) GetStringValue2() *wrapperspb.StringValue { 175 if m != nil { 176 return m.StringValue2 177 } 178 return nil 179 } 180 181 type PLongIntIntByteByteStringValue struct { 182 LongValue int64 `protobuf:"varint,1,opt,name=longValue,proto3" json:"longValue,omitempty"` 183 IntValue1 int32 `protobuf:"varint,2,opt,name=intValue1,proto3" json:"intValue1,omitempty"` 184 IntValue2 int32 `protobuf:"varint,3,opt,name=intValue2,proto3" json:"intValue2,omitempty"` 185 ByteValue1 int32 `protobuf:"zigzag32,4,opt,name=byteValue1,proto3" json:"byteValue1,omitempty"` 186 ByteValue2 int32 `protobuf:"zigzag32,5,opt,name=byteValue2,proto3" json:"byteValue2,omitempty"` 187 StringValue *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=stringValue,proto3" json:"stringValue,omitempty"` 188 XXX_NoUnkeyedLiteral struct{} `json:"-"` 189 XXX_unrecognized []byte `json:"-"` 190 XXX_sizecache int32 `json:"-"` 191 } 192 193 func (m *PLongIntIntByteByteStringValue) Reset() { *m = PLongIntIntByteByteStringValue{} } 194 func (m *PLongIntIntByteByteStringValue) String() string { return proto.CompactTextString(m) } 195 func (*PLongIntIntByteByteStringValue) ProtoMessage() {} 196 func (*PLongIntIntByteByteStringValue) Descriptor() ([]byte, []int) { 197 return fileDescriptor_abe607a737cbfdf8, []int{3} 198 } 199 200 func (m *PLongIntIntByteByteStringValue) XXX_Unmarshal(b []byte) error { 201 return xxx_messageInfo_PLongIntIntByteByteStringValue.Unmarshal(m, b) 202 } 203 func (m *PLongIntIntByteByteStringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 204 return xxx_messageInfo_PLongIntIntByteByteStringValue.Marshal(b, m, deterministic) 205 } 206 func (m *PLongIntIntByteByteStringValue) XXX_Merge(src proto.Message) { 207 xxx_messageInfo_PLongIntIntByteByteStringValue.Merge(m, src) 208 } 209 func (m *PLongIntIntByteByteStringValue) XXX_Size() int { 210 return xxx_messageInfo_PLongIntIntByteByteStringValue.Size(m) 211 } 212 func (m *PLongIntIntByteByteStringValue) XXX_DiscardUnknown() { 213 xxx_messageInfo_PLongIntIntByteByteStringValue.DiscardUnknown(m) 214 } 215 216 var xxx_messageInfo_PLongIntIntByteByteStringValue proto.InternalMessageInfo 217 218 func (m *PLongIntIntByteByteStringValue) GetLongValue() int64 { 219 if m != nil { 220 return m.LongValue 221 } 222 return 0 223 } 224 225 func (m *PLongIntIntByteByteStringValue) GetIntValue1() int32 { 226 if m != nil { 227 return m.IntValue1 228 } 229 return 0 230 } 231 232 func (m *PLongIntIntByteByteStringValue) GetIntValue2() int32 { 233 if m != nil { 234 return m.IntValue2 235 } 236 return 0 237 } 238 239 func (m *PLongIntIntByteByteStringValue) GetByteValue1() int32 { 240 if m != nil { 241 return m.ByteValue1 242 } 243 return 0 244 } 245 246 func (m *PLongIntIntByteByteStringValue) GetByteValue2() int32 { 247 if m != nil { 248 return m.ByteValue2 249 } 250 return 0 251 } 252 253 func (m *PLongIntIntByteByteStringValue) GetStringValue() *wrapperspb.StringValue { 254 if m != nil { 255 return m.StringValue 256 } 257 return nil 258 } 259 260 type PIntBooleanIntBooleanValue struct { 261 IntValue1 int32 `protobuf:"varint,1,opt,name=intValue1,proto3" json:"intValue1,omitempty"` 262 BoolValue1 bool `protobuf:"varint,2,opt,name=boolValue1,proto3" json:"boolValue1,omitempty"` 263 IntValue2 int32 `protobuf:"varint,3,opt,name=intValue2,proto3" json:"intValue2,omitempty"` 264 BoolValue2 bool `protobuf:"varint,4,opt,name=boolValue2,proto3" json:"boolValue2,omitempty"` 265 XXX_NoUnkeyedLiteral struct{} `json:"-"` 266 XXX_unrecognized []byte `json:"-"` 267 XXX_sizecache int32 `json:"-"` 268 } 269 270 func (m *PIntBooleanIntBooleanValue) Reset() { *m = PIntBooleanIntBooleanValue{} } 271 func (m *PIntBooleanIntBooleanValue) String() string { return proto.CompactTextString(m) } 272 func (*PIntBooleanIntBooleanValue) ProtoMessage() {} 273 func (*PIntBooleanIntBooleanValue) Descriptor() ([]byte, []int) { 274 return fileDescriptor_abe607a737cbfdf8, []int{4} 275 } 276 277 func (m *PIntBooleanIntBooleanValue) XXX_Unmarshal(b []byte) error { 278 return xxx_messageInfo_PIntBooleanIntBooleanValue.Unmarshal(m, b) 279 } 280 func (m *PIntBooleanIntBooleanValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 281 return xxx_messageInfo_PIntBooleanIntBooleanValue.Marshal(b, m, deterministic) 282 } 283 func (m *PIntBooleanIntBooleanValue) XXX_Merge(src proto.Message) { 284 xxx_messageInfo_PIntBooleanIntBooleanValue.Merge(m, src) 285 } 286 func (m *PIntBooleanIntBooleanValue) XXX_Size() int { 287 return xxx_messageInfo_PIntBooleanIntBooleanValue.Size(m) 288 } 289 func (m *PIntBooleanIntBooleanValue) XXX_DiscardUnknown() { 290 xxx_messageInfo_PIntBooleanIntBooleanValue.DiscardUnknown(m) 291 } 292 293 var xxx_messageInfo_PIntBooleanIntBooleanValue proto.InternalMessageInfo 294 295 func (m *PIntBooleanIntBooleanValue) GetIntValue1() int32 { 296 if m != nil { 297 return m.IntValue1 298 } 299 return 0 300 } 301 302 func (m *PIntBooleanIntBooleanValue) GetBoolValue1() bool { 303 if m != nil { 304 return m.BoolValue1 305 } 306 return false 307 } 308 309 func (m *PIntBooleanIntBooleanValue) GetIntValue2() int32 { 310 if m != nil { 311 return m.IntValue2 312 } 313 return 0 314 } 315 316 func (m *PIntBooleanIntBooleanValue) GetBoolValue2() bool { 317 if m != nil { 318 return m.BoolValue2 319 } 320 return false 321 } 322 323 type PStringStringValue struct { 324 StringValue1 *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=stringValue1,proto3" json:"stringValue1,omitempty"` 325 StringValue2 *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stringValue2,proto3" json:"stringValue2,omitempty"` 326 XXX_NoUnkeyedLiteral struct{} `json:"-"` 327 XXX_unrecognized []byte `json:"-"` 328 XXX_sizecache int32 `json:"-"` 329 } 330 331 func (m *PStringStringValue) Reset() { *m = PStringStringValue{} } 332 func (m *PStringStringValue) String() string { return proto.CompactTextString(m) } 333 func (*PStringStringValue) ProtoMessage() {} 334 func (*PStringStringValue) Descriptor() ([]byte, []int) { 335 return fileDescriptor_abe607a737cbfdf8, []int{5} 336 } 337 338 func (m *PStringStringValue) XXX_Unmarshal(b []byte) error { 339 return xxx_messageInfo_PStringStringValue.Unmarshal(m, b) 340 } 341 func (m *PStringStringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 342 return xxx_messageInfo_PStringStringValue.Marshal(b, m, deterministic) 343 } 344 func (m *PStringStringValue) XXX_Merge(src proto.Message) { 345 xxx_messageInfo_PStringStringValue.Merge(m, src) 346 } 347 func (m *PStringStringValue) XXX_Size() int { 348 return xxx_messageInfo_PStringStringValue.Size(m) 349 } 350 func (m *PStringStringValue) XXX_DiscardUnknown() { 351 xxx_messageInfo_PStringStringValue.DiscardUnknown(m) 352 } 353 354 var xxx_messageInfo_PStringStringValue proto.InternalMessageInfo 355 356 func (m *PStringStringValue) GetStringValue1() *wrapperspb.StringValue { 357 if m != nil { 358 return m.StringValue1 359 } 360 return nil 361 } 362 363 func (m *PStringStringValue) GetStringValue2() *wrapperspb.StringValue { 364 if m != nil { 365 return m.StringValue2 366 } 367 return nil 368 } 369 370 type PAnnotationValue struct { 371 // Types that are valid to be assigned to Field: 372 // *PAnnotationValue_StringValue 373 // *PAnnotationValue_BoolValue 374 // *PAnnotationValue_IntValue 375 // *PAnnotationValue_LongValue 376 // *PAnnotationValue_ShortValue 377 // *PAnnotationValue_DoubleValue 378 // *PAnnotationValue_BinaryValue 379 // *PAnnotationValue_ByteValue 380 // *PAnnotationValue_IntStringValue 381 // *PAnnotationValue_StringStringValue 382 // *PAnnotationValue_IntStringStringValue 383 // *PAnnotationValue_LongIntIntByteByteStringValue 384 // *PAnnotationValue_IntBooleanIntBooleanValue 385 // *PAnnotationValue_BytesStringStringValue 386 Field isPAnnotationValue_Field `protobuf_oneof:"field"` 387 XXX_NoUnkeyedLiteral struct{} `json:"-"` 388 XXX_unrecognized []byte `json:"-"` 389 XXX_sizecache int32 `json:"-"` 390 } 391 392 func (m *PAnnotationValue) Reset() { *m = PAnnotationValue{} } 393 func (m *PAnnotationValue) String() string { return proto.CompactTextString(m) } 394 func (*PAnnotationValue) ProtoMessage() {} 395 func (*PAnnotationValue) Descriptor() ([]byte, []int) { 396 return fileDescriptor_abe607a737cbfdf8, []int{6} 397 } 398 399 func (m *PAnnotationValue) XXX_Unmarshal(b []byte) error { 400 return xxx_messageInfo_PAnnotationValue.Unmarshal(m, b) 401 } 402 func (m *PAnnotationValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 403 return xxx_messageInfo_PAnnotationValue.Marshal(b, m, deterministic) 404 } 405 func (m *PAnnotationValue) XXX_Merge(src proto.Message) { 406 xxx_messageInfo_PAnnotationValue.Merge(m, src) 407 } 408 func (m *PAnnotationValue) XXX_Size() int { 409 return xxx_messageInfo_PAnnotationValue.Size(m) 410 } 411 func (m *PAnnotationValue) XXX_DiscardUnknown() { 412 xxx_messageInfo_PAnnotationValue.DiscardUnknown(m) 413 } 414 415 var xxx_messageInfo_PAnnotationValue proto.InternalMessageInfo 416 417 type isPAnnotationValue_Field interface { 418 isPAnnotationValue_Field() 419 } 420 421 type PAnnotationValue_StringValue struct { 422 StringValue string `protobuf:"bytes,1,opt,name=stringValue,proto3,oneof"` 423 } 424 425 type PAnnotationValue_BoolValue struct { 426 BoolValue bool `protobuf:"varint,2,opt,name=boolValue,proto3,oneof"` 427 } 428 429 type PAnnotationValue_IntValue struct { 430 IntValue int32 `protobuf:"varint,3,opt,name=intValue,proto3,oneof"` 431 } 432 433 type PAnnotationValue_LongValue struct { 434 LongValue int64 `protobuf:"varint,4,opt,name=longValue,proto3,oneof"` 435 } 436 437 type PAnnotationValue_ShortValue struct { 438 ShortValue int32 `protobuf:"zigzag32,5,opt,name=shortValue,proto3,oneof"` 439 } 440 441 type PAnnotationValue_DoubleValue struct { 442 DoubleValue float64 `protobuf:"fixed64,6,opt,name=doubleValue,proto3,oneof"` 443 } 444 445 type PAnnotationValue_BinaryValue struct { 446 BinaryValue []byte `protobuf:"bytes,7,opt,name=binaryValue,proto3,oneof"` 447 } 448 449 type PAnnotationValue_ByteValue struct { 450 ByteValue int32 `protobuf:"zigzag32,8,opt,name=byteValue,proto3,oneof"` 451 } 452 453 type PAnnotationValue_IntStringValue struct { 454 IntStringValue *PIntStringValue `protobuf:"bytes,9,opt,name=intStringValue,proto3,oneof"` 455 } 456 457 type PAnnotationValue_StringStringValue struct { 458 StringStringValue *PStringStringValue `protobuf:"bytes,10,opt,name=stringStringValue,proto3,oneof"` 459 } 460 461 type PAnnotationValue_IntStringStringValue struct { 462 IntStringStringValue *PIntStringStringValue `protobuf:"bytes,11,opt,name=intStringStringValue,proto3,oneof"` 463 } 464 465 type PAnnotationValue_LongIntIntByteByteStringValue struct { 466 LongIntIntByteByteStringValue *PLongIntIntByteByteStringValue `protobuf:"bytes,12,opt,name=longIntIntByteByteStringValue,proto3,oneof"` 467 } 468 469 type PAnnotationValue_IntBooleanIntBooleanValue struct { 470 IntBooleanIntBooleanValue *PIntBooleanIntBooleanValue `protobuf:"bytes,13,opt,name=intBooleanIntBooleanValue,proto3,oneof"` 471 } 472 473 type PAnnotationValue_BytesStringStringValue struct { 474 BytesStringStringValue *PBytesStringStringValue `protobuf:"bytes,14,opt,name=bytesStringStringValue,proto3,oneof"` 475 } 476 477 func (*PAnnotationValue_StringValue) isPAnnotationValue_Field() {} 478 479 func (*PAnnotationValue_BoolValue) isPAnnotationValue_Field() {} 480 481 func (*PAnnotationValue_IntValue) isPAnnotationValue_Field() {} 482 483 func (*PAnnotationValue_LongValue) isPAnnotationValue_Field() {} 484 485 func (*PAnnotationValue_ShortValue) isPAnnotationValue_Field() {} 486 487 func (*PAnnotationValue_DoubleValue) isPAnnotationValue_Field() {} 488 489 func (*PAnnotationValue_BinaryValue) isPAnnotationValue_Field() {} 490 491 func (*PAnnotationValue_ByteValue) isPAnnotationValue_Field() {} 492 493 func (*PAnnotationValue_IntStringValue) isPAnnotationValue_Field() {} 494 495 func (*PAnnotationValue_StringStringValue) isPAnnotationValue_Field() {} 496 497 func (*PAnnotationValue_IntStringStringValue) isPAnnotationValue_Field() {} 498 499 func (*PAnnotationValue_LongIntIntByteByteStringValue) isPAnnotationValue_Field() {} 500 501 func (*PAnnotationValue_IntBooleanIntBooleanValue) isPAnnotationValue_Field() {} 502 503 func (*PAnnotationValue_BytesStringStringValue) isPAnnotationValue_Field() {} 504 505 func (m *PAnnotationValue) GetField() isPAnnotationValue_Field { 506 if m != nil { 507 return m.Field 508 } 509 return nil 510 } 511 512 func (m *PAnnotationValue) GetStringValue() string { 513 if x, ok := m.GetField().(*PAnnotationValue_StringValue); ok { 514 return x.StringValue 515 } 516 return "" 517 } 518 519 func (m *PAnnotationValue) GetBoolValue() bool { 520 if x, ok := m.GetField().(*PAnnotationValue_BoolValue); ok { 521 return x.BoolValue 522 } 523 return false 524 } 525 526 func (m *PAnnotationValue) GetIntValue() int32 { 527 if x, ok := m.GetField().(*PAnnotationValue_IntValue); ok { 528 return x.IntValue 529 } 530 return 0 531 } 532 533 func (m *PAnnotationValue) GetLongValue() int64 { 534 if x, ok := m.GetField().(*PAnnotationValue_LongValue); ok { 535 return x.LongValue 536 } 537 return 0 538 } 539 540 func (m *PAnnotationValue) GetShortValue() int32 { 541 if x, ok := m.GetField().(*PAnnotationValue_ShortValue); ok { 542 return x.ShortValue 543 } 544 return 0 545 } 546 547 func (m *PAnnotationValue) GetDoubleValue() float64 { 548 if x, ok := m.GetField().(*PAnnotationValue_DoubleValue); ok { 549 return x.DoubleValue 550 } 551 return 0 552 } 553 554 func (m *PAnnotationValue) GetBinaryValue() []byte { 555 if x, ok := m.GetField().(*PAnnotationValue_BinaryValue); ok { 556 return x.BinaryValue 557 } 558 return nil 559 } 560 561 func (m *PAnnotationValue) GetByteValue() int32 { 562 if x, ok := m.GetField().(*PAnnotationValue_ByteValue); ok { 563 return x.ByteValue 564 } 565 return 0 566 } 567 568 func (m *PAnnotationValue) GetIntStringValue() *PIntStringValue { 569 if x, ok := m.GetField().(*PAnnotationValue_IntStringValue); ok { 570 return x.IntStringValue 571 } 572 return nil 573 } 574 575 func (m *PAnnotationValue) GetStringStringValue() *PStringStringValue { 576 if x, ok := m.GetField().(*PAnnotationValue_StringStringValue); ok { 577 return x.StringStringValue 578 } 579 return nil 580 } 581 582 func (m *PAnnotationValue) GetIntStringStringValue() *PIntStringStringValue { 583 if x, ok := m.GetField().(*PAnnotationValue_IntStringStringValue); ok { 584 return x.IntStringStringValue 585 } 586 return nil 587 } 588 589 func (m *PAnnotationValue) GetLongIntIntByteByteStringValue() *PLongIntIntByteByteStringValue { 590 if x, ok := m.GetField().(*PAnnotationValue_LongIntIntByteByteStringValue); ok { 591 return x.LongIntIntByteByteStringValue 592 } 593 return nil 594 } 595 596 func (m *PAnnotationValue) GetIntBooleanIntBooleanValue() *PIntBooleanIntBooleanValue { 597 if x, ok := m.GetField().(*PAnnotationValue_IntBooleanIntBooleanValue); ok { 598 return x.IntBooleanIntBooleanValue 599 } 600 return nil 601 } 602 603 func (m *PAnnotationValue) GetBytesStringStringValue() *PBytesStringStringValue { 604 if x, ok := m.GetField().(*PAnnotationValue_BytesStringStringValue); ok { 605 return x.BytesStringStringValue 606 } 607 return nil 608 } 609 610 // XXX_OneofWrappers is for the internal use of the proto package. 611 func (*PAnnotationValue) XXX_OneofWrappers() []interface{} { 612 return []interface{}{ 613 (*PAnnotationValue_StringValue)(nil), 614 (*PAnnotationValue_BoolValue)(nil), 615 (*PAnnotationValue_IntValue)(nil), 616 (*PAnnotationValue_LongValue)(nil), 617 (*PAnnotationValue_ShortValue)(nil), 618 (*PAnnotationValue_DoubleValue)(nil), 619 (*PAnnotationValue_BinaryValue)(nil), 620 (*PAnnotationValue_ByteValue)(nil), 621 (*PAnnotationValue_IntStringValue)(nil), 622 (*PAnnotationValue_StringStringValue)(nil), 623 (*PAnnotationValue_IntStringStringValue)(nil), 624 (*PAnnotationValue_LongIntIntByteByteStringValue)(nil), 625 (*PAnnotationValue_IntBooleanIntBooleanValue)(nil), 626 (*PAnnotationValue_BytesStringStringValue)(nil), 627 } 628 } 629 630 type PAnnotation struct { 631 Key int32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` 632 Value *PAnnotationValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 633 XXX_NoUnkeyedLiteral struct{} `json:"-"` 634 XXX_unrecognized []byte `json:"-"` 635 XXX_sizecache int32 `json:"-"` 636 } 637 638 func (m *PAnnotation) Reset() { *m = PAnnotation{} } 639 func (m *PAnnotation) String() string { return proto.CompactTextString(m) } 640 func (*PAnnotation) ProtoMessage() {} 641 func (*PAnnotation) Descriptor() ([]byte, []int) { 642 return fileDescriptor_abe607a737cbfdf8, []int{7} 643 } 644 645 func (m *PAnnotation) XXX_Unmarshal(b []byte) error { 646 return xxx_messageInfo_PAnnotation.Unmarshal(m, b) 647 } 648 func (m *PAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 649 return xxx_messageInfo_PAnnotation.Marshal(b, m, deterministic) 650 } 651 func (m *PAnnotation) XXX_Merge(src proto.Message) { 652 xxx_messageInfo_PAnnotation.Merge(m, src) 653 } 654 func (m *PAnnotation) XXX_Size() int { 655 return xxx_messageInfo_PAnnotation.Size(m) 656 } 657 func (m *PAnnotation) XXX_DiscardUnknown() { 658 xxx_messageInfo_PAnnotation.DiscardUnknown(m) 659 } 660 661 var xxx_messageInfo_PAnnotation proto.InternalMessageInfo 662 663 func (m *PAnnotation) GetKey() int32 { 664 if m != nil { 665 return m.Key 666 } 667 return 0 668 } 669 670 func (m *PAnnotation) GetValue() *PAnnotationValue { 671 if m != nil { 672 return m.Value 673 } 674 return nil 675 } 676 677 func init() { 678 proto.RegisterType((*PIntStringValue)(nil), "v1.PIntStringValue") 679 proto.RegisterType((*PIntStringStringValue)(nil), "v1.PIntStringStringValue") 680 proto.RegisterType((*PBytesStringStringValue)(nil), "v1.PBytesStringStringValue") 681 proto.RegisterType((*PLongIntIntByteByteStringValue)(nil), "v1.PLongIntIntByteByteStringValue") 682 proto.RegisterType((*PIntBooleanIntBooleanValue)(nil), "v1.PIntBooleanIntBooleanValue") 683 proto.RegisterType((*PStringStringValue)(nil), "v1.PStringStringValue") 684 proto.RegisterType((*PAnnotationValue)(nil), "v1.PAnnotationValue") 685 proto.RegisterType((*PAnnotation)(nil), "v1.PAnnotation") 686 } 687 688 func init() { proto.RegisterFile("v1/Annotation.proto", fileDescriptor_abe607a737cbfdf8) } 689 690 var fileDescriptor_abe607a737cbfdf8 = []byte{ 691 // 648 bytes of a gzipped FileDescriptorProto 692 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4d, 0x6f, 0xd3, 0x4c, 693 0x10, 0xf6, 0x36, 0x6f, 0xda, 0x66, 0xd2, 0xb7, 0x1f, 0xdb, 0x52, 0xdc, 0x10, 0xac, 0xe0, 0x53, 694 0xc4, 0xc1, 0x51, 0xcc, 0x11, 0x81, 0x20, 0x07, 0xe4, 0x08, 0x24, 0xac, 0x45, 0x70, 0xe0, 0x80, 695 0x64, 0xa7, 0x6e, 0x30, 0xb8, 0xbb, 0x96, 0xe3, 0x18, 0xe5, 0x9f, 0x70, 0xe6, 0x4f, 0x70, 0xe2, 696 0x8f, 0x71, 0x42, 0xbb, 0x8e, 0xbb, 0x6b, 0xc7, 0x89, 0x12, 0x71, 0xe1, 0x50, 0xc9, 0x9d, 0x8f, 697 0x67, 0xe6, 0x99, 0x7d, 0x66, 0x02, 0xe7, 0xd9, 0x70, 0xf0, 0x92, 0x52, 0x96, 0x7a, 0x69, 0xc8, 698 0xa8, 0x15, 0x27, 0x2c, 0x65, 0x78, 0x2f, 0x1b, 0x76, 0x8c, 0x29, 0x63, 0xd3, 0x28, 0x18, 0x08, 699 0x8b, 0x3f, 0xbf, 0x19, 0x7c, 0x4b, 0xbc, 0x38, 0x0e, 0x92, 0x59, 0x1e, 0x63, 0xde, 0xc2, 0x89, 700 0x3b, 0xa6, 0xe9, 0xbb, 0x34, 0x09, 0xe9, 0xf4, 0x83, 0x17, 0xcd, 0x03, 0xdc, 0x81, 0xc3, 0x90, 701 0xa6, 0xe2, 0x5b, 0x47, 0x3d, 0xd4, 0x6f, 0x92, 0xbb, 0xff, 0xf1, 0x73, 0x68, 0xcf, 0x64, 0xa8, 702 0xbe, 0xd7, 0x43, 0xfd, 0xb6, 0xdd, 0xb5, 0xf2, 0x22, 0x56, 0x51, 0xc4, 0x52, 0xe0, 0x88, 0x9a, 703 0x60, 0xfe, 0x44, 0x70, 0x4f, 0xd6, 0xdb, 0xb6, 0xea, 0x0b, 0x38, 0x52, 0x40, 0x86, 0x5b, 0x95, 704 0x2d, 0x65, 0x54, 0x10, 0x6c, 0xbd, 0xb1, 0x23, 0x82, 0x6d, 0xfe, 0x42, 0x70, 0xdf, 0x1d, 0x2d, 705 0xd2, 0x60, 0xb6, 0xda, 0xbb, 0x01, 0xe0, 0x73, 0x8f, 0xec, 0xfe, 0x88, 0x28, 0x96, 0x7f, 0xa2, 706 0xff, 0xdf, 0x08, 0x0c, 0xf7, 0x0d, 0xa3, 0xd3, 0x31, 0x4d, 0xc7, 0x34, 0xe5, 0x4c, 0xf8, 0x9f, 707 0x4a, 0xa3, 0x0b, 0xad, 0x88, 0x15, 0x4f, 0xcb, 0x59, 0x34, 0x88, 0x34, 0x70, 0x6f, 0xf1, 0x20, 708 0x39, 0x83, 0x26, 0x91, 0x06, 0xd5, 0x9b, 0x77, 0xa7, 0x78, 0xed, 0x62, 0x40, 0xcb, 0xe4, 0xff, 709 0x7a, 0xa8, 0x7f, 0x46, 0x14, 0x4b, 0xc9, 0x6f, 0xeb, 0xcd, 0x8a, 0xdf, 0xae, 0xca, 0x6e, 0x7f, 710 0x57, 0xd9, 0x7d, 0x47, 0xd0, 0xe1, 0xb2, 0x1b, 0x31, 0x16, 0x05, 0x1e, 0x95, 0x5f, 0x35, 0xd4, 711 0x50, 0x95, 0x1a, 0x6f, 0x8e, 0xb1, 0x48, 0x61, 0x7e, 0x48, 0x14, 0xcb, 0x16, 0xd4, 0x8b, 0x58, 712 0x5b, 0x50, 0x57, 0xb3, 0x6d, 0xde, 0x1a, 0x76, 0x57, 0x25, 0x55, 0x95, 0x0c, 0xfa, 0x6b, 0xc9, 713 0xec, 0xed, 0x2c, 0x99, 0x1f, 0xfb, 0x70, 0xea, 0xca, 0xab, 0x92, 0x37, 0x66, 0x96, 0x9f, 0x82, 714 0xf7, 0xd5, 0x72, 0xb4, 0xd2, 0xb8, 0xb1, 0x01, 0xad, 0x3b, 0x86, 0xf9, 0xc0, 0x1c, 0x8d, 0x48, 715 0x13, 0xee, 0x2a, 0xbb, 0x2e, 0x06, 0xe6, 0x68, 0xca, 0xb6, 0x1b, 0xaa, 0x0c, 0xf9, 0xc0, 0x1a, 716 0x3c, 0x5b, 0x0a, 0xb1, 0x07, 0x30, 0xfb, 0xcc, 0x92, 0x65, 0xbe, 0x10, 0x8b, 0xa3, 0x11, 0xc5, 717 0xc6, 0x7b, 0xbc, 0x66, 0x73, 0x3f, 0x0a, 0xa4, 0x5c, 0x10, 0xef, 0x51, 0x31, 0xf2, 0x18, 0x3f, 718 0xa4, 0x5e, 0xb2, 0xc8, 0x63, 0x0e, 0xf8, 0xd2, 0xf2, 0x18, 0xc5, 0x28, 0x78, 0x14, 0x22, 0xd4, 719 0x0f, 0x97, 0x85, 0xa4, 0x09, 0x3f, 0x83, 0xe3, 0xb0, 0x74, 0x3b, 0xf5, 0x96, 0x18, 0xf2, 0xb9, 720 0x95, 0x0d, 0xad, 0xca, 0x59, 0x75, 0x34, 0x52, 0x09, 0xc6, 0xaf, 0xe0, 0x6c, 0x56, 0x7d, 0x78, 721 0x1d, 0x04, 0xc2, 0xa5, 0x40, 0x58, 0x91, 0x85, 0xa3, 0x91, 0xd5, 0x14, 0xfc, 0x16, 0x2e, 0xc2, 722 0x9a, 0x93, 0xaa, 0xb7, 0x05, 0xd4, 0x55, 0xb9, 0x99, 0x32, 0x5a, 0x6d, 0x22, 0xfe, 0x02, 0x0f, 723 0xa3, 0x4d, 0x97, 0x42, 0x3f, 0x12, 0xc8, 0xa6, 0x40, 0xde, 0x78, 0x53, 0x1c, 0x8d, 0x6c, 0x86, 724 0xc2, 0x9f, 0xe0, 0x2a, 0x5c, 0xb7, 0x98, 0xfa, 0xff, 0xa2, 0x8e, 0x51, 0x30, 0xa8, 0x8f, 0x72, 725 0x34, 0xb2, 0x1e, 0x02, 0xbf, 0x87, 0x4b, 0xbf, 0xf6, 0x6a, 0xeb, 0xc7, 0x02, 0xfc, 0x81, 0x00, 726 0xaf, 0x3f, 0xec, 0x8e, 0x46, 0xd6, 0x24, 0x8f, 0x0e, 0xa0, 0x79, 0x13, 0x06, 0xd1, 0xb5, 0xf9, 727 0x1a, 0xda, 0xca, 0x8e, 0xe0, 0x53, 0x68, 0x7c, 0x0d, 0x16, 0xcb, 0x23, 0xc2, 0x3f, 0xf1, 0x63, 728 0x68, 0x66, 0xca, 0x8f, 0xe5, 0x85, 0xa8, 0x57, 0xd9, 0x2a, 0x92, 0x87, 0x8c, 0x9e, 0xc2, 0xa3, 729 0x09, 0xbb, 0xb5, 0xa8, 0x97, 0x05, 0xc9, 0x84, 0x25, 0xb1, 0x15, 0x87, 0x34, 0x66, 0x21, 0x4d, 730 0xad, 0x69, 0x12, 0x4f, 0xac, 0x34, 0xf1, 0x26, 0xc1, 0xe8, 0x44, 0x26, 0xbb, 0x7c, 0x89, 0x5d, 731 0xf4, 0xb1, 0x31, 0xc8, 0x86, 0xfe, 0xbe, 0x58, 0xe9, 0x27, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 732 0x89, 0x16, 0xb5, 0x26, 0x0c, 0x08, 0x00, 0x00, 733 }