github.com/pinpoint-apm/pinpoint-go-agent@v1.4.1-0.20240110120318-a50c2eb18c8c/protobuf/Annotation.proto (about) 1 syntax = "proto3"; 2 3 import "google/protobuf/wrappers.proto"; 4 5 option java_multiple_files = true; 6 option java_package = "com.navercorp.pinpoint.grpc.trace"; 7 option java_outer_classname = "AnnotationProto"; 8 option go_package = "/v1"; 9 10 package v1; 11 12 13 message PIntStringValue { 14 int32 intValue = 1; 15 google.protobuf.StringValue stringValue = 2; 16 } 17 18 message PIntStringStringValue { 19 int32 intValue = 1; 20 google.protobuf.StringValue stringValue1 = 2; 21 google.protobuf.StringValue stringValue2 = 3; 22 } 23 24 message PBytesStringStringValue { 25 bytes bytesValue = 1; 26 google.protobuf.StringValue stringValue1 = 2; 27 google.protobuf.StringValue stringValue2 = 3; 28 } 29 30 message PLongIntIntByteByteStringValue { 31 int64 longValue = 1; 32 int32 intValue1 = 2; 33 int32 intValue2 = 3; 34 sint32 byteValue1 = 4; 35 sint32 byteValue2 = 5; 36 google.protobuf.StringValue stringValue = 6; 37 } 38 39 message PIntBooleanIntBooleanValue { 40 int32 intValue1 = 1; 41 bool boolValue1 = 2; 42 int32 intValue2 = 3; 43 bool boolValue2 = 4; 44 } 45 46 message PStringStringValue { 47 google.protobuf.StringValue stringValue1 = 1; 48 google.protobuf.StringValue stringValue2 = 2; 49 } 50 51 message PAnnotationValue { 52 oneof field { 53 string stringValue = 1; 54 bool boolValue = 2; 55 int32 intValue = 3; 56 int64 longValue = 4; 57 // for compatibility 58 sint32 shortValue = 5; 59 double doubleValue = 6; 60 bytes binaryValue = 7; 61 // for compatibility 62 sint32 byteValue = 8; 63 PIntStringValue intStringValue = 9; 64 PStringStringValue stringStringValue = 10; 65 PIntStringStringValue intStringStringValue = 11; 66 PLongIntIntByteByteStringValue longIntIntByteByteStringValue = 12; 67 PIntBooleanIntBooleanValue intBooleanIntBooleanValue = 13; 68 PBytesStringStringValue bytesStringStringValue = 14; 69 } 70 } 71 72 message PAnnotation { 73 int32 key = 1; 74 PAnnotationValue value = 2; 75 }