diff --git a/go.mod b/go.mod index f66dcae7..4e46ad27 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( golang.org/x/sync v0.8.0 golang.org/x/tools v0.26.0 google.golang.org/grpc v1.67.1 - google.golang.org/protobuf v1.34.2 + google.golang.org/protobuf v1.35.1 ) require ( diff --git a/go.sum b/go.sum index 4c7972a5..f13049fc 100644 --- a/go.sum +++ b/go.sum @@ -145,8 +145,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= +google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= +google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= 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= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= diff --git a/model/modelpb/agent_vtproto.pb.go b/model/modelpb/agent_vtproto.pb.go index 0100fe31..763c939b 100644 --- a/model/modelpb/agent_vtproto.pb.go +++ b/model/modelpb/agent_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: agent.proto package modelpb diff --git a/model/modelpb/apmevent_vtproto.pb.go b/model/modelpb/apmevent_vtproto.pb.go index c5bcd5c8..2d99efb3 100644 --- a/model/modelpb/apmevent_vtproto.pb.go +++ b/model/modelpb/apmevent_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: apmevent.proto package modelpb diff --git a/model/modelpb/child.pb.go b/model/modelpb/child.pb.go deleted file mode 100644 index a50d697b..00000000 --- a/model/modelpb/child.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Licensed to Elasticsearch B.V. under one or more contributor -// license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright -// ownership. Elasticsearch B.V. licenses this file to you under -// the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.1 -// source: child.proto - -package modelpb - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Child struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` -} - -func (x *Child) Reset() { - *x = Child{} - if protoimpl.UnsafeEnabled { - mi := &file_child_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Child) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Child) ProtoMessage() {} - -func (x *Child) ProtoReflect() protoreflect.Message { - mi := &file_child_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Child.ProtoReflect.Descriptor instead. -func (*Child) Descriptor() ([]byte, []int) { - return file_child_proto_rawDescGZIP(), []int{0} -} - -func (x *Child) GetId() []string { - if x != nil { - return x.Id - } - return nil -} - -var File_child_proto protoreflect.FileDescriptor - -var file_child_proto_rawDesc = []byte{ - 0x0a, 0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65, - 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0x17, 0x0a, - 0x05, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x61, 0x70, 0x6d, - 0x2d, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_child_proto_rawDescOnce sync.Once - file_child_proto_rawDescData = file_child_proto_rawDesc -) - -func file_child_proto_rawDescGZIP() []byte { - file_child_proto_rawDescOnce.Do(func() { - file_child_proto_rawDescData = protoimpl.X.CompressGZIP(file_child_proto_rawDescData) - }) - return file_child_proto_rawDescData -} - -var file_child_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_child_proto_goTypes = []interface{}{ - (*Child)(nil), // 0: elastic.apm.v1.Child -} -var file_child_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_child_proto_init() } -func file_child_proto_init() { - if File_child_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_child_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Child); 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_child_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_child_proto_goTypes, - DependencyIndexes: file_child_proto_depIdxs, - MessageInfos: file_child_proto_msgTypes, - }.Build() - File_child_proto = out.File - file_child_proto_rawDesc = nil - file_child_proto_goTypes = nil - file_child_proto_depIdxs = nil -} diff --git a/model/modelpb/client_vtproto.pb.go b/model/modelpb/client_vtproto.pb.go index 16e3d00c..f74b81dd 100644 --- a/model/modelpb/client_vtproto.pb.go +++ b/model/modelpb/client_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: client.proto package modelpb diff --git a/model/modelpb/cloud_vtproto.pb.go b/model/modelpb/cloud_vtproto.pb.go index 0e7babcc..05c4edb7 100644 --- a/model/modelpb/cloud_vtproto.pb.go +++ b/model/modelpb/cloud_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: cloud.proto package modelpb diff --git a/model/modelpb/code_vtproto.pb.go b/model/modelpb/code_vtproto.pb.go index 4c431d0b..1c4afdd8 100644 --- a/model/modelpb/code_vtproto.pb.go +++ b/model/modelpb/code_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: code.proto package modelpb diff --git a/model/modelpb/container_vtproto.pb.go b/model/modelpb/container_vtproto.pb.go index fd78c839..48bff1a2 100644 --- a/model/modelpb/container_vtproto.pb.go +++ b/model/modelpb/container_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: container.proto package modelpb diff --git a/model/modelpb/datastream_vtproto.pb.go b/model/modelpb/datastream_vtproto.pb.go index 3184b345..074e09f7 100644 --- a/model/modelpb/datastream_vtproto.pb.go +++ b/model/modelpb/datastream_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: datastream.proto package modelpb diff --git a/model/modelpb/destination_vtproto.pb.go b/model/modelpb/destination_vtproto.pb.go index de804809..98d86f84 100644 --- a/model/modelpb/destination_vtproto.pb.go +++ b/model/modelpb/destination_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: destination.proto package modelpb diff --git a/model/modelpb/device_vtproto.pb.go b/model/modelpb/device_vtproto.pb.go index 53c39b2d..b5728cf2 100644 --- a/model/modelpb/device_vtproto.pb.go +++ b/model/modelpb/device_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: device.proto package modelpb diff --git a/model/modelpb/error_vtproto.pb.go b/model/modelpb/error_vtproto.pb.go index 7381c03e..7c0c13a1 100644 --- a/model/modelpb/error_vtproto.pb.go +++ b/model/modelpb/error_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: error.proto package modelpb diff --git a/model/modelpb/event_vtproto.pb.go b/model/modelpb/event_vtproto.pb.go index 15daa782..247602e2 100644 --- a/model/modelpb/event_vtproto.pb.go +++ b/model/modelpb/event_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: event.proto package modelpb diff --git a/model/modelpb/experience_vtproto.pb.go b/model/modelpb/experience_vtproto.pb.go index 94af074c..392ac515 100644 --- a/model/modelpb/experience_vtproto.pb.go +++ b/model/modelpb/experience_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: experience.proto package modelpb diff --git a/model/modelpb/faas_vtproto.pb.go b/model/modelpb/faas_vtproto.pb.go index 77541c04..f24d17c2 100644 --- a/model/modelpb/faas_vtproto.pb.go +++ b/model/modelpb/faas_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: faas.proto package modelpb diff --git a/model/modelpb/headers_vtproto.pb.go b/model/modelpb/headers_vtproto.pb.go index ddd3ebe1..d0b0f074 100644 --- a/model/modelpb/headers_vtproto.pb.go +++ b/model/modelpb/headers_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: headers.proto package modelpb diff --git a/model/modelpb/host_vtproto.pb.go b/model/modelpb/host_vtproto.pb.go index 88aa7f99..37a917d8 100644 --- a/model/modelpb/host_vtproto.pb.go +++ b/model/modelpb/host_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: host.proto package modelpb diff --git a/model/modelpb/http_vtproto.pb.go b/model/modelpb/http_vtproto.pb.go index 16831c37..e89ccdbe 100644 --- a/model/modelpb/http_vtproto.pb.go +++ b/model/modelpb/http_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: http.proto package modelpb diff --git a/model/modelpb/ip_vtproto.pb.go b/model/modelpb/ip_vtproto.pb.go index 9b447232..dd514b3f 100644 --- a/model/modelpb/ip_vtproto.pb.go +++ b/model/modelpb/ip_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: ip.proto package modelpb diff --git a/model/modelpb/keyvalue_vtproto.pb.go b/model/modelpb/keyvalue_vtproto.pb.go index 72f70fdd..2f1d769f 100644 --- a/model/modelpb/keyvalue_vtproto.pb.go +++ b/model/modelpb/keyvalue_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: keyvalue.proto package modelpb diff --git a/model/modelpb/kubernetes_vtproto.pb.go b/model/modelpb/kubernetes_vtproto.pb.go index 0530bf3f..3bfa4405 100644 --- a/model/modelpb/kubernetes_vtproto.pb.go +++ b/model/modelpb/kubernetes_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: kubernetes.proto package modelpb diff --git a/model/modelpb/labels_vtproto.pb.go b/model/modelpb/labels_vtproto.pb.go index 75638fe2..ca1bd31f 100644 --- a/model/modelpb/labels_vtproto.pb.go +++ b/model/modelpb/labels_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: labels.proto package modelpb diff --git a/model/modelpb/log_vtproto.pb.go b/model/modelpb/log_vtproto.pb.go index 797b3b8f..2591fc7d 100644 --- a/model/modelpb/log_vtproto.pb.go +++ b/model/modelpb/log_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: log.proto package modelpb diff --git a/model/modelpb/message_vtproto.pb.go b/model/modelpb/message_vtproto.pb.go index 8e47b807..b2892b17 100644 --- a/model/modelpb/message_vtproto.pb.go +++ b/model/modelpb/message_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: message.proto package modelpb diff --git a/model/modelpb/metricset_vtproto.pb.go b/model/modelpb/metricset_vtproto.pb.go index 39cff72d..f5302188 100644 --- a/model/modelpb/metricset_vtproto.pb.go +++ b/model/modelpb/metricset_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: metricset.proto package modelpb diff --git a/model/modelpb/network_vtproto.pb.go b/model/modelpb/network_vtproto.pb.go index 3b6a2441..e7a7e751 100644 --- a/model/modelpb/network_vtproto.pb.go +++ b/model/modelpb/network_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: network.proto package modelpb diff --git a/model/modelpb/observer_vtproto.pb.go b/model/modelpb/observer_vtproto.pb.go index e1ed6102..a46df813 100644 --- a/model/modelpb/observer_vtproto.pb.go +++ b/model/modelpb/observer_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: observer.proto package modelpb diff --git a/model/modelpb/os_vtproto.pb.go b/model/modelpb/os_vtproto.pb.go index bde45f5b..9767dc44 100644 --- a/model/modelpb/os_vtproto.pb.go +++ b/model/modelpb/os_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: os.proto package modelpb diff --git a/model/modelpb/parent.pb.go b/model/modelpb/parent.pb.go deleted file mode 100644 index c0b6ddf0..00000000 --- a/model/modelpb/parent.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Licensed to Elasticsearch B.V. under one or more contributor -// license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright -// ownership. Elasticsearch B.V. licenses this file to you under -// the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.30.0 -// protoc v4.23.1 -// source: parent.proto - -package modelpb - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Parent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *Parent) Reset() { - *x = Parent{} - if protoimpl.UnsafeEnabled { - mi := &file_parent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parent) ProtoMessage() {} - -func (x *Parent) ProtoReflect() protoreflect.Message { - mi := &file_parent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Parent.ProtoReflect.Descriptor instead. -func (*Parent) Descriptor() ([]byte, []int) { - return file_parent_proto_rawDescGZIP(), []int{0} -} - -func (x *Parent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -var File_parent_proto protoreflect.FileDescriptor - -var file_parent_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, - 0x65, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0x18, - 0x0a, 0x06, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x61, - 0x70, 0x6d, 0x2d, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_parent_proto_rawDescOnce sync.Once - file_parent_proto_rawDescData = file_parent_proto_rawDesc -) - -func file_parent_proto_rawDescGZIP() []byte { - file_parent_proto_rawDescOnce.Do(func() { - file_parent_proto_rawDescData = protoimpl.X.CompressGZIP(file_parent_proto_rawDescData) - }) - return file_parent_proto_rawDescData -} - -var file_parent_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_parent_proto_goTypes = []interface{}{ - (*Parent)(nil), // 0: elastic.apm.v1.Parent -} -var file_parent_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_parent_proto_init() } -func file_parent_proto_init() { - if File_parent_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_parent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Parent); 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_parent_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_parent_proto_goTypes, - DependencyIndexes: file_parent_proto_depIdxs, - MessageInfos: file_parent_proto_msgTypes, - }.Build() - File_parent_proto = out.File - file_parent_proto_rawDesc = nil - file_parent_proto_goTypes = nil - file_parent_proto_depIdxs = nil -} diff --git a/model/modelpb/process_vtproto.pb.go b/model/modelpb/process_vtproto.pb.go index eb6c4145..05302e16 100644 --- a/model/modelpb/process_vtproto.pb.go +++ b/model/modelpb/process_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: process.proto package modelpb diff --git a/model/modelpb/service_vtproto.pb.go b/model/modelpb/service_vtproto.pb.go index 34a850ff..7cb4c103 100644 --- a/model/modelpb/service_vtproto.pb.go +++ b/model/modelpb/service_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: service.proto package modelpb diff --git a/model/modelpb/session_vtproto.pb.go b/model/modelpb/session_vtproto.pb.go index 9c83e156..c4e9fbb8 100644 --- a/model/modelpb/session_vtproto.pb.go +++ b/model/modelpb/session_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: session.proto package modelpb diff --git a/model/modelpb/source_vtproto.pb.go b/model/modelpb/source_vtproto.pb.go index c7726366..54c74b6d 100644 --- a/model/modelpb/source_vtproto.pb.go +++ b/model/modelpb/source_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: source.proto package modelpb diff --git a/model/modelpb/span_vtproto.pb.go b/model/modelpb/span_vtproto.pb.go index 8a5b47de..e7f3a1dd 100644 --- a/model/modelpb/span_vtproto.pb.go +++ b/model/modelpb/span_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: span.proto package modelpb diff --git a/model/modelpb/stacktrace_vtproto.pb.go b/model/modelpb/stacktrace_vtproto.pb.go index 8eb7f51c..fcd967c0 100644 --- a/model/modelpb/stacktrace_vtproto.pb.go +++ b/model/modelpb/stacktrace_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: stacktrace.proto package modelpb diff --git a/model/modelpb/system_vtproto.pb.go b/model/modelpb/system_vtproto.pb.go index 624c4075..945ae33c 100644 --- a/model/modelpb/system_vtproto.pb.go +++ b/model/modelpb/system_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: system.proto package modelpb diff --git a/model/modelpb/trace_vtproto.pb.go b/model/modelpb/trace_vtproto.pb.go index bd5abca4..e3b00270 100644 --- a/model/modelpb/trace_vtproto.pb.go +++ b/model/modelpb/trace_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: trace.proto package modelpb diff --git a/model/modelpb/transaction_vtproto.pb.go b/model/modelpb/transaction_vtproto.pb.go index 4e74d135..f7111527 100644 --- a/model/modelpb/transaction_vtproto.pb.go +++ b/model/modelpb/transaction_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: transaction.proto package modelpb diff --git a/model/modelpb/url_vtproto.pb.go b/model/modelpb/url_vtproto.pb.go index 0ec5ff54..8a965ae1 100644 --- a/model/modelpb/url_vtproto.pb.go +++ b/model/modelpb/url_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: url.proto package modelpb diff --git a/model/modelpb/user_vtproto.pb.go b/model/modelpb/user_vtproto.pb.go index 1714f637..4473c7fd 100644 --- a/model/modelpb/user_vtproto.pb.go +++ b/model/modelpb/user_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: user.proto package modelpb diff --git a/model/modelpb/useragent_vtproto.pb.go b/model/modelpb/useragent_vtproto.pb.go index 83476614..d78040da 100644 --- a/model/modelpb/useragent_vtproto.pb.go +++ b/model/modelpb/useragent_vtproto.pb.go @@ -16,7 +16,7 @@ // under the License. // Code generated by protoc-gen-go-vtproto. DO NOT EDIT. -// protoc-gen-go-vtproto version: v0.6.0 +// protoc-gen-go-vtproto version: v0.6.1-0.20240319094008-0393e58bdf10 // source: useragent.proto package modelpb diff --git a/tools/install-protobuf.sh b/tools/install-protobuf.sh index bba39218..eeeae806 100755 --- a/tools/install-protobuf.sh +++ b/tools/install-protobuf.sh @@ -2,8 +2,6 @@ PLATFORM=$(go env GOOS) PROTOBUF_VERSION="28.3" -PROTOC_GO_VERSION="v1.35.1" -VTPROTOBUF_VERSION="v0.6.0" DOWNLOAD_URL="https://github.com/protocolbuffers/protobuf/releases/download" if [ "${PLATFORM}" = "darwin" ]; then @@ -33,5 +31,5 @@ if ! PATH="${BUILD_DIR}/bin" protoc --version; then exit 1 fi -GOBIN="${BUILD_DIR}/bin" go install "google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GO_VERSION}" -GOBIN="${BUILD_DIR}/bin" go install "github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@${VTPROTOBUF_VERSION}" +GOBIN="${BUILD_DIR}/bin" go install "google.golang.org/protobuf/cmd/protoc-gen-go" +GOBIN="${BUILD_DIR}/bin" go install "github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto"