diff --git a/buf.gen.yaml b/buf.gen.yaml index 0d9b5543475..25e0d31fa0e 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -8,7 +8,7 @@ managed: plugins: # renovate: datasource=github-releases depName=protocolbuffers/protobuf-go - - plugin: buf.build/protocolbuffers/go:v1.33.0 + - plugin: buf.build/protocolbuffers/go:v1.36.4 out: gen/proto/go opt: paths=source_relative diff --git a/gen/proto/go/google/api/annotations.pb.go b/gen/proto/go/google/api/annotations.pb.go index a793f30ff4f..3462b2bc8a8 100644 --- a/gen/proto/go/google/api/annotations.pb.go +++ b/gen/proto/go/google/api/annotations.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: google/api/annotations.proto @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -55,7 +56,7 @@ var ( var File_google_api_annotations_proto protoreflect.FileDescriptor -var file_google_api_annotations_proto_rawDesc = []byte{ +var file_google_api_annotations_proto_rawDesc = string([]byte{ 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67, @@ -79,9 +80,9 @@ var file_google_api_annotations_proto_rawDesc = []byte{ 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_google_api_annotations_proto_goTypes = []interface{}{ +var file_google_api_annotations_proto_goTypes = []any{ (*descriptorpb.MethodOptions)(nil), // 0: google.protobuf.MethodOptions (*HttpRule)(nil), // 1: google.api.HttpRule } @@ -105,7 +106,7 @@ func file_google_api_annotations_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_api_annotations_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_api_annotations_proto_rawDesc), len(file_google_api_annotations_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 1, @@ -116,7 +117,6 @@ func file_google_api_annotations_proto_init() { ExtensionInfos: file_google_api_annotations_proto_extTypes, }.Build() File_google_api_annotations_proto = out.File - file_google_api_annotations_proto_rawDesc = nil file_google_api_annotations_proto_goTypes = nil file_google_api_annotations_proto_depIdxs = nil } diff --git a/gen/proto/go/google/api/http.pb.go b/gen/proto/go/google/api/http.pb.go index a5f856d79b2..713033b59b8 100644 --- a/gen/proto/go/google/api/http.pb.go +++ b/gen/proto/go/google/api/http.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: google/api/http.proto @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -38,10 +39,7 @@ const ( // [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method // to one or more HTTP REST API methods. type Http struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A list of HTTP configuration rules that apply to individual API methods. // // **NOTE:** All service configuration rules follow "last one wins" order. @@ -53,15 +51,15 @@ type Http struct { // The default behavior is to not decode RFC 6570 reserved characters in multi // segment matches. FullyDecodeReservedExpansion bool `protobuf:"varint,2,opt,name=fully_decode_reserved_expansion,json=fullyDecodeReservedExpansion,proto3" json:"fully_decode_reserved_expansion,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Http) Reset() { *x = Http{} - if protoimpl.UnsafeEnabled { - mi := &file_google_api_http_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_api_http_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Http) String() string { @@ -72,7 +70,7 @@ func (*Http) ProtoMessage() {} func (x *Http) ProtoReflect() protoreflect.Message { mi := &file_google_api_http_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,10 +363,7 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // the request or response body to a repeated field. However, some gRPC // Transcoding implementations may not support this feature. type HttpRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Selects a method to which this rule applies. // // Refer to [selector][google.api.DocumentationRule.selector] for syntax @@ -378,7 +373,7 @@ type HttpRule struct { // used with any of the {get|put|post|delete|patch} methods. A custom method // can be defined using the 'custom' field. // - // Types that are assignable to Pattern: + // Types that are valid to be assigned to Pattern: // // *HttpRule_Get // *HttpRule_Put @@ -405,15 +400,15 @@ type HttpRule struct { // not contain an `additional_bindings` field themselves (that is, // the nesting may only be one level deep). AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HttpRule) Reset() { *x = HttpRule{} - if protoimpl.UnsafeEnabled { - mi := &file_google_api_http_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_api_http_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HttpRule) String() string { @@ -424,7 +419,7 @@ func (*HttpRule) ProtoMessage() {} func (x *HttpRule) ProtoReflect() protoreflect.Message { mi := &file_google_api_http_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -446,51 +441,63 @@ func (x *HttpRule) GetSelector() string { return "" } -func (m *HttpRule) GetPattern() isHttpRule_Pattern { - if m != nil { - return m.Pattern +func (x *HttpRule) GetPattern() isHttpRule_Pattern { + if x != nil { + return x.Pattern } return nil } func (x *HttpRule) GetGet() string { - if x, ok := x.GetPattern().(*HttpRule_Get); ok { - return x.Get + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Get); ok { + return x.Get + } } return "" } func (x *HttpRule) GetPut() string { - if x, ok := x.GetPattern().(*HttpRule_Put); ok { - return x.Put + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Put); ok { + return x.Put + } } return "" } func (x *HttpRule) GetPost() string { - if x, ok := x.GetPattern().(*HttpRule_Post); ok { - return x.Post + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Post); ok { + return x.Post + } } return "" } func (x *HttpRule) GetDelete() string { - if x, ok := x.GetPattern().(*HttpRule_Delete); ok { - return x.Delete + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Delete); ok { + return x.Delete + } } return "" } func (x *HttpRule) GetPatch() string { - if x, ok := x.GetPattern().(*HttpRule_Patch); ok { - return x.Patch + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Patch); ok { + return x.Patch + } } return "" } func (x *HttpRule) GetCustom() *CustomHttpPattern { - if x, ok := x.GetPattern().(*HttpRule_Custom); ok { - return x.Custom + if x != nil { + if x, ok := x.Pattern.(*HttpRule_Custom); ok { + return x.Custom + } } return nil } @@ -568,23 +575,20 @@ func (*HttpRule_Custom) isHttpRule_Pattern() {} // A custom pattern is used for defining custom HTTP verb. type CustomHttpPattern struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of this custom HTTP verb. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The path matched by this custom verb. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CustomHttpPattern) Reset() { *x = CustomHttpPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_google_api_http_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_api_http_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CustomHttpPattern) String() string { @@ -595,7 +599,7 @@ func (*CustomHttpPattern) ProtoMessage() {} func (x *CustomHttpPattern) ProtoReflect() protoreflect.Message { mi := &file_google_api_http_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -626,7 +630,7 @@ func (x *CustomHttpPattern) GetPath() string { var File_google_api_http_proto protoreflect.FileDescriptor -var file_google_api_http_proto_rawDesc = []byte{ +var file_google_api_http_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x79, 0x0a, 0x04, 0x48, 0x74, 0x74, 0x70, 0x12, 0x2a, 0x0a, 0x05, 0x72, @@ -674,22 +678,22 @@ var file_google_api_http_proto_rawDesc = []byte{ 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_api_http_proto_rawDescOnce sync.Once - file_google_api_http_proto_rawDescData = file_google_api_http_proto_rawDesc + file_google_api_http_proto_rawDescData []byte ) func file_google_api_http_proto_rawDescGZIP() []byte { file_google_api_http_proto_rawDescOnce.Do(func() { - file_google_api_http_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_http_proto_rawDescData) + file_google_api_http_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_api_http_proto_rawDesc), len(file_google_api_http_proto_rawDesc))) }) return file_google_api_http_proto_rawDescData } var file_google_api_http_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_google_api_http_proto_goTypes = []interface{}{ +var file_google_api_http_proto_goTypes = []any{ (*Http)(nil), // 0: google.api.Http (*HttpRule)(nil), // 1: google.api.HttpRule (*CustomHttpPattern)(nil), // 2: google.api.CustomHttpPattern @@ -710,45 +714,7 @@ func file_google_api_http_proto_init() { if File_google_api_http_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_google_api_http_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Http); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_api_http_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HttpRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_api_http_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomHttpPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_google_api_http_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_google_api_http_proto_msgTypes[1].OneofWrappers = []any{ (*HttpRule_Get)(nil), (*HttpRule_Put)(nil), (*HttpRule_Post)(nil), @@ -760,7 +726,7 @@ func file_google_api_http_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_api_http_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_api_http_proto_rawDesc), len(file_google_api_http_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -771,7 +737,6 @@ func file_google_api_http_proto_init() { MessageInfos: file_google_api_http_proto_msgTypes, }.Build() File_google_api_http_proto = out.File - file_google_api_http_proto_rawDesc = nil file_google_api_http_proto_goTypes = nil file_google_api_http_proto_depIdxs = nil } diff --git a/gen/proto/go/google/pprof/profile.pb.go b/gen/proto/go/google/pprof/profile.pb.go index 6ae10685538..c4696c99f3e 100644 --- a/gen/proto/go/google/pprof/profile.pb.go +++ b/gen/proto/go/google/pprof/profile.pb.go @@ -38,7 +38,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: google/pprof/profile.proto @@ -49,6 +49,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -59,10 +60,7 @@ const ( ) type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A description of the samples associated with each Sample.value. // For a cpu profile this might be: // @@ -108,15 +106,15 @@ type Profile struct { // Index into the string table of the type of the preferred sample // value. If unset, clients should default to the last sample value. DefaultSampleType int64 `protobuf:"varint,14,opt,name=default_sample_type,json=defaultSampleType,proto3" json:"default_sample_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -127,7 +125,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,21 +240,18 @@ func (x *Profile) GetDefaultSampleType() int64 { // ValueType describes the semantics and measurement units of a value. type ValueType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Index into string table. + Unit int64 `protobuf:"varint,2,opt,name=unit,proto3" json:"unit,omitempty"` // Index into string table. unknownFields protoimpl.UnknownFields - - Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Index into string table. - Unit int64 `protobuf:"varint,2,opt,name=unit,proto3" json:"unit,omitempty"` // Index into string table. + sizeCache protoimpl.SizeCache } func (x *ValueType) Reset() { *x = ValueType{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValueType) String() string { @@ -267,7 +262,7 @@ func (*ValueType) ProtoMessage() {} func (x *ValueType) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,10 +296,7 @@ func (x *ValueType) GetUnit() int64 { // augmented with auxiliary information like the thread-id, some // indicator of a higher level request being handled etc. type Sample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ids recorded here correspond to a Profile.location.id. // The leaf is at location_id[0]. LocationId []uint64 `protobuf:"varint,1,rep,packed,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` @@ -317,16 +309,16 @@ type Sample struct { Value []int64 `protobuf:"varint,2,rep,packed,name=value,proto3" json:"value,omitempty"` // label includes additional context for this sample. It can include // things like a thread id, allocation size, etc - Label []*Label `protobuf:"bytes,3,rep,name=label,proto3" json:"label,omitempty"` + Label []*Label `protobuf:"bytes,3,rep,name=label,proto3" json:"label,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Sample) Reset() { *x = Sample{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Sample) String() string { @@ -337,7 +329,7 @@ func (*Sample) ProtoMessage() {} func (x *Sample) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +366,8 @@ func (x *Sample) GetLabel() []*Label { } type Label struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` // Index into string table + state protoimpl.MessageState `protogen:"open.v1"` + Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` // Index into string table // At most one of the following must be present Str int64 `protobuf:"varint,2,opt,name=str,proto3" json:"str,omitempty"` // Index into string table Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` @@ -389,16 +378,16 @@ type Label struct { // Consumers may also interpret units like "bytes" and "kilobytes" as memory // units and units like "seconds" and "nanoseconds" as time units, // and apply appropriate unit conversions to these. - NumUnit int64 `protobuf:"varint,4,opt,name=num_unit,json=numUnit,proto3" json:"num_unit,omitempty"` // Index into string table + NumUnit int64 `protobuf:"varint,4,opt,name=num_unit,json=numUnit,proto3" json:"num_unit,omitempty"` // Index into string table + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Label) Reset() { *x = Label{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Label) String() string { @@ -409,7 +398,7 @@ func (*Label) ProtoMessage() {} func (x *Label) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -453,10 +442,7 @@ func (x *Label) GetNumUnit() int64 { } type Mapping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique nonzero id for the mapping. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Address at which the binary (or DLL) is loaded into memory. @@ -478,15 +464,15 @@ type Mapping struct { HasFilenames bool `protobuf:"varint,8,opt,name=has_filenames,json=hasFilenames,proto3" json:"has_filenames,omitempty"` HasLineNumbers bool `protobuf:"varint,9,opt,name=has_line_numbers,json=hasLineNumbers,proto3" json:"has_line_numbers,omitempty"` HasInlineFrames bool `protobuf:"varint,10,opt,name=has_inline_frames,json=hasInlineFrames,proto3" json:"has_inline_frames,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Mapping) Reset() { *x = Mapping{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Mapping) String() string { @@ -497,7 +483,7 @@ func (*Mapping) ProtoMessage() {} func (x *Mapping) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -584,10 +570,7 @@ func (x *Mapping) GetHasInlineFrames() bool { // Describes function and line table debug information. type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique nonzero id for the location. A profile could use // instruction addresses or any integer sequence as ids. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` @@ -615,16 +598,16 @@ type Location struct { // case the line information above represents one of the multiple // symbols. This field must be recomputed when the symbolization state of the // profile changes. - IsFolded bool `protobuf:"varint,5,opt,name=is_folded,json=isFolded,proto3" json:"is_folded,omitempty"` + IsFolded bool `protobuf:"varint,5,opt,name=is_folded,json=isFolded,proto3" json:"is_folded,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Location) Reset() { *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Location) String() string { @@ -635,7 +618,7 @@ func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,23 +669,20 @@ func (x *Location) GetIsFolded() bool { } type Line struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The id of the corresponding profile.Function for this line. FunctionId uint64 `protobuf:"varint,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // Line number in source code. - Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` + Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Line) Reset() { *x = Line{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Line) String() string { @@ -713,7 +693,7 @@ func (*Line) ProtoMessage() {} func (x *Line) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -743,10 +723,7 @@ func (x *Line) GetLine() int64 { } type Function struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique nonzero id for the function. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the function, in human-readable form if available. @@ -757,16 +734,16 @@ type Function struct { // Source file containing the function. Filename int64 `protobuf:"varint,4,opt,name=filename,proto3" json:"filename,omitempty"` // Index into string table // Line number in source file. - StartLine int64 `protobuf:"varint,5,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` + StartLine int64 `protobuf:"varint,5,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Function) Reset() { *x = Function{} - if protoimpl.UnsafeEnabled { - mi := &file_google_pprof_profile_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_google_pprof_profile_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Function) String() string { @@ -777,7 +754,7 @@ func (*Function) ProtoMessage() {} func (x *Function) ProtoReflect() protoreflect.Message { mi := &file_google_pprof_profile_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -829,7 +806,7 @@ func (x *Function) GetStartLine() int64 { var File_google_pprof_profile_proto protoreflect.FileDescriptor -var file_google_pprof_profile_proto_rawDesc = []byte{ +var file_google_pprof_profile_proto_rawDesc = string([]byte{ 0x0a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x70, 0x72, 0x6f, 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x65, 0x72, 0x66, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, @@ -946,22 +923,22 @@ var file_google_pprof_profile_proto_rawDesc = []byte{ 0x69, 0x6c, 0x65, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x65, 0x72, 0x66, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_pprof_profile_proto_rawDescOnce sync.Once - file_google_pprof_profile_proto_rawDescData = file_google_pprof_profile_proto_rawDesc + file_google_pprof_profile_proto_rawDescData []byte ) func file_google_pprof_profile_proto_rawDescGZIP() []byte { file_google_pprof_profile_proto_rawDescOnce.Do(func() { - file_google_pprof_profile_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_pprof_profile_proto_rawDescData) + file_google_pprof_profile_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_pprof_profile_proto_rawDesc), len(file_google_pprof_profile_proto_rawDesc))) }) return file_google_pprof_profile_proto_rawDescData } var file_google_pprof_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_google_pprof_profile_proto_goTypes = []interface{}{ +var file_google_pprof_profile_proto_goTypes = []any{ (*Profile)(nil), // 0: perftools.profiles.Profile (*ValueType)(nil), // 1: perftools.profiles.ValueType (*Sample)(nil), // 2: perftools.profiles.Sample @@ -992,109 +969,11 @@ func file_google_pprof_profile_proto_init() { if File_google_pprof_profile_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_google_pprof_profile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValueType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Label); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Mapping); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Line); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_pprof_profile_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Function); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_pprof_profile_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_pprof_profile_proto_rawDesc), len(file_google_pprof_profile_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -1105,7 +984,6 @@ func file_google_pprof_profile_proto_init() { MessageInfos: file_google_pprof_profile_proto_msgTypes, }.Build() File_google_pprof_profile_proto = out.File - file_google_pprof_profile_proto_rawDesc = nil file_google_pprof_profile_proto_goTypes = nil file_google_pprof_profile_proto_depIdxs = nil } diff --git a/gen/proto/go/grpc/health/v1/health.pb.go b/gen/proto/go/grpc/health/v1/health.pb.go index f7ec8eec848..6b235e4ddda 100644 --- a/gen/proto/go/grpc/health/v1/health.pb.go +++ b/gen/proto/go/grpc/health/v1/health.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: grpc/health/v1/health.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -90,20 +91,17 @@ func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { } type HealthCheckRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` unknownFields protoimpl.UnknownFields - - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HealthCheckRequest) Reset() { *x = HealthCheckRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_health_v1_health_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_health_v1_health_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthCheckRequest) String() string { @@ -114,7 +112,7 @@ func (*HealthCheckRequest) ProtoMessage() {} func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message { mi := &file_grpc_health_v1_health_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -137,20 +135,17 @@ func (x *HealthCheckRequest) GetService() string { } type HealthCheckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.health.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.health.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HealthCheckResponse) Reset() { *x = HealthCheckResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_health_v1_health_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_health_v1_health_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthCheckResponse) String() string { @@ -161,7 +156,7 @@ func (*HealthCheckResponse) ProtoMessage() {} func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message { mi := &file_grpc_health_v1_health_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -185,7 +180,7 @@ func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus { var File_grpc_health_v1_health_proto protoreflect.FileDescriptor -var file_grpc_health_v1_health_proto_rawDesc = []byte{ +var file_grpc_health_v1_health_proto_rawDesc = string([]byte{ 0x0a, 0x1b, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x22, 0x2e, 0x0a, @@ -227,23 +222,23 @@ var file_grpc_health_v1_health_proto_rawDesc = []byte{ 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x47, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_grpc_health_v1_health_proto_rawDescOnce sync.Once - file_grpc_health_v1_health_proto_rawDescData = file_grpc_health_v1_health_proto_rawDesc + file_grpc_health_v1_health_proto_rawDescData []byte ) func file_grpc_health_v1_health_proto_rawDescGZIP() []byte { file_grpc_health_v1_health_proto_rawDescOnce.Do(func() { - file_grpc_health_v1_health_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_health_v1_health_proto_rawDescData) + file_grpc_health_v1_health_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc))) }) return file_grpc_health_v1_health_proto_rawDescData } var file_grpc_health_v1_health_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_grpc_health_v1_health_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_grpc_health_v1_health_proto_goTypes = []interface{}{ +var file_grpc_health_v1_health_proto_goTypes = []any{ (HealthCheckResponse_ServingStatus)(0), // 0: grpc.health.v1.HealthCheckResponse.ServingStatus (*HealthCheckRequest)(nil), // 1: grpc.health.v1.HealthCheckRequest (*HealthCheckResponse)(nil), // 2: grpc.health.v1.HealthCheckResponse @@ -266,37 +261,11 @@ func file_grpc_health_v1_health_proto_init() { if File_grpc_health_v1_health_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_grpc_health_v1_health_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealthCheckRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_health_v1_health_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealthCheckResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_health_v1_health_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc)), NumEnums: 1, NumMessages: 2, NumExtensions: 0, @@ -308,7 +277,6 @@ func file_grpc_health_v1_health_proto_init() { MessageInfos: file_grpc_health_v1_health_proto_msgTypes, }.Build() File_grpc_health_v1_health_proto = out.File - file_grpc_health_v1_health_proto_rawDesc = nil file_grpc_health_v1_health_proto_goTypes = nil file_grpc_health_v1_health_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go b/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go index 5f3edeb2736..1c76d1ff353 100644 --- a/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go +++ b/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/debuginfo/v1alpha1/debuginfo.proto @@ -13,6 +13,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -297,10 +298,7 @@ func (DebuginfoUpload_State) EnumDescriptor() ([]byte, []int) { // ShouldInitiateUploadRequest is the request for ShouldInitiateUpload. type ShouldInitiateUploadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The build_id of the debuginfo. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // Hash of the debuginfo to upload. @@ -310,16 +308,16 @@ type ShouldInitiateUploadRequest struct { // Type of debuginfo to propose uploading. Type DebuginfoType `protobuf:"varint,4,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // Type of build ID. - BuildIdType BuildIDType `protobuf:"varint,5,opt,name=build_id_type,json=buildIdType,proto3,enum=parca.debuginfo.v1alpha1.BuildIDType" json:"build_id_type,omitempty"` + BuildIdType BuildIDType `protobuf:"varint,5,opt,name=build_id_type,json=buildIdType,proto3,enum=parca.debuginfo.v1alpha1.BuildIDType" json:"build_id_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShouldInitiateUploadRequest) Reset() { *x = ShouldInitiateUploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShouldInitiateUploadRequest) String() string { @@ -330,7 +328,7 @@ func (*ShouldInitiateUploadRequest) ProtoMessage() {} func (x *ShouldInitiateUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,23 +380,20 @@ func (x *ShouldInitiateUploadRequest) GetBuildIdType() BuildIDType { // ShouldInitiateUploadResponse is the response for ShouldInitiateUpload. type ShouldInitiateUploadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Whether an upload should be initiated or not. ShouldInitiateUpload bool `protobuf:"varint,1,opt,name=should_initiate_upload,json=shouldInitiateUpload,proto3" json:"should_initiate_upload,omitempty"` // Reason for why an upload should be initiated or not. - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShouldInitiateUploadResponse) Reset() { *x = ShouldInitiateUploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShouldInitiateUploadResponse) String() string { @@ -409,7 +404,7 @@ func (*ShouldInitiateUploadResponse) ProtoMessage() {} func (x *ShouldInitiateUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -440,10 +435,7 @@ func (x *ShouldInitiateUploadResponse) GetReason() string { // InitiateUploadRequest is the request to initiate an upload. type InitiateUploadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The build_id of the debug info to upload. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The size of the debug info to upload. @@ -455,16 +447,16 @@ type InitiateUploadRequest struct { // Type of debuginfo to propose uploading. Type DebuginfoType `protobuf:"varint,5,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // Type of build ID. - BuildIdType BuildIDType `protobuf:"varint,6,opt,name=build_id_type,json=buildIdType,proto3,enum=parca.debuginfo.v1alpha1.BuildIDType" json:"build_id_type,omitempty"` + BuildIdType BuildIDType `protobuf:"varint,6,opt,name=build_id_type,json=buildIdType,proto3,enum=parca.debuginfo.v1alpha1.BuildIDType" json:"build_id_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InitiateUploadRequest) Reset() { *x = InitiateUploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InitiateUploadRequest) String() string { @@ -475,7 +467,7 @@ func (*InitiateUploadRequest) ProtoMessage() {} func (x *InitiateUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -534,21 +526,18 @@ func (x *InitiateUploadRequest) GetBuildIdType() BuildIDType { // InitiateUploadResponse is the response to an InitiateUploadRequest. type InitiateUploadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // UploadInstructions contains the instructions for the client to upload the debuginfo. UploadInstructions *UploadInstructions `protobuf:"bytes,1,opt,name=upload_instructions,json=uploadInstructions,proto3" json:"upload_instructions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InitiateUploadResponse) Reset() { *x = InitiateUploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InitiateUploadResponse) String() string { @@ -559,7 +548,7 @@ func (*InitiateUploadResponse) ProtoMessage() {} func (x *InitiateUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -583,10 +572,7 @@ func (x *InitiateUploadResponse) GetUploadInstructions() *UploadInstructions { // UploadInstructions contains the instructions for the client to upload debuginfo. type UploadInstructions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The build ID of the debuginfo to upload. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The upload_id to use for uploading. @@ -597,16 +583,16 @@ type UploadInstructions struct { // strategy is SIGNED_STRATEGY_URL. SignedUrl string `protobuf:"bytes,4,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // Type of debuginfo the upload instructions are for. - Type DebuginfoType `protobuf:"varint,5,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + Type DebuginfoType `protobuf:"varint,5,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadInstructions) Reset() { *x = UploadInstructions{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadInstructions) String() string { @@ -617,7 +603,7 @@ func (*UploadInstructions) ProtoMessage() {} func (x *UploadInstructions) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -669,25 +655,22 @@ func (x *UploadInstructions) GetType() DebuginfoType { // MarkUploadFinishedRequest is the request to mark an upload as finished. type MarkUploadFinishedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The build_id of the debug info to mark as finished. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The upload_id of the debug info to mark as finished. UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // The type of debuginfo upload to mark as finished. - Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkUploadFinishedRequest) Reset() { *x = MarkUploadFinishedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkUploadFinishedRequest) String() string { @@ -698,7 +681,7 @@ func (*MarkUploadFinishedRequest) ProtoMessage() {} func (x *MarkUploadFinishedRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -736,18 +719,16 @@ func (x *MarkUploadFinishedRequest) GetType() DebuginfoType { // MarkUploadFinishedResponse is the response to a MarkUploadFinishedRequest. type MarkUploadFinishedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkUploadFinishedResponse) Reset() { *x = MarkUploadFinishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkUploadFinishedResponse) String() string { @@ -758,7 +739,7 @@ func (*MarkUploadFinishedResponse) ProtoMessage() {} func (x *MarkUploadFinishedResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -775,26 +756,23 @@ func (*MarkUploadFinishedResponse) Descriptor() ([]byte, []int) { // UploadRequest upload debug info type UploadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // data contains either the upload info metadata or the debug info // - // Types that are assignable to Data: + // Types that are valid to be assigned to Data: // // *UploadRequest_Info // *UploadRequest_ChunkData - Data isUploadRequest_Data `protobuf_oneof:"data"` + Data isUploadRequest_Data `protobuf_oneof:"data"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadRequest) Reset() { *x = UploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadRequest) String() string { @@ -805,7 +783,7 @@ func (*UploadRequest) ProtoMessage() {} func (x *UploadRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -820,23 +798,27 @@ func (*UploadRequest) Descriptor() ([]byte, []int) { return file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescGZIP(), []int{7} } -func (m *UploadRequest) GetData() isUploadRequest_Data { - if m != nil { - return m.Data +func (x *UploadRequest) GetData() isUploadRequest_Data { + if x != nil { + return x.Data } return nil } func (x *UploadRequest) GetInfo() *UploadInfo { - if x, ok := x.GetData().(*UploadRequest_Info); ok { - return x.Info + if x != nil { + if x, ok := x.Data.(*UploadRequest_Info); ok { + return x.Info + } } return nil } func (x *UploadRequest) GetChunkData() []byte { - if x, ok := x.GetData().(*UploadRequest_ChunkData); ok { - return x.ChunkData + if x != nil { + if x, ok := x.Data.(*UploadRequest_ChunkData); ok { + return x.ChunkData + } } return nil } @@ -861,25 +843,22 @@ func (*UploadRequest_ChunkData) isUploadRequest_Data() {} // UploadInfo contains the build_id and other metadata for the debug data type UploadInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // upload_id is a unique identifier for the upload UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // the type of debuginfo that's being uploaded - Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadInfo) Reset() { *x = UploadInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadInfo) String() string { @@ -890,7 +869,7 @@ func (*UploadInfo) ProtoMessage() {} func (x *UploadInfo) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -928,23 +907,20 @@ func (x *UploadInfo) GetType() DebuginfoType { // UploadResponse returns the build_id and the size of the uploaded debug info type UploadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // size is the number of bytes of the debug info - Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadResponse) Reset() { *x = UploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadResponse) String() string { @@ -955,7 +931,7 @@ func (*UploadResponse) ProtoMessage() {} func (x *UploadResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,10 +962,7 @@ func (x *UploadResponse) GetSize() uint64 { // Debuginfo contains metadata about a debuginfo file. type Debuginfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // BuildID is the build ID of the debuginfo. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // Source is the source of the debuginfo. @@ -1002,16 +975,16 @@ type Debuginfo struct { // The debuginfod servers this piece of debuginfo is available at. DebuginfodServers []string `protobuf:"bytes,5,rep,name=debuginfod_servers,json=debuginfodServers,proto3" json:"debuginfod_servers,omitempty"` // The type of debuginfo. - Type DebuginfoType `protobuf:"varint,6,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + Type DebuginfoType `protobuf:"varint,6,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Debuginfo) Reset() { *x = Debuginfo{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Debuginfo) String() string { @@ -1022,7 +995,7 @@ func (*Debuginfo) ProtoMessage() {} func (x *Debuginfo) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1081,10 +1054,7 @@ func (x *Debuginfo) GetType() DebuginfoType { // DebuginfoUpload contains metadata about a debuginfo upload. type DebuginfoUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // UploadID is the ID of the debuginfo upload. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Hash is the hash of the debuginfo. @@ -1094,16 +1064,16 @@ type DebuginfoUpload struct { // StartedAt is the time the debuginfo upload was started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // FinishedAt is the time the debuginfo upload was finished. - FinishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` + FinishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DebuginfoUpload) Reset() { *x = DebuginfoUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebuginfoUpload) String() string { @@ -1114,7 +1084,7 @@ func (*DebuginfoUpload) ProtoMessage() {} func (x *DebuginfoUpload) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1166,10 +1136,7 @@ func (x *DebuginfoUpload) GetFinishedAt() *timestamppb.Timestamp { // DebuginfoQuality is the quality of the debuginfo. type DebuginfoQuality struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The debuginfo file is not a valid ELF file. NotValidElf bool `protobuf:"varint,1,opt,name=not_valid_elf,json=notValidElf,proto3" json:"not_valid_elf,omitempty"` // Whether the debuginfo contains dwarf information. @@ -1179,16 +1146,16 @@ type DebuginfoQuality struct { // Whether the debuginfo contains symtab. HasSymtab bool `protobuf:"varint,4,opt,name=has_symtab,json=hasSymtab,proto3" json:"has_symtab,omitempty"` // Whether the debuginfo contains dynsym. - HasDynsym bool `protobuf:"varint,5,opt,name=has_dynsym,json=hasDynsym,proto3" json:"has_dynsym,omitempty"` + HasDynsym bool `protobuf:"varint,5,opt,name=has_dynsym,json=hasDynsym,proto3" json:"has_dynsym,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DebuginfoQuality) Reset() { *x = DebuginfoQuality{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebuginfoQuality) String() string { @@ -1199,7 +1166,7 @@ func (*DebuginfoQuality) ProtoMessage() {} func (x *DebuginfoQuality) ProtoReflect() protoreflect.Message { mi := &file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1251,7 +1218,7 @@ func (x *DebuginfoQuality) GetHasDynsym() bool { var File_parca_debuginfo_v1alpha1_debuginfo_proto protoreflect.FileDescriptor -var file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc = []byte{ +var file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc = string([]byte{ 0x0a, 0x28, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x61, 0x72, 0x63, @@ -1490,23 +1457,23 @@ var file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc = []byte{ 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescOnce sync.Once - file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData = file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc + file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData []byte ) func file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescGZIP() []byte { file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescOnce.Do(func() { - file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData) + file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc), len(file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc))) }) return file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDescData } var file_parca_debuginfo_v1alpha1_debuginfo_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_parca_debuginfo_v1alpha1_debuginfo_proto_goTypes = []interface{}{ +var file_parca_debuginfo_v1alpha1_debuginfo_proto_goTypes = []any{ (DebuginfoType)(0), // 0: parca.debuginfo.v1alpha1.DebuginfoType (BuildIDType)(0), // 1: parca.debuginfo.v1alpha1.BuildIDType (UploadInstructions_UploadStrategy)(0), // 2: parca.debuginfo.v1alpha1.UploadInstructions.UploadStrategy @@ -1565,165 +1532,7 @@ func file_parca_debuginfo_v1alpha1_debuginfo_proto_init() { if File_parca_debuginfo_v1alpha1_debuginfo_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShouldInitiateUploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShouldInitiateUploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitiateUploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitiateUploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadInstructions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkUploadFinishedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkUploadFinishedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Debuginfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DebuginfoUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DebuginfoQuality); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes[7].OneofWrappers = []any{ (*UploadRequest_Info)(nil), (*UploadRequest_ChunkData)(nil), } @@ -1731,7 +1540,7 @@ func file_parca_debuginfo_v1alpha1_debuginfo_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc), len(file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc)), NumEnums: 5, NumMessages: 13, NumExtensions: 0, @@ -1743,7 +1552,6 @@ func file_parca_debuginfo_v1alpha1_debuginfo_proto_init() { MessageInfos: file_parca_debuginfo_v1alpha1_debuginfo_proto_msgTypes, }.Build() File_parca_debuginfo_v1alpha1_debuginfo_proto = out.File - file_parca_debuginfo_v1alpha1_debuginfo_proto_rawDesc = nil file_parca_debuginfo_v1alpha1_debuginfo_proto_goTypes = nil file_parca_debuginfo_v1alpha1_debuginfo_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go b/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go index 167a6aee9a6..1f6afdcf342 100644 --- a/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go +++ b/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/metastore/v1alpha1/metastore.proto @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,21 +24,18 @@ const ( // GetOrCreateMappingsRequest contains all information about mappings that are // requested to be retrieved or created if they don't already exist. type GetOrCreateMappingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Mappings to be created or retrieved. - Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateMappingsRequest) Reset() { *x = GetOrCreateMappingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateMappingsRequest) String() string { @@ -48,7 +46,7 @@ func (*GetOrCreateMappingsRequest) ProtoMessage() {} func (x *GetOrCreateMappingsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -72,23 +70,20 @@ func (x *GetOrCreateMappingsRequest) GetMappings() []*Mapping { // GetOrCreateMappingsResponse contains information about mappings requested. type GetOrCreateMappingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Mappings that are known to the backing metastore. If any mappings didn't // exist before the request they have now been persisted and are uniquely // identifyable through their key. - Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateMappingsResponse) Reset() { *x = GetOrCreateMappingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateMappingsResponse) String() string { @@ -99,7 +94,7 @@ func (*GetOrCreateMappingsResponse) ProtoMessage() {} func (x *GetOrCreateMappingsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -124,21 +119,18 @@ func (x *GetOrCreateMappingsResponse) GetMappings() []*Mapping { // GetOrCreateFunctionsRequest contains all information about functions that are // requested to be retrieved or created if they don't already exist. type GetOrCreateFunctionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Functions to be created or retrieved. - Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateFunctionsRequest) Reset() { *x = GetOrCreateFunctionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateFunctionsRequest) String() string { @@ -149,7 +141,7 @@ func (*GetOrCreateFunctionsRequest) ProtoMessage() {} func (x *GetOrCreateFunctionsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -173,23 +165,20 @@ func (x *GetOrCreateFunctionsRequest) GetFunctions() []*Function { // GetOrCreateFunctionsResponse contains information about functions requested. type GetOrCreateFunctionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Functions that are known to the backing metastore. If any functions didn't // exist before the request they have now been persisted and are uniquely // identifyable through their key. - Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateFunctionsResponse) Reset() { *x = GetOrCreateFunctionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateFunctionsResponse) String() string { @@ -200,7 +189,7 @@ func (*GetOrCreateFunctionsResponse) ProtoMessage() {} func (x *GetOrCreateFunctionsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -225,21 +214,18 @@ func (x *GetOrCreateFunctionsResponse) GetFunctions() []*Function { // GetOrCreateLocationsRequest contains all information about locations that are // requested to be retrieved or created if they don't already exist. type GetOrCreateLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Locations to be created or retrieved. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateLocationsRequest) Reset() { *x = GetOrCreateLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateLocationsRequest) String() string { @@ -250,7 +236,7 @@ func (*GetOrCreateLocationsRequest) ProtoMessage() {} func (x *GetOrCreateLocationsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -274,23 +260,20 @@ func (x *GetOrCreateLocationsRequest) GetLocations() []*Location { // GetOrCreateLocationsResponse contains information about locations requested. type GetOrCreateLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Locations that are known to the backing metastore. If any locations didn't // exist before the request they have now been persisted and are uniquely // identifyable through their key. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateLocationsResponse) Reset() { *x = GetOrCreateLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateLocationsResponse) String() string { @@ -301,7 +284,7 @@ func (*GetOrCreateLocationsResponse) ProtoMessage() {} func (x *GetOrCreateLocationsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,21 +309,18 @@ func (x *GetOrCreateLocationsResponse) GetLocations() []*Location { // GetOrCreateStracktracesRequest contains all information about stacktraces // that are requested to be retrieved or created if they don't already exist. type GetOrCreateStacktracesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Stacktraces to be created or retrieved. - Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateStacktracesRequest) Reset() { *x = GetOrCreateStacktracesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateStacktracesRequest) String() string { @@ -351,7 +331,7 @@ func (*GetOrCreateStacktracesRequest) ProtoMessage() {} func (x *GetOrCreateStacktracesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,23 +355,20 @@ func (x *GetOrCreateStacktracesRequest) GetStacktraces() []*Stacktrace { // GetOrCreateStacktracesResponse contains information about locations requested. type GetOrCreateStacktracesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Stacktraces that are known to the backing metastore. If any stacktraces // didn't exist before the request they have now been persisted and are // uniquely identifyable through their key. - Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrCreateStacktracesResponse) Reset() { *x = GetOrCreateStacktracesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrCreateStacktracesResponse) String() string { @@ -402,7 +379,7 @@ func (*GetOrCreateStacktracesResponse) ProtoMessage() {} func (x *GetOrCreateStacktracesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -428,23 +405,20 @@ func (x *GetOrCreateStacktracesResponse) GetStacktraces() []*Stacktrace { // locations requested. While currently empty, this could in the future contain // a sharding configuration or limit the number of locations to return. type UnsymbolizedLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The maximum number of locations to return. Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // The minimum key to start returning locations from. - MinKey string `protobuf:"bytes,2,opt,name=min_key,json=minKey,proto3" json:"min_key,omitempty"` + MinKey string `protobuf:"bytes,2,opt,name=min_key,json=minKey,proto3" json:"min_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnsymbolizedLocationsRequest) Reset() { *x = UnsymbolizedLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnsymbolizedLocationsRequest) String() string { @@ -455,7 +429,7 @@ func (*UnsymbolizedLocationsRequest) ProtoMessage() {} func (x *UnsymbolizedLocationsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,24 +462,21 @@ func (x *UnsymbolizedLocationsRequest) GetMinKey() string { // locations that should be symbolizable but potentially haven't been // symbolized yet. type UnsymbolizedLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Locations that have a mapping and address that should be symbolizable. Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` // Key of the last location returned. This can be used in a subsequent call // to UnsymbolizedLocations to continue from the last returned location. - MaxKey string `protobuf:"bytes,2,opt,name=max_key,json=maxKey,proto3" json:"max_key,omitempty"` + MaxKey string `protobuf:"bytes,2,opt,name=max_key,json=maxKey,proto3" json:"max_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnsymbolizedLocationsResponse) Reset() { *x = UnsymbolizedLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnsymbolizedLocationsResponse) String() string { @@ -516,7 +487,7 @@ func (*UnsymbolizedLocationsResponse) ProtoMessage() {} func (x *UnsymbolizedLocationsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,21 +519,18 @@ func (x *UnsymbolizedLocationsResponse) GetMaxKey() string { // CreateLocationLinesRequest contains locations and their location lines to be // saved. type CreateLocationLinesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Locations that have location lines to be saved. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateLocationLinesRequest) Reset() { *x = CreateLocationLinesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationLinesRequest) String() string { @@ -573,7 +541,7 @@ func (*CreateLocationLinesRequest) ProtoMessage() {} func (x *CreateLocationLinesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -597,18 +565,16 @@ func (x *CreateLocationLinesRequest) GetLocations() []*Location { // CreateLocationLinesResponse details about the location lines creation. type CreateLocationLinesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateLocationLinesResponse) Reset() { *x = CreateLocationLinesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationLinesResponse) String() string { @@ -619,7 +585,7 @@ func (*CreateLocationLinesResponse) ProtoMessage() {} func (x *CreateLocationLinesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -636,21 +602,18 @@ func (*CreateLocationLinesResponse) Descriptor() ([]byte, []int) { // StacktracesRequest contains information about the stacktraces requested. type StacktracesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // IDs of stacktraces to retrieve. StacktraceIds []string `protobuf:"bytes,1,rep,name=stacktrace_ids,json=stacktraceIds,proto3" json:"stacktrace_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StacktracesRequest) Reset() { *x = StacktracesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StacktracesRequest) String() string { @@ -661,7 +624,7 @@ func (*StacktracesRequest) ProtoMessage() {} func (x *StacktracesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -685,21 +648,18 @@ func (x *StacktracesRequest) GetStacktraceIds() []string { // StacktracesRequest contains the requested stacktraces. type StacktracesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Stacktraces that are known to the backing metastore. - Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + Stacktraces []*Stacktrace `protobuf:"bytes,1,rep,name=stacktraces,proto3" json:"stacktraces,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StacktracesResponse) Reset() { *x = StacktracesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StacktracesResponse) String() string { @@ -710,7 +670,7 @@ func (*StacktracesResponse) ProtoMessage() {} func (x *StacktracesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,21 +694,18 @@ func (x *StacktracesResponse) GetStacktraces() []*Stacktrace { // LocationsRequest contains information about the locations requested. type LocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // IDs of locations to retrieve. - LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocationsRequest) Reset() { *x = LocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationsRequest) String() string { @@ -759,7 +716,7 @@ func (*LocationsRequest) ProtoMessage() {} func (x *LocationsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,21 +740,18 @@ func (x *LocationsRequest) GetLocationIds() []string { // LocationsResponse contains the requested locations. type LocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Locations that are known to the backing metastore. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocationsResponse) Reset() { *x = LocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationsResponse) String() string { @@ -808,7 +762,7 @@ func (*LocationsResponse) ProtoMessage() {} func (x *LocationsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -832,21 +786,18 @@ func (x *LocationsResponse) GetLocations() []*Location { // LocationLinesRequest contains information about the location's lines requested. type LocationLinesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // IDs of locations to retrieve location lines for. - LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocationLinesRequest) Reset() { *x = LocationLinesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationLinesRequest) String() string { @@ -857,7 +808,7 @@ func (*LocationLinesRequest) ProtoMessage() {} func (x *LocationLinesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,21 +832,18 @@ func (x *LocationLinesRequest) GetLocationIds() []string { // FunctionsRequest contains information about the functions requested. type FunctionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // IDs of functions to retrieve. - FunctionIds []string `protobuf:"bytes,1,rep,name=function_ids,json=functionIds,proto3" json:"function_ids,omitempty"` + FunctionIds []string `protobuf:"bytes,1,rep,name=function_ids,json=functionIds,proto3" json:"function_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FunctionsRequest) Reset() { *x = FunctionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FunctionsRequest) String() string { @@ -906,7 +854,7 @@ func (*FunctionsRequest) ProtoMessage() {} func (x *FunctionsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -930,21 +878,18 @@ func (x *FunctionsRequest) GetFunctionIds() []string { // FunctionsResponse contains the requested functions. type FunctionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Functions that are known to the backing metastore. - Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FunctionsResponse) Reset() { *x = FunctionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FunctionsResponse) String() string { @@ -955,7 +900,7 @@ func (*FunctionsResponse) ProtoMessage() {} func (x *FunctionsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -979,21 +924,18 @@ func (x *FunctionsResponse) GetFunctions() []*Function { // MappingsRequest contains information about the mappings requested. type MappingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // IDs of mappings to retrieve. - MappingIds []string `protobuf:"bytes,1,rep,name=mapping_ids,json=mappingIds,proto3" json:"mapping_ids,omitempty"` + MappingIds []string `protobuf:"bytes,1,rep,name=mapping_ids,json=mappingIds,proto3" json:"mapping_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MappingsRequest) Reset() { *x = MappingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MappingsRequest) String() string { @@ -1004,7 +946,7 @@ func (*MappingsRequest) ProtoMessage() {} func (x *MappingsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1028,21 +970,18 @@ func (x *MappingsRequest) GetMappingIds() []string { // MappingsResponse contains the requested mappings. type MappingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Mappings that are known to the backing metastore. - Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + Mappings []*Mapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MappingsResponse) Reset() { *x = MappingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MappingsResponse) String() string { @@ -1053,7 +992,7 @@ func (*MappingsResponse) ProtoMessage() {} func (x *MappingsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1077,27 +1016,24 @@ func (x *MappingsResponse) GetMappings() []*Mapping { // Sample is a stack trace with optional labels. type Sample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // stacktrace_id references stack trace of the sample. StacktraceId string `protobuf:"bytes,1,opt,name=stacktrace_id,json=stacktraceId,proto3" json:"stacktrace_id,omitempty"` // labels are extra labels for a stack trace. - Labels map[string]*SampleLabel `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]*SampleLabel `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // num_labels are the num of labels. - NumLabels map[string]*SampleNumLabel `protobuf:"bytes,3,rep,name=num_labels,json=numLabels,proto3" json:"num_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NumLabels map[string]*SampleNumLabel `protobuf:"bytes,3,rep,name=num_labels,json=numLabels,proto3" json:"num_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // num_units are the units for the labels. - NumUnits map[string]*SampleNumUnit `protobuf:"bytes,4,rep,name=num_units,json=numUnits,proto3" json:"num_units,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NumUnits map[string]*SampleNumUnit `protobuf:"bytes,4,rep,name=num_units,json=numUnits,proto3" json:"num_units,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Sample) Reset() { *x = Sample{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Sample) String() string { @@ -1108,7 +1044,7 @@ func (*Sample) ProtoMessage() {} func (x *Sample) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1153,23 +1089,20 @@ func (x *Sample) GetNumUnits() map[string]*SampleNumUnit { // Stacktrace is a collection of locations. type Stacktrace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // stacktrace_id references stack trace of the stacktrace. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // locations are the locations in the stack trace. - LocationIds []string `protobuf:"bytes,2,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + LocationIds []string `protobuf:"bytes,2,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Stacktrace) Reset() { *x = Stacktrace{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Stacktrace) String() string { @@ -1180,7 +1113,7 @@ func (*Stacktrace) ProtoMessage() {} func (x *Stacktrace) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1211,21 +1144,18 @@ func (x *Stacktrace) GetLocationIds() []string { // SampleLabel are the labels added to a Sample. type SampleLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // labels for a label in a Sample. - Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SampleLabel) Reset() { *x = SampleLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SampleLabel) String() string { @@ -1236,7 +1166,7 @@ func (*SampleLabel) ProtoMessage() {} func (x *SampleLabel) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1260,21 +1190,18 @@ func (x *SampleLabel) GetLabels() []string { // SampleNumLabel are the num of labels of a Sample. type SampleNumLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // num_labels are the num_label of a Sample. - NumLabels []int64 `protobuf:"varint,1,rep,packed,name=num_labels,json=numLabels,proto3" json:"num_labels,omitempty"` + NumLabels []int64 `protobuf:"varint,1,rep,packed,name=num_labels,json=numLabels,proto3" json:"num_labels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SampleNumLabel) Reset() { *x = SampleNumLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SampleNumLabel) String() string { @@ -1285,7 +1212,7 @@ func (*SampleNumLabel) ProtoMessage() {} func (x *SampleNumLabel) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1309,21 +1236,18 @@ func (x *SampleNumLabel) GetNumLabels() []int64 { // SampleNumUnit are the num units of a Sample. type SampleNumUnit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // units of a labels of a Sample. - Units []string `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` + Units []string `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SampleNumUnit) Reset() { *x = SampleNumUnit{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SampleNumUnit) String() string { @@ -1334,7 +1258,7 @@ func (*SampleNumUnit) ProtoMessage() {} func (x *SampleNumUnit) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1358,10 +1282,7 @@ func (x *SampleNumUnit) GetUnits() []string { // Location describes a single location of a stack traces. type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the unique identifier for the location. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // address is the memory address of the location if present. @@ -1374,16 +1295,16 @@ type Location struct { // indicate they have been inlined. Lines []*Line `protobuf:"bytes,6,rep,name=lines,proto3" json:"lines,omitempty"` // mapping_index has the index into the mapping table where mappings are sent deduplicated. - MappingIndex uint32 `protobuf:"varint,7,opt,name=mapping_index,json=mappingIndex,proto3" json:"mapping_index,omitempty"` + MappingIndex uint32 `protobuf:"varint,7,opt,name=mapping_index,json=mappingIndex,proto3" json:"mapping_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Location) Reset() { *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Location) String() string { @@ -1394,7 +1315,7 @@ func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,25 +1374,22 @@ func (x *Location) GetMappingIndex() uint32 { // Line describes a source code function and its line number. type Line struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // function_id is the ID of the function. FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // line is the line number in the source file of the referenced function. Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // function_index is the index in the functions table. FunctionIndex uint32 `protobuf:"varint,3,opt,name=function_index,json=functionIndex,proto3" json:"function_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Line) Reset() { *x = Line{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Line) String() string { @@ -1482,7 +1400,7 @@ func (*Line) ProtoMessage() {} func (x *Line) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1520,10 +1438,7 @@ func (x *Line) GetFunctionIndex() uint32 { // Function describes metadata of a source code function. type Function struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the unique identifier for the function. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // start_line is the line number in the source file of the first line of the function. @@ -1541,15 +1456,15 @@ type Function struct { SystemNameStringIndex uint32 `protobuf:"varint,7,opt,name=system_name_string_index,json=systemNameStringIndex,proto3" json:"system_name_string_index,omitempty"` // filename_string_index is the index in the string table to the filename associated with the function. FilenameStringIndex uint32 `protobuf:"varint,8,opt,name=filename_string_index,json=filenameStringIndex,proto3" json:"filename_string_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Function) Reset() { *x = Function{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Function) String() string { @@ -1560,7 +1475,7 @@ func (*Function) ProtoMessage() {} func (x *Function) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1633,10 +1548,7 @@ func (x *Function) GetFilenameStringIndex() uint32 { // Mapping describes a memory mapping. type Mapping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the unique identifier for the mapping. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // start is the start address of the mapping. @@ -1661,15 +1573,15 @@ type Mapping struct { FileStringIndex uint32 `protobuf:"varint,11,opt,name=file_string_index,json=fileStringIndex,proto3" json:"file_string_index,omitempty"` // build_id_string_index is the index in the string table to the build ID of the mapping. BuildIdStringIndex uint32 `protobuf:"varint,12,opt,name=build_id_string_index,json=buildIdStringIndex,proto3" json:"build_id_string_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Mapping) Reset() { *x = Mapping{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Mapping) String() string { @@ -1680,7 +1592,7 @@ func (*Mapping) ProtoMessage() {} func (x *Mapping) ProtoReflect() protoreflect.Message { mi := &file_parca_metastore_v1alpha1_metastore_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,7 +1693,7 @@ func (x *Mapping) GetBuildIdStringIndex() uint32 { var File_parca_metastore_v1alpha1_metastore_proto protoreflect.FileDescriptor -var file_parca_metastore_v1alpha1_metastore_proto_rawDesc = []byte{ +var file_parca_metastore_v1alpha1_metastore_proto_rawDesc = string([]byte{ 0x0a, 0x28, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x61, 0x72, 0x63, @@ -2103,22 +2015,22 @@ var file_parca_metastore_v1alpha1_metastore_proto_rawDesc = []byte{ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_metastore_v1alpha1_metastore_proto_rawDescOnce sync.Once - file_parca_metastore_v1alpha1_metastore_proto_rawDescData = file_parca_metastore_v1alpha1_metastore_proto_rawDesc + file_parca_metastore_v1alpha1_metastore_proto_rawDescData []byte ) func file_parca_metastore_v1alpha1_metastore_proto_rawDescGZIP() []byte { file_parca_metastore_v1alpha1_metastore_proto_rawDescOnce.Do(func() { - file_parca_metastore_v1alpha1_metastore_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_metastore_v1alpha1_metastore_proto_rawDescData) + file_parca_metastore_v1alpha1_metastore_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_metastore_v1alpha1_metastore_proto_rawDesc), len(file_parca_metastore_v1alpha1_metastore_proto_rawDesc))) }) return file_parca_metastore_v1alpha1_metastore_proto_rawDescData } var file_parca_metastore_v1alpha1_metastore_proto_msgTypes = make([]protoimpl.MessageInfo, 33) -var file_parca_metastore_v1alpha1_metastore_proto_goTypes = []interface{}{ +var file_parca_metastore_v1alpha1_metastore_proto_goTypes = []any{ (*GetOrCreateMappingsRequest)(nil), // 0: parca.metastore.v1alpha1.GetOrCreateMappingsRequest (*GetOrCreateMappingsResponse)(nil), // 1: parca.metastore.v1alpha1.GetOrCreateMappingsResponse (*GetOrCreateFunctionsRequest)(nil), // 2: parca.metastore.v1alpha1.GetOrCreateFunctionsRequest @@ -2207,373 +2119,11 @@ func file_parca_metastore_v1alpha1_metastore_proto_init() { if File_parca_metastore_v1alpha1_metastore_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateMappingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateMappingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateFunctionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateFunctionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateStacktracesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrCreateStacktracesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsymbolizedLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsymbolizedLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationLinesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationLinesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StacktracesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StacktracesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationLinesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FunctionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FunctionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MappingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MappingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Stacktrace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SampleLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SampleNumLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SampleNumUnit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Line); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Function); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_metastore_v1alpha1_metastore_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Mapping); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_metastore_v1alpha1_metastore_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_metastore_v1alpha1_metastore_proto_rawDesc), len(file_parca_metastore_v1alpha1_metastore_proto_rawDesc)), NumEnums: 0, NumMessages: 33, NumExtensions: 0, @@ -2584,7 +2134,6 @@ func file_parca_metastore_v1alpha1_metastore_proto_init() { MessageInfos: file_parca_metastore_v1alpha1_metastore_proto_msgTypes, }.Build() File_parca_metastore_v1alpha1_metastore_proto = out.File - file_parca_metastore_v1alpha1_metastore_proto_rawDesc = nil file_parca_metastore_v1alpha1_metastore_proto_goTypes = nil file_parca_metastore_v1alpha1_metastore_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go b/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go index 0cdd28942b7..9c3ab54b884 100644 --- a/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go +++ b/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/profilestore/v1alpha1/profilestore.proto @@ -14,6 +14,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -28,21 +29,18 @@ const ( // only contains samples, the server may request the full stacktrace from the // client should it not already know them. type WriteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The bytes containing the arrow record. - Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` + Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WriteRequest) Reset() { *x = WriteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteRequest) String() string { @@ -53,7 +51,7 @@ func (*WriteRequest) ProtoMessage() {} func (x *WriteRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,22 +77,19 @@ func (x *WriteRequest) GetRecord() []byte { // information, or contain an arrow record that contains the stacktrace IDs // that are unknown and therefore requested by the client from the server. type WriteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // When record is non-empty it contains the bytes of an arrow record that // contains a column containing the stacktraces that are unknown. - Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` + Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WriteResponse) Reset() { *x = WriteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteResponse) String() string { @@ -105,7 +100,7 @@ func (*WriteResponse) ProtoMessage() {} func (x *WriteResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,10 +124,7 @@ func (x *WriteResponse) GetRecord() []byte { // WriteRawRequest writes a pprof profile for a given tenant type WriteRawRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // tenant is the given tenant to store the pprof profile under // // Deprecated: Marked as deprecated in parca/profilestore/v1alpha1/profilestore.proto. @@ -140,16 +132,16 @@ type WriteRawRequest struct { // series is a set raw pprof profiles and accompanying labels Series []*RawProfileSeries `protobuf:"bytes,2,rep,name=series,proto3" json:"series,omitempty"` // normalized is a flag indicating if the addresses in the profile is normalized for position independent code - Normalized bool `protobuf:"varint,3,opt,name=normalized,proto3" json:"normalized,omitempty"` + Normalized bool `protobuf:"varint,3,opt,name=normalized,proto3" json:"normalized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WriteRawRequest) Reset() { *x = WriteRawRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteRawRequest) String() string { @@ -160,7 +152,7 @@ func (*WriteRawRequest) ProtoMessage() {} func (x *WriteRawRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,18 +191,16 @@ func (x *WriteRawRequest) GetNormalized() bool { // WriteRawResponse is the empty response type WriteRawResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WriteRawResponse) Reset() { *x = WriteRawResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteRawResponse) String() string { @@ -221,7 +211,7 @@ func (*WriteRawResponse) ProtoMessage() {} func (x *WriteRawResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,23 +228,20 @@ func (*WriteRawResponse) Descriptor() ([]byte, []int) { // RawProfileSeries represents the pprof profile and its associated labels type RawProfileSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // LabelSet is the key value pairs to identify the corresponding profile Labels *LabelSet `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"` // samples are the set of profile bytes - Samples []*RawSample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"` + Samples []*RawSample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RawProfileSeries) Reset() { *x = RawProfileSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RawProfileSeries) String() string { @@ -265,7 +252,7 @@ func (*RawProfileSeries) ProtoMessage() {} func (x *RawProfileSeries) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,23 +283,20 @@ func (x *RawProfileSeries) GetSamples() []*RawSample { // Label is a key value pair of identifiers type Label struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name is the label name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // value is the value for the label name - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Label) Reset() { *x = Label{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Label) String() string { @@ -323,7 +307,7 @@ func (*Label) ProtoMessage() {} func (x *Label) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,21 +338,18 @@ func (x *Label) GetValue() string { // LabelSet is a group of labels type LabelSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // labels are the grouping of labels - Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LabelSet) Reset() { *x = LabelSet{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LabelSet) String() string { @@ -379,7 +360,7 @@ func (*LabelSet) ProtoMessage() {} func (x *LabelSet) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -403,24 +384,21 @@ func (x *LabelSet) GetLabels() []*Label { // RawSample is the set of bytes that correspond to a pprof profile type RawSample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // raw_profile is the set of bytes of the pprof profile RawProfile []byte `protobuf:"bytes,1,opt,name=raw_profile,json=rawProfile,proto3" json:"raw_profile,omitempty"` // information about the executable and executable section for normalizaton // purposes. ExecutableInfo []*ExecutableInfo `protobuf:"bytes,2,rep,name=executable_info,json=executableInfo,proto3" json:"executable_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RawSample) Reset() { *x = RawSample{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RawSample) String() string { @@ -431,7 +409,7 @@ func (*RawSample) ProtoMessage() {} func (x *RawSample) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -463,24 +441,21 @@ func (x *RawSample) GetExecutableInfo() []*ExecutableInfo { // ExecutableInfo is the information about the executable and executable // section for normalizaton purposes before symbolization. type ExecutableInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // elf_type is the type of the elf executable. Technically the elf type is a // 16 bit integer, but protobuf's smallest unsigned integer is 32 bits. ElfType uint32 `protobuf:"varint,1,opt,name=elf_type,json=elfType,proto3" json:"elf_type,omitempty"` // load_segment is the load segment of the executable. - LoadSegment *LoadSegment `protobuf:"bytes,2,opt,name=load_segment,json=loadSegment,proto3" json:"load_segment,omitempty"` + LoadSegment *LoadSegment `protobuf:"bytes,2,opt,name=load_segment,json=loadSegment,proto3" json:"load_segment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExecutableInfo) Reset() { *x = ExecutableInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExecutableInfo) String() string { @@ -491,7 +466,7 @@ func (*ExecutableInfo) ProtoMessage() {} func (x *ExecutableInfo) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -522,23 +497,20 @@ func (x *ExecutableInfo) GetLoadSegment() *LoadSegment { // LoadSegment is the load segment of the executable type LoadSegment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The offset from the beginning of the file at which the first byte of the segment resides. Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // The virtual address at which the first byte of the segment resides in memory. - Vaddr uint64 `protobuf:"varint,2,opt,name=vaddr,proto3" json:"vaddr,omitempty"` + Vaddr uint64 `protobuf:"varint,2,opt,name=vaddr,proto3" json:"vaddr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LoadSegment) Reset() { *x = LoadSegment{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoadSegment) String() string { @@ -549,7 +521,7 @@ func (*LoadSegment) ProtoMessage() {} func (x *LoadSegment) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,18 +552,16 @@ func (x *LoadSegment) GetVaddr() uint64 { // AgentsRequest is the request to retrieve a list of agents type AgentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentsRequest) Reset() { *x = AgentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentsRequest) String() string { @@ -602,7 +572,7 @@ func (*AgentsRequest) ProtoMessage() {} func (x *AgentsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -619,21 +589,18 @@ func (*AgentsRequest) Descriptor() ([]byte, []int) { // AgentsResponse is the request to retrieve a list of agents type AgentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // agents is a list of agents - Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentsResponse) Reset() { *x = AgentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentsResponse) String() string { @@ -644,7 +611,7 @@ func (*AgentsResponse) ProtoMessage() {} func (x *AgentsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -668,10 +635,7 @@ func (x *AgentsResponse) GetAgents() []*Agent { // Agent is the agent representation type Agent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the agent identity that either represent by the node name or the IP address. // When node name is not found, this will fallback to IP address. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -681,15 +645,15 @@ type Agent struct { LastPush *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_push,json=lastPush,proto3" json:"last_push,omitempty"` // last_push_duration is the duration of the last push request LastPushDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=last_push_duration,json=lastPushDuration,proto3" json:"last_push_duration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Agent) Reset() { *x = Agent{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Agent) String() string { @@ -700,7 +664,7 @@ func (*Agent) ProtoMessage() {} func (x *Agent) ProtoReflect() protoreflect.Message { mi := &file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -745,7 +709,7 @@ func (x *Agent) GetLastPushDuration() *durationpb.Duration { var File_parca_profilestore_v1alpha1_profilestore_proto protoreflect.FileDescriptor -var file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc = []byte{ +var file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc = string([]byte{ 0x0a, 0x2e, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -872,22 +836,22 @@ var file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc = []byte{ 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_profilestore_v1alpha1_profilestore_proto_rawDescOnce sync.Once - file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData = file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc + file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData []byte ) func file_parca_profilestore_v1alpha1_profilestore_proto_rawDescGZIP() []byte { file_parca_profilestore_v1alpha1_profilestore_proto_rawDescOnce.Do(func() { - file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData) + file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc), len(file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc))) }) return file_parca_profilestore_v1alpha1_profilestore_proto_rawDescData } var file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_parca_profilestore_v1alpha1_profilestore_proto_goTypes = []interface{}{ +var file_parca_profilestore_v1alpha1_profilestore_proto_goTypes = []any{ (*WriteRequest)(nil), // 0: parca.profilestore.v1alpha1.WriteRequest (*WriteResponse)(nil), // 1: parca.profilestore.v1alpha1.WriteResponse (*WriteRawRequest)(nil), // 2: parca.profilestore.v1alpha1.WriteRawRequest @@ -932,169 +896,11 @@ func file_parca_profilestore_v1alpha1_profilestore_proto_init() { if File_parca_profilestore_v1alpha1_profilestore_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteRawRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteRawResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawProfileSeries); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Label); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawSample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecutableInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoadSegment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Agent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc), len(file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc)), NumEnums: 0, NumMessages: 13, NumExtensions: 0, @@ -1105,7 +911,6 @@ func file_parca_profilestore_v1alpha1_profilestore_proto_init() { MessageInfos: file_parca_profilestore_v1alpha1_profilestore_proto_msgTypes, }.Build() File_parca_profilestore_v1alpha1_profilestore_proto = out.File - file_parca_profilestore_v1alpha1_profilestore_proto_rawDesc = nil file_parca_profilestore_v1alpha1_profilestore_proto_goTypes = nil file_parca_profilestore_v1alpha1_profilestore_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/query/v1alpha1/query.pb.go b/gen/proto/go/parca/query/v1alpha1/query.pb.go index f672d6b13ec..edba168568e 100644 --- a/gen/proto/go/parca/query/v1alpha1/query.pb.go +++ b/gen/proto/go/parca/query/v1alpha1/query.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/query/v1alpha1/query.proto @@ -16,6 +16,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -212,18 +213,16 @@ func (QueryRequest_ReportType) EnumDescriptor() ([]byte, []int) { // ProfileTypesRequest is the request to retrieve the list of available profile types. type ProfileTypesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileTypesRequest) Reset() { *x = ProfileTypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileTypesRequest) String() string { @@ -234,7 +233,7 @@ func (*ProfileTypesRequest) ProtoMessage() {} func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,21 +250,18 @@ func (*ProfileTypesRequest) Descriptor() ([]byte, []int) { // ProfileTypesResponse is the response to retrieve the list of available profile types. type ProfileTypesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // types is the list of available profile types. - Types []*ProfileType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` + Types []*ProfileType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileTypesResponse) Reset() { *x = ProfileTypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileTypesResponse) String() string { @@ -276,7 +272,7 @@ func (*ProfileTypesResponse) ProtoMessage() {} func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -300,10 +296,7 @@ func (x *ProfileTypesResponse) GetTypes() []*ProfileType { // ProfileType is the type of a profile as well as the units the profile type is available in. type ProfileType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name is the name of the profile type. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // sample_type is the type of the samples in the profile. @@ -315,16 +308,16 @@ type ProfileType struct { // period_unit is the unit of the periods in the profile. PeriodUnit string `protobuf:"bytes,5,opt,name=period_unit,json=periodUnit,proto3" json:"period_unit,omitempty"` // delta describes whether the profile is a delta profile. - Delta bool `protobuf:"varint,6,opt,name=delta,proto3" json:"delta,omitempty"` + Delta bool `protobuf:"varint,6,opt,name=delta,proto3" json:"delta,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileType) Reset() { *x = ProfileType{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileType) String() string { @@ -335,7 +328,7 @@ func (*ProfileType) ProtoMessage() {} func (x *ProfileType) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,10 +387,7 @@ func (x *ProfileType) GetDelta() bool { // QueryRangeRequest is the request for a set of profiles matching a query over a time window type QueryRangeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // query is the query string to match profiles against Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // start is the start of the query time window @@ -409,16 +399,16 @@ type QueryRangeRequest struct { // step is the duration of each sample returned. Step *durationpb.Duration `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"` // sum_by is the set of labels to sum by - SumBy []string `protobuf:"bytes,6,rep,name=sum_by,json=sumBy,proto3" json:"sum_by,omitempty"` + SumBy []string `protobuf:"bytes,6,rep,name=sum_by,json=sumBy,proto3" json:"sum_by,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryRangeRequest) Reset() { *x = QueryRangeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryRangeRequest) String() string { @@ -429,7 +419,7 @@ func (*QueryRangeRequest) ProtoMessage() {} func (x *QueryRangeRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,21 +478,18 @@ func (x *QueryRangeRequest) GetSumBy() []string { // QueryRangeResponse is the set of matching profile values type QueryRangeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // series is the set of metrics series that satisfy the query range request - Series []*MetricsSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` + Series []*MetricsSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryRangeResponse) Reset() { *x = QueryRangeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryRangeResponse) String() string { @@ -513,7 +500,7 @@ func (*QueryRangeResponse) ProtoMessage() {} func (x *QueryRangeResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -537,10 +524,7 @@ func (x *QueryRangeResponse) GetSeries() []*MetricsSeries { // MetricsSeries is a set of labels and corresponding sample values type MetricsSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // labelset is the set of key value pairs Labelset *v1alpha1.LabelSet `protobuf:"bytes,1,opt,name=labelset,proto3" json:"labelset,omitempty"` // samples is the set of top-level cumulative values of the corresponding profiles @@ -548,16 +532,16 @@ type MetricsSeries struct { // period_type is the value type of profile period PeriodType *ValueType `protobuf:"bytes,3,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"` // sample_type is the value type of profile sample - SampleType *ValueType `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` + SampleType *ValueType `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsSeries) Reset() { *x = MetricsSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsSeries) String() string { @@ -568,7 +552,7 @@ func (*MetricsSeries) ProtoMessage() {} func (x *MetricsSeries) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -613,10 +597,7 @@ func (x *MetricsSeries) GetSampleType() *ValueType { // MetricsSample is a cumulative value and timestamp of a profile type MetricsSample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // timestamp is the time the profile was ingested Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // value is the cumulative value for the profile @@ -624,16 +605,16 @@ type MetricsSample struct { // value_per_second is the calculated per second average in the steps duration ValuePerSecond float64 `protobuf:"fixed64,3,opt,name=value_per_second,json=valuePerSecond,proto3" json:"value_per_second,omitempty"` // duration is the normalized aggregated duration the metric samples has been observed over. - Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsSample) Reset() { *x = MetricsSample{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsSample) String() string { @@ -644,7 +625,7 @@ func (*MetricsSample) ProtoMessage() {} func (x *MetricsSample) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -689,25 +670,22 @@ func (x *MetricsSample) GetDuration() int64 { // MergeProfile contains parameters for a merge request type MergeProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // query is the query string to match profiles for merge Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // start is the beginning of the evaluation time window Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end is the end of the evaluation time window - End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MergeProfile) Reset() { *x = MergeProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MergeProfile) String() string { @@ -718,7 +696,7 @@ func (*MergeProfile) ProtoMessage() {} func (x *MergeProfile) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -756,23 +734,20 @@ func (x *MergeProfile) GetEnd() *timestamppb.Timestamp { // SingleProfile contains parameters for a single profile query request type SingleProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // time is the point in time to perform the profile request Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // query is the query string to retrieve the profile - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SingleProfile) Reset() { *x = SingleProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SingleProfile) String() string { @@ -783,7 +758,7 @@ func (*SingleProfile) ProtoMessage() {} func (x *SingleProfile) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -814,25 +789,22 @@ func (x *SingleProfile) GetQuery() string { // DiffProfile contains parameters for a profile diff request type DiffProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // a is the first profile to diff A *ProfileDiffSelection `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // b is the second profile to diff B *ProfileDiffSelection `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // absolute diffing, by default comparisons are relative - Absolute *bool `protobuf:"varint,3,opt,name=absolute,proto3,oneof" json:"absolute,omitempty"` + Absolute *bool `protobuf:"varint,3,opt,name=absolute,proto3,oneof" json:"absolute,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiffProfile) Reset() { *x = DiffProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DiffProfile) String() string { @@ -843,7 +815,7 @@ func (*DiffProfile) ProtoMessage() {} func (x *DiffProfile) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,28 +853,25 @@ func (x *DiffProfile) GetAbsolute() bool { // ProfileDiffSelection contains the parameters of a diff selection type ProfileDiffSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // mode is the selection of the diff mode Mode ProfileDiffSelection_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.ProfileDiffSelection_Mode" json:"mode,omitempty"` // options are the available options for a diff selection // - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *ProfileDiffSelection_Merge // *ProfileDiffSelection_Single - Options isProfileDiffSelection_Options `protobuf_oneof:"options"` + Options isProfileDiffSelection_Options `protobuf_oneof:"options"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileDiffSelection) Reset() { *x = ProfileDiffSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileDiffSelection) String() string { @@ -913,7 +882,7 @@ func (*ProfileDiffSelection) ProtoMessage() {} func (x *ProfileDiffSelection) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -935,23 +904,27 @@ func (x *ProfileDiffSelection) GetMode() ProfileDiffSelection_Mode { return ProfileDiffSelection_MODE_SINGLE_UNSPECIFIED } -func (m *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options { - if m != nil { - return m.Options +func (x *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options { + if x != nil { + return x.Options } return nil } func (x *ProfileDiffSelection) GetMerge() *MergeProfile { - if x, ok := x.GetOptions().(*ProfileDiffSelection_Merge); ok { - return x.Merge + if x != nil { + if x, ok := x.Options.(*ProfileDiffSelection_Merge); ok { + return x.Merge + } } return nil } func (x *ProfileDiffSelection) GetSingle() *SingleProfile { - if x, ok := x.GetOptions().(*ProfileDiffSelection_Single); ok { - return x.Single + if x != nil { + if x, ok := x.Options.(*ProfileDiffSelection_Single); ok { + return x.Single + } } return nil } @@ -976,15 +949,12 @@ func (*ProfileDiffSelection_Single) isProfileDiffSelection_Options() {} // QueryRequest is a request for a profile query type QueryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // mode indicates the type of query performed Mode QueryRequest_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.QueryRequest_Mode" json:"mode,omitempty"` // options are the options corresponding to the mode // - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *QueryRequest_Diff // *QueryRequest_Merge @@ -1009,16 +979,16 @@ type QueryRequest struct { // invert_call_stack inverts the call stacks in the flamegraph InvertCallStack *bool `protobuf:"varint,11,opt,name=invert_call_stack,json=invertCallStack,proto3,oneof" json:"invert_call_stack,omitempty"` // a set of filter to apply to the query request - Filter []*Filter `protobuf:"bytes,12,rep,name=filter,proto3" json:"filter,omitempty"` + Filter []*Filter `protobuf:"bytes,12,rep,name=filter,proto3" json:"filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryRequest) Reset() { *x = QueryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryRequest) String() string { @@ -1029,7 +999,7 @@ func (*QueryRequest) ProtoMessage() {} func (x *QueryRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1051,30 +1021,36 @@ func (x *QueryRequest) GetMode() QueryRequest_Mode { return QueryRequest_MODE_SINGLE_UNSPECIFIED } -func (m *QueryRequest) GetOptions() isQueryRequest_Options { - if m != nil { - return m.Options +func (x *QueryRequest) GetOptions() isQueryRequest_Options { + if x != nil { + return x.Options } return nil } func (x *QueryRequest) GetDiff() *DiffProfile { - if x, ok := x.GetOptions().(*QueryRequest_Diff); ok { - return x.Diff + if x != nil { + if x, ok := x.Options.(*QueryRequest_Diff); ok { + return x.Diff + } } return nil } func (x *QueryRequest) GetMerge() *MergeProfile { - if x, ok := x.GetOptions().(*QueryRequest_Merge); ok { - return x.Merge + if x != nil { + if x, ok := x.Options.(*QueryRequest_Merge); ok { + return x.Merge + } } return nil } func (x *QueryRequest) GetSingle() *SingleProfile { - if x, ok := x.GetOptions().(*QueryRequest_Single); ok { - return x.Single + if x != nil { + if x, ok := x.Options.(*QueryRequest_Single); ok { + return x.Single + } } return nil } @@ -1164,26 +1140,23 @@ func (*QueryRequest_Single) isQueryRequest_Options() {} // Filter to apply to the query request type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // filter is a oneof type of filter to apply to the query request // - // Types that are assignable to Filter: + // Types that are valid to be assigned to Filter: // // *Filter_StackFilter // *Filter_FrameFilter - Filter isFilter_Filter `protobuf_oneof:"filter"` + Filter isFilter_Filter `protobuf_oneof:"filter"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -1194,7 +1167,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1209,23 +1182,27 @@ func (*Filter) Descriptor() ([]byte, []int) { return file_parca_query_v1alpha1_query_proto_rawDescGZIP(), []int{12} } -func (m *Filter) GetFilter() isFilter_Filter { - if m != nil { - return m.Filter +func (x *Filter) GetFilter() isFilter_Filter { + if x != nil { + return x.Filter } return nil } func (x *Filter) GetStackFilter() *StackFilter { - if x, ok := x.GetFilter().(*Filter_StackFilter); ok { - return x.StackFilter + if x != nil { + if x, ok := x.Filter.(*Filter_StackFilter); ok { + return x.StackFilter + } } return nil } func (x *Filter) GetFrameFilter() *FrameFilter { - if x, ok := x.GetFilter().(*Filter_FrameFilter); ok { - return x.FrameFilter + if x != nil { + if x, ok := x.Filter.(*Filter_FrameFilter); ok { + return x.FrameFilter + } } return nil } @@ -1250,25 +1227,22 @@ func (*Filter_FrameFilter) isFilter_Filter() {} // StackFilter is a filter for filtering by stacks type StackFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // filter contains the different methods in which you can filter a stack // - // Types that are assignable to Filter: + // Types that are valid to be assigned to Filter: // // *StackFilter_FunctionNameStackFilter - Filter isStackFilter_Filter `protobuf_oneof:"filter"` + Filter isStackFilter_Filter `protobuf_oneof:"filter"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StackFilter) Reset() { *x = StackFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StackFilter) String() string { @@ -1279,7 +1253,7 @@ func (*StackFilter) ProtoMessage() {} func (x *StackFilter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1294,16 +1268,18 @@ func (*StackFilter) Descriptor() ([]byte, []int) { return file_parca_query_v1alpha1_query_proto_rawDescGZIP(), []int{13} } -func (m *StackFilter) GetFilter() isStackFilter_Filter { - if m != nil { - return m.Filter +func (x *StackFilter) GetFilter() isStackFilter_Filter { + if x != nil { + return x.Filter } return nil } func (x *StackFilter) GetFunctionNameStackFilter() *FunctionNameStackFilter { - if x, ok := x.GetFilter().(*StackFilter_FunctionNameStackFilter); ok { - return x.FunctionNameStackFilter + if x != nil { + if x, ok := x.Filter.(*StackFilter_FunctionNameStackFilter); ok { + return x.FunctionNameStackFilter + } } return nil } @@ -1321,21 +1297,18 @@ func (*StackFilter_FunctionNameStackFilter) isStackFilter_Filter() {} // FunctionNameStackFilter is a filter for filtering by function name type FunctionNameStackFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // function_to_filter is the function name to filter by FunctionToFilter string `protobuf:"bytes,1,opt,name=function_to_filter,json=functionToFilter,proto3" json:"function_to_filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FunctionNameStackFilter) Reset() { *x = FunctionNameStackFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FunctionNameStackFilter) String() string { @@ -1346,7 +1319,7 @@ func (*FunctionNameStackFilter) ProtoMessage() {} func (x *FunctionNameStackFilter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1370,25 +1343,22 @@ func (x *FunctionNameStackFilter) GetFunctionToFilter() string { // FrameFilter is a filter for filtering by frames type FrameFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // filter contains the different methods in which you can filter a frame // - // Types that are assignable to Filter: + // Types that are valid to be assigned to Filter: // // *FrameFilter_BinaryFrameFilter - Filter isFrameFilter_Filter `protobuf_oneof:"filter"` + Filter isFrameFilter_Filter `protobuf_oneof:"filter"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FrameFilter) Reset() { *x = FrameFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FrameFilter) String() string { @@ -1399,7 +1369,7 @@ func (*FrameFilter) ProtoMessage() {} func (x *FrameFilter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1414,16 +1384,18 @@ func (*FrameFilter) Descriptor() ([]byte, []int) { return file_parca_query_v1alpha1_query_proto_rawDescGZIP(), []int{15} } -func (m *FrameFilter) GetFilter() isFrameFilter_Filter { - if m != nil { - return m.Filter +func (x *FrameFilter) GetFilter() isFrameFilter_Filter { + if x != nil { + return x.Filter } return nil } func (x *FrameFilter) GetBinaryFrameFilter() *BinaryFrameFilter { - if x, ok := x.GetFilter().(*FrameFilter_BinaryFrameFilter); ok { - return x.BinaryFrameFilter + if x != nil { + if x, ok := x.Filter.(*FrameFilter_BinaryFrameFilter); ok { + return x.BinaryFrameFilter + } } return nil } @@ -1441,21 +1413,18 @@ func (*FrameFilter_BinaryFrameFilter) isFrameFilter_Filter() {} // BinaryFrameFilter is a filter for filtering by binaries type BinaryFrameFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // include_binaries is the list of binaries to filter by IncludeBinaries []string `protobuf:"bytes,1,rep,name=include_binaries,json=includeBinaries,proto3" json:"include_binaries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BinaryFrameFilter) Reset() { *x = BinaryFrameFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryFrameFilter) String() string { @@ -1466,7 +1435,7 @@ func (*BinaryFrameFilter) ProtoMessage() {} func (x *BinaryFrameFilter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1490,25 +1459,22 @@ func (x *BinaryFrameFilter) GetIncludeBinaries() []string { // RuntimeFilter configures which runtimes to filter frames out for. type RuntimeFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Whether to show frames of the python runtime. ShowPython bool `protobuf:"varint,1,opt,name=show_python,json=showPython,proto3" json:"show_python,omitempty"` // Whether to show frames of the ruby runtime. ShowRuby bool `protobuf:"varint,2,opt,name=show_ruby,json=showRuby,proto3" json:"show_ruby,omitempty"` // Whether to only show interpreted frames. ShowInterpretedOnly bool `protobuf:"varint,3,opt,name=show_interpreted_only,json=showInterpretedOnly,proto3" json:"show_interpreted_only,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RuntimeFilter) Reset() { *x = RuntimeFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuntimeFilter) String() string { @@ -1519,7 +1485,7 @@ func (*RuntimeFilter) ProtoMessage() {} func (x *RuntimeFilter) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1557,25 +1523,22 @@ func (x *RuntimeFilter) GetShowInterpretedOnly() bool { // SourceReference contains a reference to source code. type SourceReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The build ID to request the source of. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The filename requested. Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // Whether to perform a full query or just retrieve the source. - SourceOnly bool `protobuf:"varint,3,opt,name=source_only,json=sourceOnly,proto3" json:"source_only,omitempty"` + SourceOnly bool `protobuf:"varint,3,opt,name=source_only,json=sourceOnly,proto3" json:"source_only,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SourceReference) Reset() { *x = SourceReference{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceReference) String() string { @@ -1586,7 +1549,7 @@ func (*SourceReference) ProtoMessage() {} func (x *SourceReference) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1624,22 +1587,19 @@ func (x *SourceReference) GetSourceOnly() bool { // GroupBy encapsulates the repeated fields to group by type GroupBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // the names of the fields to group by. // special fields are the ones prefixed with "labels." which are grouping by pprof labels. - Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GroupBy) Reset() { *x = GroupBy{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GroupBy) String() string { @@ -1650,7 +1610,7 @@ func (*GroupBy) ProtoMessage() {} func (x *GroupBy) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1674,10 +1634,7 @@ func (x *GroupBy) GetFields() []string { // Top is the top report type type Top struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // list are the list of ordered elements of the table List []*TopNode `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // reported is the number of lines reported @@ -1688,16 +1645,16 @@ type Top struct { // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // unit is the unit represented by top table - Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"` + Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Top) Reset() { *x = Top{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Top) String() string { @@ -1708,7 +1665,7 @@ func (*Top) ProtoMessage() {} func (x *Top) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1754,10 +1711,7 @@ func (x *Top) GetUnit() string { // TopNode is a node entry in a top list type TopNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // meta is the metadata about the node Meta *TopNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // cumulative is the cumulative value of the node @@ -1765,16 +1719,16 @@ type TopNode struct { // flat is the flat value of the node Flat int64 `protobuf:"varint,3,opt,name=flat,proto3" json:"flat,omitempty"` // diff is the diff value between two profiles - Diff int64 `protobuf:"varint,4,opt,name=diff,proto3" json:"diff,omitempty"` + Diff int64 `protobuf:"varint,4,opt,name=diff,proto3" json:"diff,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TopNode) Reset() { *x = TopNode{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TopNode) String() string { @@ -1785,7 +1739,7 @@ func (*TopNode) ProtoMessage() {} func (x *TopNode) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1830,10 +1784,7 @@ func (x *TopNode) GetDiff() int64 { // TopNodeMeta is the metadata for a given node type TopNodeMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code @@ -1841,16 +1792,16 @@ type TopNodeMeta struct { // function is the function information Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // line is the line location - Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` + Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TopNodeMeta) Reset() { *x = TopNodeMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TopNodeMeta) String() string { @@ -1861,7 +1812,7 @@ func (*TopNodeMeta) ProtoMessage() {} func (x *TopNodeMeta) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1906,10 +1857,7 @@ func (x *TopNodeMeta) GetLine() *v1alpha11.Line { // Flamegraph is the flame graph report type type Flamegraph struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // root is the root of the flame graph Root *FlamegraphRootNode `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // total is the total weight of the flame graph @@ -1935,16 +1883,16 @@ type Flamegraph struct { // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. UntrimmedTotal int64 `protobuf:"varint,9,opt,name=untrimmed_total,json=untrimmedTotal,proto3" json:"untrimmed_total,omitempty"` // trimmed is the amount of cumulative value trimmed from the flame graph. - Trimmed int64 `protobuf:"varint,10,opt,name=trimmed,proto3" json:"trimmed,omitempty"` + Trimmed int64 `protobuf:"varint,10,opt,name=trimmed,proto3" json:"trimmed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Flamegraph) Reset() { *x = Flamegraph{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Flamegraph) String() string { @@ -1955,7 +1903,7 @@ func (*Flamegraph) ProtoMessage() {} func (x *Flamegraph) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2044,10 +1992,7 @@ func (x *Flamegraph) GetTrimmed() int64 { // Flamegraph is the flame graph report type type FlamegraphArrow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // record is the arrow record containing the actual flamegraph data Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // unit is the unit represented by the flame graph @@ -2055,16 +2000,16 @@ type FlamegraphArrow struct { // height is the max height of the graph Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // trimmed is the amount of cumulative value trimmed from the flame graph. - Trimmed int64 `protobuf:"varint,4,opt,name=trimmed,proto3" json:"trimmed,omitempty"` + Trimmed int64 `protobuf:"varint,4,opt,name=trimmed,proto3" json:"trimmed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FlamegraphArrow) Reset() { *x = FlamegraphArrow{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlamegraphArrow) String() string { @@ -2075,7 +2020,7 @@ func (*FlamegraphArrow) ProtoMessage() {} func (x *FlamegraphArrow) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2120,25 +2065,22 @@ func (x *FlamegraphArrow) GetTrimmed() int64 { // Source is the result of the source report type. type Source struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // An arrow record that contains a row per source code line with value and diff columns for flat and cumulative. Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // The actual source file content. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The unit of the values in the record. - Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` + Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Source) Reset() { *x = Source{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Source) String() string { @@ -2149,7 +2091,7 @@ func (*Source) ProtoMessage() {} func (x *Source) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2187,25 +2129,22 @@ func (x *Source) GetUnit() string { // FlamegraphRootNode is a root node of a flame graph type FlamegraphRootNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // cumulative is the cumulative value of the graph Cumulative int64 `protobuf:"varint,1,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // diff is the diff Diff int64 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` // children are the list of the children of the root node - Children []*FlamegraphNode `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` + Children []*FlamegraphNode `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FlamegraphRootNode) Reset() { *x = FlamegraphRootNode{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlamegraphRootNode) String() string { @@ -2216,7 +2155,7 @@ func (*FlamegraphRootNode) ProtoMessage() {} func (x *FlamegraphRootNode) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2254,10 +2193,7 @@ func (x *FlamegraphRootNode) GetChildren() []*FlamegraphNode { // FlamegraphNode represents a node in the graph type FlamegraphNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // meta is the metadata about the node Meta *FlamegraphNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // cumulative is the cumulative value of the node @@ -2265,16 +2201,16 @@ type FlamegraphNode struct { // diff is the diff Diff int64 `protobuf:"varint,3,opt,name=diff,proto3" json:"diff,omitempty"` // children are the child nodes - Children []*FlamegraphNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` + Children []*FlamegraphNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FlamegraphNode) Reset() { *x = FlamegraphNode{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlamegraphNode) String() string { @@ -2285,7 +2221,7 @@ func (*FlamegraphNode) ProtoMessage() {} func (x *FlamegraphNode) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2330,10 +2266,7 @@ func (x *FlamegraphNode) GetChildren() []*FlamegraphNode { // FlamegraphNodeMeta is the metadata for a given node type FlamegraphNodeMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code @@ -2345,16 +2278,16 @@ type FlamegraphNodeMeta struct { // location_index has the index to the deduplicated location in the location table. LocationIndex uint32 `protobuf:"varint,5,opt,name=location_index,json=locationIndex,proto3" json:"location_index,omitempty"` // line_index is the line index within the referenced location. - LineIndex uint32 `protobuf:"varint,6,opt,name=line_index,json=lineIndex,proto3" json:"line_index,omitempty"` + LineIndex uint32 `protobuf:"varint,6,opt,name=line_index,json=lineIndex,proto3" json:"line_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FlamegraphNodeMeta) Reset() { *x = FlamegraphNodeMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlamegraphNodeMeta) String() string { @@ -2365,7 +2298,7 @@ func (*FlamegraphNodeMeta) ProtoMessage() {} func (x *FlamegraphNodeMeta) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2424,10 +2357,7 @@ func (x *FlamegraphNodeMeta) GetLineIndex() uint32 { // CallgraphNode represents a node in the graph type CallgraphNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the unique id of the node Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // meta is the metadata about the node @@ -2435,16 +2365,16 @@ type CallgraphNode struct { // cumulative is the cumulative value of the node Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // flat is the flat value of the node - Flat int64 `protobuf:"varint,4,opt,name=flat,proto3" json:"flat,omitempty"` + Flat int64 `protobuf:"varint,4,opt,name=flat,proto3" json:"flat,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CallgraphNode) Reset() { *x = CallgraphNode{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CallgraphNode) String() string { @@ -2455,7 +2385,7 @@ func (*CallgraphNode) ProtoMessage() {} func (x *CallgraphNode) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2500,10 +2430,7 @@ func (x *CallgraphNode) GetFlat() int64 { // TopNodeMeta is the metadata for a given node type CallgraphNodeMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code @@ -2511,16 +2438,16 @@ type CallgraphNodeMeta struct { // function is the function information Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // line is the line location - Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` + Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CallgraphNodeMeta) Reset() { *x = CallgraphNodeMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CallgraphNodeMeta) String() string { @@ -2531,7 +2458,7 @@ func (*CallgraphNodeMeta) ProtoMessage() {} func (x *CallgraphNodeMeta) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2576,10 +2503,7 @@ func (x *CallgraphNodeMeta) GetLine() *v1alpha11.Line { // CallgraphEdge represents an edge in the graph type CallgraphEdge struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id is the unique id of the edge Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // source represents the id of the source node @@ -2589,16 +2513,16 @@ type CallgraphEdge struct { // cumulative is the cumulative value of the edge Cumulative int64 `protobuf:"varint,4,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // is_collapsed indicates if the edge is collapsed - IsCollapsed bool `protobuf:"varint,5,opt,name=is_collapsed,json=isCollapsed,proto3" json:"is_collapsed,omitempty"` + IsCollapsed bool `protobuf:"varint,5,opt,name=is_collapsed,json=isCollapsed,proto3" json:"is_collapsed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CallgraphEdge) Reset() { *x = CallgraphEdge{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CallgraphEdge) String() string { @@ -2609,7 +2533,7 @@ func (*CallgraphEdge) ProtoMessage() {} func (x *CallgraphEdge) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2661,10 +2585,7 @@ func (x *CallgraphEdge) GetIsCollapsed() bool { // Callgraph is the callgraph report type type Callgraph struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // nodes are the nodes in the callgraph Nodes []*CallgraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // edges are the edges connecting nodes in the callgraph @@ -2673,16 +2594,16 @@ type Callgraph struct { // Use total from the top level query response instead. // // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. - Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` + Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Callgraph) Reset() { *x = Callgraph{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Callgraph) String() string { @@ -2693,7 +2614,7 @@ func (*Callgraph) ProtoMessage() {} func (x *Callgraph) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2732,13 +2653,10 @@ func (x *Callgraph) GetCumulative() int64 { // QueryResponse is the returned report for the given query type QueryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // report is the generated report // - // Types that are assignable to Report: + // Types that are valid to be assigned to Report: // // *QueryResponse_Flamegraph // *QueryResponse_Pprof @@ -2752,16 +2670,16 @@ type QueryResponse struct { // total is the total number of samples shown in the report. Total int64 `protobuf:"varint,9,opt,name=total,proto3" json:"total,omitempty"` // filtered is the number of samples filtered out of the report. - Filtered int64 `protobuf:"varint,10,opt,name=filtered,proto3" json:"filtered,omitempty"` + Filtered int64 `protobuf:"varint,10,opt,name=filtered,proto3" json:"filtered,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryResponse) Reset() { *x = QueryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryResponse) String() string { @@ -2772,7 +2690,7 @@ func (*QueryResponse) ProtoMessage() {} func (x *QueryResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2787,65 +2705,81 @@ func (*QueryResponse) Descriptor() ([]byte, []int) { return file_parca_query_v1alpha1_query_proto_rawDescGZIP(), []int{33} } -func (m *QueryResponse) GetReport() isQueryResponse_Report { - if m != nil { - return m.Report +func (x *QueryResponse) GetReport() isQueryResponse_Report { + if x != nil { + return x.Report } return nil } func (x *QueryResponse) GetFlamegraph() *Flamegraph { - if x, ok := x.GetReport().(*QueryResponse_Flamegraph); ok { - return x.Flamegraph + if x != nil { + if x, ok := x.Report.(*QueryResponse_Flamegraph); ok { + return x.Flamegraph + } } return nil } func (x *QueryResponse) GetPprof() []byte { - if x, ok := x.GetReport().(*QueryResponse_Pprof); ok { - return x.Pprof + if x != nil { + if x, ok := x.Report.(*QueryResponse_Pprof); ok { + return x.Pprof + } } return nil } func (x *QueryResponse) GetTop() *Top { - if x, ok := x.GetReport().(*QueryResponse_Top); ok { - return x.Top + if x != nil { + if x, ok := x.Report.(*QueryResponse_Top); ok { + return x.Top + } } return nil } func (x *QueryResponse) GetCallgraph() *Callgraph { - if x, ok := x.GetReport().(*QueryResponse_Callgraph); ok { - return x.Callgraph + if x != nil { + if x, ok := x.Report.(*QueryResponse_Callgraph); ok { + return x.Callgraph + } } return nil } func (x *QueryResponse) GetFlamegraphArrow() *FlamegraphArrow { - if x, ok := x.GetReport().(*QueryResponse_FlamegraphArrow); ok { - return x.FlamegraphArrow + if x != nil { + if x, ok := x.Report.(*QueryResponse_FlamegraphArrow); ok { + return x.FlamegraphArrow + } } return nil } func (x *QueryResponse) GetSource() *Source { - if x, ok := x.GetReport().(*QueryResponse_Source); ok { - return x.Source + if x != nil { + if x, ok := x.Report.(*QueryResponse_Source); ok { + return x.Source + } } return nil } func (x *QueryResponse) GetTableArrow() *TableArrow { - if x, ok := x.GetReport().(*QueryResponse_TableArrow); ok { - return x.TableArrow + if x != nil { + if x, ok := x.Report.(*QueryResponse_TableArrow); ok { + return x.TableArrow + } } return nil } func (x *QueryResponse) GetProfileMetadata() *ProfileMetadata { - if x, ok := x.GetReport().(*QueryResponse_ProfileMetadata); ok { - return x.ProfileMetadata + if x != nil { + if x, ok := x.Report.(*QueryResponse_ProfileMetadata); ok { + return x.ProfileMetadata + } } return nil } @@ -2926,25 +2860,22 @@ func (*QueryResponse_ProfileMetadata) isQueryResponse_Report() {} // SeriesRequest is unimplemented type SeriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // match ... Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"` // start ... Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end ... - End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SeriesRequest) Reset() { *x = SeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SeriesRequest) String() string { @@ -2955,7 +2886,7 @@ func (*SeriesRequest) ProtoMessage() {} func (x *SeriesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2993,18 +2924,16 @@ func (x *SeriesRequest) GetEnd() *timestamppb.Timestamp { // SeriesResponse is unimplemented type SeriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SeriesResponse) Reset() { *x = SeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SeriesResponse) String() string { @@ -3015,7 +2944,7 @@ func (*SeriesResponse) ProtoMessage() {} func (x *SeriesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3032,10 +2961,7 @@ func (*SeriesResponse) Descriptor() ([]byte, []int) { // LabelsRequest are the request values for labels type LabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // match are the set of matching strings Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"` // start is the start of the time window to perform the query @@ -3043,16 +2969,16 @@ type LabelsRequest struct { // end is the end of the time window to perform the query End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // profile_type is the type of profile to filter by - ProfileType *string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"` + ProfileType *string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LabelsRequest) Reset() { *x = LabelsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LabelsRequest) String() string { @@ -3063,7 +2989,7 @@ func (*LabelsRequest) ProtoMessage() {} func (x *LabelsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3108,23 +3034,20 @@ func (x *LabelsRequest) GetProfileType() string { // LabelsResponse is the set of matching label names type LabelsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // / label_names are the set of matching label names LabelNames []string `protobuf:"bytes,1,rep,name=label_names,json=labelNames,proto3" json:"label_names,omitempty"` // warnings is unimplemented - Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` + Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LabelsResponse) Reset() { *x = LabelsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LabelsResponse) String() string { @@ -3135,7 +3058,7 @@ func (*LabelsResponse) ProtoMessage() {} func (x *LabelsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3166,10 +3089,7 @@ func (x *LabelsResponse) GetWarnings() []string { // ValuesRequest are the request values for a values request type ValuesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // label_name is the label name to match values against LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"` // match are the set of matching strings to match values against @@ -3179,16 +3099,16 @@ type ValuesRequest struct { // end is the end of the time window to perform the query End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` // profile_type is the type of profile to filter by - ProfileType *string `protobuf:"bytes,5,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"` + ProfileType *string `protobuf:"bytes,5,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValuesRequest) Reset() { *x = ValuesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValuesRequest) String() string { @@ -3199,7 +3119,7 @@ func (*ValuesRequest) ProtoMessage() {} func (x *ValuesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3251,23 +3171,20 @@ func (x *ValuesRequest) GetProfileType() string { // ValuesResponse are the set of matching values type ValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // label_values are the set of matching label values LabelValues []string `protobuf:"bytes,1,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"` // warnings is unimplemented - Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` + Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValuesResponse) Reset() { *x = ValuesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValuesResponse) String() string { @@ -3278,7 +3195,7 @@ func (*ValuesResponse) ProtoMessage() {} func (x *ValuesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3309,23 +3226,20 @@ func (x *ValuesResponse) GetWarnings() []string { // ValueType represents a value, including its type and unit type ValueType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // type is the type of the value Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // unit is the unit of the value - Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` + Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValueType) Reset() { *x = ValueType{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValueType) String() string { @@ -3336,7 +3250,7 @@ func (*ValueType) ProtoMessage() {} func (x *ValueType) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3367,23 +3281,20 @@ func (x *ValueType) GetUnit() string { // ShareProfileRequest represents the query denoting the profile and a description about the profile type ShareProfileRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // QueryRequest that refers to the profile to be shared QueryRequest *QueryRequest `protobuf:"bytes,1,opt,name=query_request,json=queryRequest,proto3" json:"query_request,omitempty"` // description about the profile - Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShareProfileRequest) Reset() { *x = ShareProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShareProfileRequest) String() string { @@ -3394,7 +3305,7 @@ func (*ShareProfileRequest) ProtoMessage() {} func (x *ShareProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3425,21 +3336,18 @@ func (x *ShareProfileRequest) GetDescription() string { // ShareProfileResponse represents the shared link of a profile type ShareProfileResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // link to access the profile - Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` + Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShareProfileResponse) Reset() { *x = ShareProfileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShareProfileResponse) String() string { @@ -3450,7 +3358,7 @@ func (*ShareProfileResponse) ProtoMessage() {} func (x *ShareProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3474,23 +3382,20 @@ func (x *ShareProfileResponse) GetLink() string { // TableArrow has the table encoded as a arrow record type TableArrow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // record is the arrow record containing the actual table data Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // unit is the unit represented by the flame graph - Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` + Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TableArrow) Reset() { *x = TableArrow{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TableArrow) String() string { @@ -3501,7 +3406,7 @@ func (*TableArrow) ProtoMessage() {} func (x *TableArrow) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3532,23 +3437,20 @@ func (x *TableArrow) GetUnit() string { // ProfileMetadata contains metadata about the profile i.e. binaries, labels type ProfileMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // mapping_files is the list of binaries in the profile MappingFiles []string `protobuf:"bytes,1,rep,name=mapping_files,json=mappingFiles,proto3" json:"mapping_files,omitempty"` // labels is the list of labels in the profile - Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` + Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileMetadata) Reset() { *x = ProfileMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_query_v1alpha1_query_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_query_v1alpha1_query_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileMetadata) String() string { @@ -3559,7 +3461,7 @@ func (*ProfileMetadata) ProtoMessage() {} func (x *ProfileMetadata) ProtoReflect() protoreflect.Message { mi := &file_parca_query_v1alpha1_query_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3590,7 +3492,7 @@ func (x *ProfileMetadata) GetLabels() []string { var File_parca_query_v1alpha1_query_proto protoreflect.FileDescriptor -var file_parca_query_v1alpha1_query_proto_rawDesc = []byte{ +var file_parca_query_v1alpha1_query_proto_rawDesc = string([]byte{ 0x0a, 0x20, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, @@ -4182,23 +4084,23 @@ var file_parca_query_v1alpha1_query_proto_rawDesc = []byte{ 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_query_v1alpha1_query_proto_rawDescOnce sync.Once - file_parca_query_v1alpha1_query_proto_rawDescData = file_parca_query_v1alpha1_query_proto_rawDesc + file_parca_query_v1alpha1_query_proto_rawDescData []byte ) func file_parca_query_v1alpha1_query_proto_rawDescGZIP() []byte { file_parca_query_v1alpha1_query_proto_rawDescOnce.Do(func() { - file_parca_query_v1alpha1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_query_v1alpha1_query_proto_rawDescData) + file_parca_query_v1alpha1_query_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_query_v1alpha1_query_proto_rawDesc), len(file_parca_query_v1alpha1_query_proto_rawDesc))) }) return file_parca_query_v1alpha1_query_proto_rawDescData } var file_parca_query_v1alpha1_query_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_parca_query_v1alpha1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_parca_query_v1alpha1_query_proto_goTypes = []interface{}{ +var file_parca_query_v1alpha1_query_proto_goTypes = []any{ (ProfileDiffSelection_Mode)(0), // 0: parca.query.v1alpha1.ProfileDiffSelection.Mode (QueryRequest_Mode)(0), // 1: parca.query.v1alpha1.QueryRequest.Mode (QueryRequest_ReportType)(0), // 2: parca.query.v1alpha1.QueryRequest.ReportType @@ -4351,569 +4253,27 @@ func file_parca_query_v1alpha1_query_proto_init() { if File_parca_query_v1alpha1_query_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_query_v1alpha1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileTypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileTypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRangeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRangeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsSeries); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsSample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MergeProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SingleProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiffProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileDiffSelection); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StackFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FunctionNameStackFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FrameFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryFrameFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuntimeFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupBy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Top); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TopNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TopNodeMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Flamegraph); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlamegraphArrow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Source); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlamegraphRootNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlamegraphNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlamegraphNodeMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallgraphNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallgraphNodeMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallgraphEdge); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Callgraph); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SeriesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SeriesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValuesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValuesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValueType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareProfileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableArrow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_parca_query_v1alpha1_query_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_parca_query_v1alpha1_query_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[9].OneofWrappers = []any{} + file_parca_query_v1alpha1_query_proto_msgTypes[10].OneofWrappers = []any{ (*ProfileDiffSelection_Merge)(nil), (*ProfileDiffSelection_Single)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[11].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[11].OneofWrappers = []any{ (*QueryRequest_Diff)(nil), (*QueryRequest_Merge)(nil), (*QueryRequest_Single)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[12].OneofWrappers = []any{ (*Filter_StackFilter)(nil), (*Filter_FrameFilter)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[13].OneofWrappers = []any{ (*StackFilter_FunctionNameStackFilter)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[15].OneofWrappers = []any{ (*FrameFilter_BinaryFrameFilter)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[33].OneofWrappers = []interface{}{ + file_parca_query_v1alpha1_query_proto_msgTypes[33].OneofWrappers = []any{ (*QueryResponse_Flamegraph)(nil), (*QueryResponse_Pprof)(nil), (*QueryResponse_Top)(nil), @@ -4923,14 +4283,14 @@ func file_parca_query_v1alpha1_query_proto_init() { (*QueryResponse_TableArrow)(nil), (*QueryResponse_ProfileMetadata)(nil), } - file_parca_query_v1alpha1_query_proto_msgTypes[36].OneofWrappers = []interface{}{} - file_parca_query_v1alpha1_query_proto_msgTypes[38].OneofWrappers = []interface{}{} - file_parca_query_v1alpha1_query_proto_msgTypes[41].OneofWrappers = []interface{}{} + file_parca_query_v1alpha1_query_proto_msgTypes[36].OneofWrappers = []any{} + file_parca_query_v1alpha1_query_proto_msgTypes[38].OneofWrappers = []any{} + file_parca_query_v1alpha1_query_proto_msgTypes[41].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_query_v1alpha1_query_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_query_v1alpha1_query_proto_rawDesc), len(file_parca_query_v1alpha1_query_proto_rawDesc)), NumEnums: 3, NumMessages: 45, NumExtensions: 0, @@ -4942,7 +4302,6 @@ func file_parca_query_v1alpha1_query_proto_init() { MessageInfos: file_parca_query_v1alpha1_query_proto_msgTypes, }.Build() File_parca_query_v1alpha1_query_proto = out.File - file_parca_query_v1alpha1_query_proto_rawDesc = nil file_parca_query_v1alpha1_query_proto_goTypes = nil file_parca_query_v1alpha1_query_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go b/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go index 368a5a01326..f7de6662c60 100644 --- a/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go +++ b/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/scrape/v1alpha1/scrape.proto @@ -15,6 +15,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -132,21 +133,18 @@ func (Target_Health) EnumDescriptor() ([]byte, []int) { // TargetsRequest contains the parameters for the set of targets to return type TargetsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // state is the state of targets to returns - State TargetsRequest_State `protobuf:"varint,1,opt,name=state,proto3,enum=parca.scrape.v1alpha1.TargetsRequest_State" json:"state,omitempty"` + State TargetsRequest_State `protobuf:"varint,1,opt,name=state,proto3,enum=parca.scrape.v1alpha1.TargetsRequest_State" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TargetsRequest) Reset() { *x = TargetsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TargetsRequest) String() string { @@ -157,7 +155,7 @@ func (*TargetsRequest) ProtoMessage() {} func (x *TargetsRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,21 +179,18 @@ func (x *TargetsRequest) GetState() TargetsRequest_State { // TargetsResponse is the set of targets for the given requested state type TargetsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // targets is the mapping of targets - Targets map[string]*Targets `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Targets map[string]*Targets `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TargetsResponse) Reset() { *x = TargetsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TargetsResponse) String() string { @@ -206,7 +201,7 @@ func (*TargetsResponse) ProtoMessage() {} func (x *TargetsResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,21 +225,18 @@ func (x *TargetsResponse) GetTargets() map[string]*Targets { // Targets is a list of targets type Targets struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // targets is a list of targets - Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` + Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Targets) Reset() { *x = Targets{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Targets) String() string { @@ -255,7 +247,7 @@ func (*Targets) ProtoMessage() {} func (x *Targets) ProtoReflect() protoreflect.Message { mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -279,10 +271,7 @@ func (x *Targets) GetTargets() []*Target { // Target is the scrape target representation type Target struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // discovered_labels are the set of labels for the target that have been discovered DiscoveredLabels *v1alpha1.LabelSet `protobuf:"bytes,1,opt,name=discovered_labels,json=discoveredLabels,proto3" json:"discovered_labels,omitempty"` // labels are the set of labels given for the target @@ -296,16 +285,16 @@ type Target struct { // url is the url of the target Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // health indicates the current health of the target - Health Target_Health `protobuf:"varint,7,opt,name=health,proto3,enum=parca.scrape.v1alpha1.Target_Health" json:"health,omitempty"` + Health Target_Health `protobuf:"varint,7,opt,name=health,proto3,enum=parca.scrape.v1alpha1.Target_Health" json:"health,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Target) Reset() { *x = Target{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Target) String() string { @@ -316,7 +305,7 @@ func (*Target) ProtoMessage() {} func (x *Target) ProtoReflect() protoreflect.Message { mi := &file_parca_scrape_v1alpha1_scrape_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,7 +371,7 @@ func (x *Target) GetHealth() Target_Health { var File_parca_scrape_v1alpha1_scrape_proto protoreflect.FileDescriptor -var file_parca_scrape_v1alpha1_scrape_proto_rawDesc = []byte{ +var file_parca_scrape_v1alpha1_scrape_proto_rawDesc = string([]byte{ 0x0a, 0x22, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x73, 0x63, 0x72, 0x61, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x72, 0x61, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2e, 0x73, 0x63, 0x72, 0x61, @@ -476,23 +465,23 @@ var file_parca_scrape_v1alpha1_scrape_proto_rawDesc = []byte{ 0xea, 0x02, 0x17, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x53, 0x63, 0x72, 0x61, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_scrape_v1alpha1_scrape_proto_rawDescOnce sync.Once - file_parca_scrape_v1alpha1_scrape_proto_rawDescData = file_parca_scrape_v1alpha1_scrape_proto_rawDesc + file_parca_scrape_v1alpha1_scrape_proto_rawDescData []byte ) func file_parca_scrape_v1alpha1_scrape_proto_rawDescGZIP() []byte { file_parca_scrape_v1alpha1_scrape_proto_rawDescOnce.Do(func() { - file_parca_scrape_v1alpha1_scrape_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_scrape_v1alpha1_scrape_proto_rawDescData) + file_parca_scrape_v1alpha1_scrape_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_scrape_v1alpha1_scrape_proto_rawDesc), len(file_parca_scrape_v1alpha1_scrape_proto_rawDesc))) }) return file_parca_scrape_v1alpha1_scrape_proto_rawDescData } var file_parca_scrape_v1alpha1_scrape_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_parca_scrape_v1alpha1_scrape_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_parca_scrape_v1alpha1_scrape_proto_goTypes = []interface{}{ +var file_parca_scrape_v1alpha1_scrape_proto_goTypes = []any{ (TargetsRequest_State)(0), // 0: parca.scrape.v1alpha1.TargetsRequest.State (Target_Health)(0), // 1: parca.scrape.v1alpha1.Target.Health (*TargetsRequest)(nil), // 2: parca.scrape.v1alpha1.TargetsRequest @@ -528,61 +517,11 @@ func file_parca_scrape_v1alpha1_scrape_proto_init() { if File_parca_scrape_v1alpha1_scrape_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_scrape_v1alpha1_scrape_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_scrape_v1alpha1_scrape_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_scrape_v1alpha1_scrape_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Targets); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_scrape_v1alpha1_scrape_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Target); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_scrape_v1alpha1_scrape_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_scrape_v1alpha1_scrape_proto_rawDesc), len(file_parca_scrape_v1alpha1_scrape_proto_rawDesc)), NumEnums: 2, NumMessages: 5, NumExtensions: 0, @@ -594,7 +533,6 @@ func file_parca_scrape_v1alpha1_scrape_proto_init() { MessageInfos: file_parca_scrape_v1alpha1_scrape_proto_msgTypes, }.Build() File_parca_scrape_v1alpha1_scrape_proto = out.File - file_parca_scrape_v1alpha1_scrape_proto_rawDesc = nil file_parca_scrape_v1alpha1_scrape_proto_goTypes = nil file_parca_scrape_v1alpha1_scrape_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/share/v1alpha1/share.pb.go b/gen/proto/go/parca/share/v1alpha1/share.pb.go index a98d959b935..c20f08bb546 100644 --- a/gen/proto/go/parca/share/v1alpha1/share.pb.go +++ b/gen/proto/go/parca/share/v1alpha1/share.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/share/v1alpha1/share.proto @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,23 +24,20 @@ const ( // UploadRequest represents the request with profile bytes and description. type UploadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pprof bytes of the profile to be uploaded. Profile []byte `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // Description of the profile. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadRequest) Reset() { *x = UploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadRequest) String() string { @@ -50,7 +48,7 @@ func (*UploadRequest) ProtoMessage() {} func (x *UploadRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,23 +79,20 @@ func (x *UploadRequest) GetDescription() string { // UploadResponse represents the response with the link that can be used to access the profile. type UploadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id of the uploaded profile. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // link that can be used to access the profile. - Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` + Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadResponse) Reset() { *x = UploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadResponse) String() string { @@ -108,7 +103,7 @@ func (*UploadResponse) ProtoMessage() {} func (x *UploadResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,10 +134,7 @@ func (x *UploadResponse) GetLink() string { // QueryRequest represents the request with the id of the profile to be queried. type QueryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id of the profile to be queried. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type of the profile to be queried. @@ -164,16 +156,16 @@ type QueryRequest struct { // invert_call_stack inverts the call stacks in the flamegraph InvertCallStack *bool `protobuf:"varint,8,opt,name=invert_call_stack,json=invertCallStack,proto3,oneof" json:"invert_call_stack,omitempty"` // filter is a varying set of filter to apply to the query - Filter []*v1alpha1.Filter `protobuf:"bytes,9,rep,name=filter,proto3" json:"filter,omitempty"` + Filter []*v1alpha1.Filter `protobuf:"bytes,9,rep,name=filter,proto3" json:"filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryRequest) Reset() { *x = QueryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryRequest) String() string { @@ -184,7 +176,7 @@ func (*QueryRequest) ProtoMessage() {} func (x *QueryRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -266,21 +258,18 @@ func (x *QueryRequest) GetFilter() []*v1alpha1.Filter { // ProfileTypesRequest represents the profile types request with the id of the profile to be queried. type ProfileTypesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id of the profile's types to be queried. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileTypesRequest) Reset() { *x = ProfileTypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileTypesRequest) String() string { @@ -291,7 +280,7 @@ func (*ProfileTypesRequest) ProtoMessage() {} func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -315,23 +304,20 @@ func (x *ProfileTypesRequest) GetId() string { // ProfileTypesResponse represents the response with the list of available profile types. type ProfileTypesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // list of available profile types. Types []*v1alpha1.ProfileType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` // description of the profile uploaded. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileTypesResponse) Reset() { *x = ProfileTypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileTypesResponse) String() string { @@ -342,7 +328,7 @@ func (*ProfileTypesResponse) ProtoMessage() {} func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -373,13 +359,10 @@ func (x *ProfileTypesResponse) GetDescription() string { // QueryResponse is the returned report for the given query. type QueryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // report is the generated report // - // Types that are assignable to Report: + // Types that are valid to be assigned to Report: // // *QueryResponse_Flamegraph // *QueryResponse_Pprof @@ -393,16 +376,16 @@ type QueryResponse struct { // total is the total number of samples shown in the report. Total int64 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` // filtered is the number of samples filtered out of the report. - Filtered int64 `protobuf:"varint,6,opt,name=filtered,proto3" json:"filtered,omitempty"` + Filtered int64 `protobuf:"varint,6,opt,name=filtered,proto3" json:"filtered,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryResponse) Reset() { *x = QueryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_share_v1alpha1_share_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_share_v1alpha1_share_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryResponse) String() string { @@ -413,7 +396,7 @@ func (*QueryResponse) ProtoMessage() {} func (x *QueryResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_share_v1alpha1_share_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -428,65 +411,81 @@ func (*QueryResponse) Descriptor() ([]byte, []int) { return file_parca_share_v1alpha1_share_proto_rawDescGZIP(), []int{5} } -func (m *QueryResponse) GetReport() isQueryResponse_Report { - if m != nil { - return m.Report +func (x *QueryResponse) GetReport() isQueryResponse_Report { + if x != nil { + return x.Report } return nil } func (x *QueryResponse) GetFlamegraph() *v1alpha1.Flamegraph { - if x, ok := x.GetReport().(*QueryResponse_Flamegraph); ok { - return x.Flamegraph + if x != nil { + if x, ok := x.Report.(*QueryResponse_Flamegraph); ok { + return x.Flamegraph + } } return nil } func (x *QueryResponse) GetPprof() []byte { - if x, ok := x.GetReport().(*QueryResponse_Pprof); ok { - return x.Pprof + if x != nil { + if x, ok := x.Report.(*QueryResponse_Pprof); ok { + return x.Pprof + } } return nil } func (x *QueryResponse) GetTop() *v1alpha1.Top { - if x, ok := x.GetReport().(*QueryResponse_Top); ok { - return x.Top + if x != nil { + if x, ok := x.Report.(*QueryResponse_Top); ok { + return x.Top + } } return nil } func (x *QueryResponse) GetCallgraph() *v1alpha1.Callgraph { - if x, ok := x.GetReport().(*QueryResponse_Callgraph); ok { - return x.Callgraph + if x != nil { + if x, ok := x.Report.(*QueryResponse_Callgraph); ok { + return x.Callgraph + } } return nil } func (x *QueryResponse) GetFlamegraphArrow() *v1alpha1.FlamegraphArrow { - if x, ok := x.GetReport().(*QueryResponse_FlamegraphArrow); ok { - return x.FlamegraphArrow + if x != nil { + if x, ok := x.Report.(*QueryResponse_FlamegraphArrow); ok { + return x.FlamegraphArrow + } } return nil } func (x *QueryResponse) GetSource() *v1alpha1.Source { - if x, ok := x.GetReport().(*QueryResponse_Source); ok { - return x.Source + if x != nil { + if x, ok := x.Report.(*QueryResponse_Source); ok { + return x.Source + } } return nil } func (x *QueryResponse) GetTableArrow() *v1alpha1.TableArrow { - if x, ok := x.GetReport().(*QueryResponse_TableArrow); ok { - return x.TableArrow + if x != nil { + if x, ok := x.Report.(*QueryResponse_TableArrow); ok { + return x.TableArrow + } } return nil } func (x *QueryResponse) GetProfileMetadata() *v1alpha1.ProfileMetadata { - if x, ok := x.GetReport().(*QueryResponse_ProfileMetadata); ok { - return x.ProfileMetadata + if x != nil { + if x, ok := x.Report.(*QueryResponse_ProfileMetadata); ok { + return x.ProfileMetadata + } } return nil } @@ -567,7 +566,7 @@ func (*QueryResponse_ProfileMetadata) isQueryResponse_Report() {} var File_parca_share_v1alpha1_share_proto protoreflect.FileDescriptor -var file_parca_share_v1alpha1_share_proto_rawDesc = []byte{ +var file_parca_share_v1alpha1_share_proto_rawDesc = string([]byte{ 0x0a, 0x20, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x2e, @@ -699,22 +698,22 @@ var file_parca_share_v1alpha1_share_proto_rawDesc = []byte{ 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x53, 0x68, 0x61, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_share_v1alpha1_share_proto_rawDescOnce sync.Once - file_parca_share_v1alpha1_share_proto_rawDescData = file_parca_share_v1alpha1_share_proto_rawDesc + file_parca_share_v1alpha1_share_proto_rawDescData []byte ) func file_parca_share_v1alpha1_share_proto_rawDescGZIP() []byte { file_parca_share_v1alpha1_share_proto_rawDescOnce.Do(func() { - file_parca_share_v1alpha1_share_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_share_v1alpha1_share_proto_rawDescData) + file_parca_share_v1alpha1_share_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_share_v1alpha1_share_proto_rawDesc), len(file_parca_share_v1alpha1_share_proto_rawDesc))) }) return file_parca_share_v1alpha1_share_proto_rawDescData } var file_parca_share_v1alpha1_share_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_parca_share_v1alpha1_share_proto_goTypes = []interface{}{ +var file_parca_share_v1alpha1_share_proto_goTypes = []any{ (*UploadRequest)(nil), // 0: parca.share.v1alpha1.UploadRequest (*UploadResponse)(nil), // 1: parca.share.v1alpha1.UploadResponse (*QueryRequest)(nil), // 2: parca.share.v1alpha1.QueryRequest @@ -765,82 +764,8 @@ func file_parca_share_v1alpha1_share_proto_init() { if File_parca_share_v1alpha1_share_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_share_v1alpha1_share_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileTypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileTypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_parca_share_v1alpha1_share_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_parca_share_v1alpha1_share_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_parca_share_v1alpha1_share_proto_msgTypes[2].OneofWrappers = []any{} + file_parca_share_v1alpha1_share_proto_msgTypes[5].OneofWrappers = []any{ (*QueryResponse_Flamegraph)(nil), (*QueryResponse_Pprof)(nil), (*QueryResponse_Top)(nil), @@ -854,7 +779,7 @@ func file_parca_share_v1alpha1_share_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_share_v1alpha1_share_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_share_v1alpha1_share_proto_rawDesc), len(file_parca_share_v1alpha1_share_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, @@ -865,7 +790,6 @@ func file_parca_share_v1alpha1_share_proto_init() { MessageInfos: file_parca_share_v1alpha1_share_proto_msgTypes, }.Build() File_parca_share_v1alpha1_share_proto = out.File - file_parca_share_v1alpha1_share_proto_rawDesc = nil file_parca_share_v1alpha1_share_proto_goTypes = nil file_parca_share_v1alpha1_share_proto_depIdxs = nil } diff --git a/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go b/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go index 025a86de6f9..9795e0c2dc2 100644 --- a/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go +++ b/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: parca/telemetry/v1alpha1/telemetry.proto @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,23 +24,20 @@ const ( // ReportPanicRequest contained the info about a panic. type ReportPanicRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Stderr from the agent that exited with an error. Stderr string `protobuf:"bytes,1,opt,name=stderr,proto3" json:"stderr,omitempty"` // Agent metadata. - Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReportPanicRequest) Reset() { *x = ReportPanicRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportPanicRequest) String() string { @@ -50,7 +48,7 @@ func (*ReportPanicRequest) ProtoMessage() {} func (x *ReportPanicRequest) ProtoReflect() protoreflect.Message { mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,18 +79,16 @@ func (x *ReportPanicRequest) GetMetadata() map[string]string { // ReportPanicResponse contains the response for a ReportPanicRequest. type ReportPanicResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReportPanicResponse) Reset() { *x = ReportPanicResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportPanicResponse) String() string { @@ -103,7 +99,7 @@ func (*ReportPanicResponse) ProtoMessage() {} func (x *ReportPanicResponse) ProtoReflect() protoreflect.Message { mi := &file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -120,7 +116,7 @@ func (*ReportPanicResponse) Descriptor() ([]byte, []int) { var File_parca_telemetry_v1alpha1_telemetry_proto protoreflect.FileDescriptor -var file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc = []byte{ +var file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc = string([]byte{ 0x0a, 0x28, 0x70, 0x61, 0x72, 0x63, 0x61, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x61, 0x72, 0x63, @@ -168,22 +164,22 @@ var file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc = []byte{ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, 0x50, 0x61, 0x72, 0x63, 0x61, 0x3a, 0x3a, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_parca_telemetry_v1alpha1_telemetry_proto_rawDescOnce sync.Once - file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData = file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc + file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData []byte ) func file_parca_telemetry_v1alpha1_telemetry_proto_rawDescGZIP() []byte { file_parca_telemetry_v1alpha1_telemetry_proto_rawDescOnce.Do(func() { - file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData = protoimpl.X.CompressGZIP(file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData) + file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc), len(file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc))) }) return file_parca_telemetry_v1alpha1_telemetry_proto_rawDescData } var file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_parca_telemetry_v1alpha1_telemetry_proto_goTypes = []interface{}{ +var file_parca_telemetry_v1alpha1_telemetry_proto_goTypes = []any{ (*ReportPanicRequest)(nil), // 0: parca.telemetry.v1alpha1.ReportPanicRequest (*ReportPanicResponse)(nil), // 1: parca.telemetry.v1alpha1.ReportPanicResponse nil, // 2: parca.telemetry.v1alpha1.ReportPanicRequest.MetadataEntry @@ -204,37 +200,11 @@ func file_parca_telemetry_v1alpha1_telemetry_proto_init() { if File_parca_telemetry_v1alpha1_telemetry_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportPanicRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportPanicResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc), len(file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -245,7 +215,6 @@ func file_parca_telemetry_v1alpha1_telemetry_proto_init() { MessageInfos: file_parca_telemetry_v1alpha1_telemetry_proto_msgTypes, }.Build() File_parca_telemetry_v1alpha1_telemetry_proto = out.File - file_parca_telemetry_v1alpha1_telemetry_proto_rawDesc = nil file_parca_telemetry_v1alpha1_telemetry_proto_goTypes = nil file_parca_telemetry_v1alpha1_telemetry_proto_depIdxs = nil } diff --git a/go.mod b/go.mod index 6e1b893a2fc..5a45af1555d 100644 --- a/go.mod +++ b/go.mod @@ -62,7 +62,7 @@ require ( google.golang.org/api v0.214.0 google.golang.org/genproto/googleapis/api v0.0.0-20241219192143-6b3ec007d9bb google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.4 gopkg.in/dnaeon/go-vcr.v3 v3.2.2 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 69608ecd878..f04aaf3944f 100644 --- a/go.sum +++ b/go.sum @@ -1166,8 +1166,8 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM= +google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/ui/packages/app/web/.env b/ui/packages/app/web/.env new file mode 100644 index 00000000000..c11a3ce515b --- /dev/null +++ b/ui/packages/app/web/.env @@ -0,0 +1 @@ +VITE_API_ENDPOINT=http://localhost:7070