From bc54b71cdac673c78bf9fc470817403fa3ae1cbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:41:42 +0000 Subject: [PATCH 1/2] chore(deps): bump the root-go-dependencies group with 3 updates Dependabot couldn't find the original pull request head commit, 19c0ba077dc46eac0d9d54be408a35fac088bcbe. --- go.mod | 18 +++++++++--------- go.sum | 38 +++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/go.mod b/go.mod index f47c328..9509d23 100644 --- a/go.mod +++ b/go.mod @@ -3,20 +3,20 @@ module go.einride.tech/protobuf-avro go 1.20 require ( - cloud.google.com/go v0.115.1 + cloud.google.com/go v0.116.0 github.com/google/go-cmp v0.6.0 github.com/linkedin/goavro/v2 v2.13.0 - google.golang.org/genproto v0.0.0-20240730163845-b1a4ccb954bf - google.golang.org/protobuf v1.34.2 + google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 + google.golang.org/protobuf v1.35.1 gotest.tools/v3 v3.5.1 ) require ( github.com/golang/snappy v0.0.4 // indirect - golang.org/x/net v0.27.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf // indirect - google.golang.org/grpc v1.64.1 // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect + google.golang.org/grpc v1.66.2 // indirect ) diff --git a/go.sum b/go.sum index 58a700b..048cb97 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -cloud.google.com/go v0.115.1 h1:Jo0SM9cQnSkYfp44+v+NQXHpcHqlnRJk2qxh6yvxxxQ= -cloud.google.com/go v0.115.1/go.mod h1:DuujITeaufu3gL68/lOFIirVNJwQeyf5UXyi+Wbgknc= +cloud.google.com/go v0.116.0 h1:B3fRrSDkLRt5qSHWe40ERJvhvnQwdZiHu0bJOpldweE= +cloud.google.com/go v0.116.0/go.mod h1:cEPSRWPzZEswwdr9BxE6ChEn01dWlTaF05LiC2Xs70U= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -15,24 +15,24 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.5 h1:s5PTfem8p8EbKQOctVV53k6jCJt3UX4IEJzwh+C324Q= github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= -golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -google.golang.org/genproto v0.0.0-20240730163845-b1a4ccb954bf h1:OqdXDEakZCVtDiZTjcxfwbHPCT11ycCEsTKesBVKvyY= -google.golang.org/genproto v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:mCr1K1c8kX+1iSBREvU3Juo11CB+QOEWxbRS01wWl5M= -google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f h1:b1Ln/PG8orm0SsBbHZWke8dDp2lrCD4jSmfglFpTZbk= -google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f/go.mod h1:AHT0dDg3SoMOgZGnZk29b5xTbPHMoEC8qthmBLJCpys= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf h1:liao9UHurZLtiEwBgT9LMOnKYsHze6eA6w1KQCMVN2Q= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= -google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA= -google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 h1:BulPr26Jqjnd4eYDVe+YvyR7Yc2vJGkO5/0UxD0/jZU= +google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:hL97c3SYopEHblzpxRL4lSs523++l8DYxGM1FQiYmb4= +google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 h1:hjSy6tcFQZ171igDaN5QHOw2n6vx40juYbC/x67CEhc= +google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:qpvKtACPCQhAdu3PyQgV4l3LMXZEtft7y8QcarRsp9I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/grpc v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo= +google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= +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/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= From 3f2ed5e74884ef48c946476ff901814ca2a75700 Mon Sep 17 00:00:00 2001 From: TheodorEmanuelsson Date: Tue, 12 Nov 2024 11:46:54 +0100 Subject: [PATCH 2/2] fix: generate examples after go bump --- go.mod | 4 +- internal/examples/proto/buf.yaml | 2 +- .../einride/avro/example/v1/example_any.pb.go | 26 ++----- .../avro/example/v1/example_bytes.pb.go | 26 ++----- .../avro/example/v1/example_date.pb.go | 26 ++----- .../avro/example/v1/example_datetime.pb.go | 26 ++----- .../avro/example/v1/example_duration.pb.go | 26 ++----- .../avro/example/v1/example_enum.pb.go | 26 ++----- .../avro/example/v1/example_list.pb.go | 48 +++---------- .../einride/avro/example/v1/example_map.pb.go | 48 +++---------- .../einride/avro/example/v1/example_num.pb.go | 26 ++----- .../avro/example/v1/example_oneof.pb.go | 70 ++++--------------- .../avro/example/v1/example_recursive.pb.go | 26 ++----- .../avro/example/v1/example_struct.pb.go | 26 ++----- .../avro/example/v1/example_timeofday.pb.go | 26 ++----- .../avro/example/v1/example_timestamp.pb.go | 26 ++----- .../avro/example/v1/example_wrappers.pb.go | 26 ++----- .../example/v1/example_datetime.pb.go | 26 ++----- .../bigquery/example/v1/example_enum.pb.go | 26 ++----- .../bigquery/example/v1/example_list.pb.go | 48 +++---------- .../bigquery/example/v1/example_map.pb.go | 48 +++---------- .../bigquery/example/v1/example_oneof.pb.go | 70 ++++--------------- .../example/v1/example_wrappers.pb.go | 26 ++----- .../public/v1/dogecoin_transaction.pb.go | 70 ++++--------------- .../bigquery/public/v1/film_location.pb.go | 26 ++----- .../public/v1/hacker_news_story.pb.go | 26 ++----- .../public/v1/historic_severe_storm.pb.go | 26 ++----- .../public/v1/london_bicycle_rental.pb.go | 26 ++----- .../public/v1/london_bicycle_station.pb.go | 26 ++----- .../v1/san_fransisco_transit_stop_time.pb.go | 26 ++----- .../public/v1/whos_on_first_geojson.pb.go | 26 ++----- 31 files changed, 189 insertions(+), 791 deletions(-) diff --git a/go.mod b/go.mod index 9509d23..cf1bab2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module go.einride.tech/protobuf-avro -go 1.20 +go 1.21 + +toolchain go1.22.5 require ( cloud.google.com/go v0.116.0 diff --git a/internal/examples/proto/buf.yaml b/internal/examples/proto/buf.yaml index 92ecd2f..2703f23 100644 --- a/internal/examples/proto/buf.yaml +++ b/internal/examples/proto/buf.yaml @@ -7,4 +7,4 @@ deps: lint: use: - - DEFAULT + - STANDARD diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_any.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_any.pb.go index 7cac808..bfd0f4f 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_any.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_any.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_any.proto @@ -31,11 +31,9 @@ type ExampleAny struct { func (x *ExampleAny) Reset() { *x = ExampleAny{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_any_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_any_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleAny) String() string { @@ -46,7 +44,7 @@ func (*ExampleAny) ProtoMessage() {} func (x *ExampleAny) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_any_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) @@ -120,20 +118,6 @@ func file_einride_avro_example_v1_example_any_proto_init() { if File_einride_avro_example_v1_example_any_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_any_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleAny); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_bytes.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_bytes.pb.go index 0dff4e7..5cdd1cd 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_bytes.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_bytes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_bytes.proto @@ -30,11 +30,9 @@ type ExampleBytes struct { func (x *ExampleBytes) Reset() { *x = ExampleBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_bytes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_bytes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleBytes) String() string { @@ -45,7 +43,7 @@ func (*ExampleBytes) ProtoMessage() {} func (x *ExampleBytes) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_bytes_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) @@ -115,20 +113,6 @@ func file_einride_avro_example_v1_example_bytes_proto_init() { if File_einride_avro_example_v1_example_bytes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_bytes_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleBytes); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_date.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_date.pb.go index b04f142..3a27b2f 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_date.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_date.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_date.proto @@ -31,11 +31,9 @@ type ExampleDate struct { func (x *ExampleDate) Reset() { *x = ExampleDate{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_date_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_date_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleDate) String() string { @@ -46,7 +44,7 @@ func (*ExampleDate) ProtoMessage() {} func (x *ExampleDate) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_date_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) @@ -120,20 +118,6 @@ func file_einride_avro_example_v1_example_date_proto_init() { if File_einride_avro_example_v1_example_date_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_date_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleDate); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_datetime.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_datetime.pb.go index b4db339..8017e01 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_datetime.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_datetime.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_datetime.proto @@ -31,11 +31,9 @@ type ExampleDateTime struct { func (x *ExampleDateTime) Reset() { *x = ExampleDateTime{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_datetime_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_datetime_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleDateTime) String() string { @@ -46,7 +44,7 @@ func (*ExampleDateTime) ProtoMessage() {} func (x *ExampleDateTime) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_datetime_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) @@ -122,20 +120,6 @@ func file_einride_avro_example_v1_example_datetime_proto_init() { if File_einride_avro_example_v1_example_datetime_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_datetime_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleDateTime); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_duration.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_duration.pb.go index bc2d18b..a8b14ab 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_duration.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_duration.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_duration.proto @@ -31,11 +31,9 @@ type ExampleDuration struct { func (x *ExampleDuration) Reset() { *x = ExampleDuration{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_duration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_duration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleDuration) String() string { @@ -46,7 +44,7 @@ func (*ExampleDuration) ProtoMessage() {} func (x *ExampleDuration) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_duration_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) @@ -122,20 +120,6 @@ func file_einride_avro_example_v1_example_duration_proto_init() { if File_einride_avro_example_v1_example_duration_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_duration_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleDuration); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_enum.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_enum.pb.go index 5684058..0420aff 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_enum.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_enum.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_enum.proto @@ -82,11 +82,9 @@ type ExampleEnum struct { func (x *ExampleEnum) Reset() { *x = ExampleEnum{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_enum_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_enum_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleEnum) String() string { @@ -97,7 +95,7 @@ func (*ExampleEnum) ProtoMessage() {} func (x *ExampleEnum) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_enum_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) @@ -178,20 +176,6 @@ func file_einride_avro_example_v1_example_enum_proto_init() { if File_einride_avro_example_v1_example_enum_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_enum_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleEnum); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_list.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_list.pb.go index b7599e0..b5f9948 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_list.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_list.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_list.proto @@ -84,11 +84,9 @@ type ExampleList struct { func (x *ExampleList) Reset() { *x = ExampleList{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_list_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_list_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleList) String() string { @@ -99,7 +97,7 @@ func (*ExampleList) ProtoMessage() {} func (x *ExampleList) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_list_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) @@ -159,11 +157,9 @@ type ExampleList_Nested struct { func (x *ExampleList_Nested) Reset() { *x = ExampleList_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_list_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_list_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleList_Nested) String() string { @@ -174,7 +170,7 @@ func (*ExampleList_Nested) ProtoMessage() {} func (x *ExampleList_Nested) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_list_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) @@ -276,32 +272,6 @@ func file_einride_avro_example_v1_example_list_proto_init() { if File_einride_avro_example_v1_example_list_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_list_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_avro_example_v1_example_list_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ExampleList_Nested); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_map.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_map.pb.go index 9cc13f5..8140307 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_map.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_map.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_map.proto @@ -87,11 +87,9 @@ type ExampleMap struct { func (x *ExampleMap) Reset() { *x = ExampleMap{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_map_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_map_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleMap) String() string { @@ -102,7 +100,7 @@ func (*ExampleMap) ProtoMessage() {} func (x *ExampleMap) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_map_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) @@ -183,11 +181,9 @@ type ExampleMap_Nested struct { func (x *ExampleMap_Nested) Reset() { *x = ExampleMap_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_map_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_map_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleMap_Nested) String() string { @@ -198,7 +194,7 @@ func (*ExampleMap_Nested) ProtoMessage() {} func (x *ExampleMap_Nested) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_map_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) @@ -398,32 +394,6 @@ func file_einride_avro_example_v1_example_map_proto_init() { if File_einride_avro_example_v1_example_map_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_map_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_avro_example_v1_example_map_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ExampleMap_Nested); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_num.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_num.pb.go index 848d745..bf95ad1 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_num.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_num.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_num.proto @@ -37,11 +37,9 @@ type ExampleNumbers struct { func (x *ExampleNumbers) Reset() { *x = ExampleNumbers{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_num_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_num_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleNumbers) String() string { @@ -52,7 +50,7 @@ func (*ExampleNumbers) ProtoMessage() {} func (x *ExampleNumbers) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_num_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) @@ -184,20 +182,6 @@ func file_einride_avro_example_v1_example_num_proto_init() { if File_einride_avro_example_v1_example_num_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_num_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleNumbers); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_oneof.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_oneof.pb.go index 6f1622f..ad18589 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_oneof.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_oneof.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_oneof.proto @@ -39,11 +39,9 @@ type ExampleOneof struct { func (x *ExampleOneof) Reset() { *x = ExampleOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof) String() string { @@ -54,7 +52,7 @@ func (*ExampleOneof) ProtoMessage() {} func (x *ExampleOneof) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_oneof_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) @@ -151,11 +149,9 @@ type ExampleOneof_EmptyMessage struct { func (x *ExampleOneof_EmptyMessage) Reset() { *x = ExampleOneof_EmptyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof_EmptyMessage) String() string { @@ -166,7 +162,7 @@ func (*ExampleOneof_EmptyMessage) ProtoMessage() {} func (x *ExampleOneof_EmptyMessage) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_oneof_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) @@ -191,11 +187,9 @@ type ExampleOneof_Message struct { func (x *ExampleOneof_Message) Reset() { *x = ExampleOneof_Message{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_oneof_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof_Message) String() string { @@ -206,7 +200,7 @@ func (*ExampleOneof_Message) ProtoMessage() {} func (x *ExampleOneof_Message) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_oneof_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) @@ -306,44 +300,6 @@ func file_einride_avro_example_v1_example_oneof_proto_init() { if File_einride_avro_example_v1_example_oneof_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_oneof_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_avro_example_v1_example_oneof_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof_EmptyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_avro_example_v1_example_oneof_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof_Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_einride_avro_example_v1_example_oneof_proto_msgTypes[0].OneofWrappers = []any{ (*ExampleOneof_OneofEmptyMessage_1)(nil), (*ExampleOneof_OneofBool_1)(nil), diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_recursive.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_recursive.pb.go index 969945a..2814c15 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_recursive.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_recursive.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_recursive.proto @@ -30,11 +30,9 @@ type ExampleRecursive struct { func (x *ExampleRecursive) Reset() { *x = ExampleRecursive{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_recursive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_recursive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleRecursive) String() string { @@ -45,7 +43,7 @@ func (*ExampleRecursive) ProtoMessage() {} func (x *ExampleRecursive) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_recursive_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) @@ -119,20 +117,6 @@ func file_einride_avro_example_v1_example_recursive_proto_init() { if File_einride_avro_example_v1_example_recursive_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_recursive_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleRecursive); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_struct.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_struct.pb.go index 301f8a8..6e5db91 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_struct.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_struct.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_struct.proto @@ -31,11 +31,9 @@ type ExampleStruct struct { func (x *ExampleStruct) Reset() { *x = ExampleStruct{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_struct_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_struct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleStruct) String() string { @@ -46,7 +44,7 @@ func (*ExampleStruct) ProtoMessage() {} func (x *ExampleStruct) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_struct_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) @@ -121,20 +119,6 @@ func file_einride_avro_example_v1_example_struct_proto_init() { if File_einride_avro_example_v1_example_struct_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_struct_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleStruct); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_timeofday.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_timeofday.pb.go index 5f0fd4a..ee5dc95 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_timeofday.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_timeofday.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_timeofday.proto @@ -31,11 +31,9 @@ type ExampleTimeOfDay struct { func (x *ExampleTimeOfDay) Reset() { *x = ExampleTimeOfDay{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_timeofday_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_timeofday_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleTimeOfDay) String() string { @@ -46,7 +44,7 @@ func (*ExampleTimeOfDay) ProtoMessage() {} func (x *ExampleTimeOfDay) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_timeofday_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) @@ -122,20 +120,6 @@ func file_einride_avro_example_v1_example_timeofday_proto_init() { if File_einride_avro_example_v1_example_timeofday_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_timeofday_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleTimeOfDay); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_timestamp.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_timestamp.pb.go index 994351a..9a22a2b 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_timestamp.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_timestamp.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_timestamp.proto @@ -31,11 +31,9 @@ type ExampleTimestamp struct { func (x *ExampleTimestamp) Reset() { *x = ExampleTimestamp{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_timestamp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_timestamp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleTimestamp) String() string { @@ -46,7 +44,7 @@ func (*ExampleTimestamp) ProtoMessage() {} func (x *ExampleTimestamp) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_timestamp_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) @@ -122,20 +120,6 @@ func file_einride_avro_example_v1_example_timestamp_proto_init() { if File_einride_avro_example_v1_example_timestamp_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_timestamp_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleTimestamp); 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{ diff --git a/internal/examples/proto/gen/einride/avro/example/v1/example_wrappers.pb.go b/internal/examples/proto/gen/einride/avro/example/v1/example_wrappers.pb.go index 01ce52e..a32f2d4 100644 --- a/internal/examples/proto/gen/einride/avro/example/v1/example_wrappers.pb.go +++ b/internal/examples/proto/gen/einride/avro/example/v1/example_wrappers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/avro/example/v1/example_wrappers.proto @@ -39,11 +39,9 @@ type ExampleWrappers struct { func (x *ExampleWrappers) Reset() { *x = ExampleWrappers{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_avro_example_v1_example_wrappers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_avro_example_v1_example_wrappers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleWrappers) String() string { @@ -54,7 +52,7 @@ func (*ExampleWrappers) ProtoMessage() {} func (x *ExampleWrappers) ProtoReflect() protoreflect.Message { mi := &file_einride_avro_example_v1_example_wrappers_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) @@ -234,20 +232,6 @@ func file_einride_avro_example_v1_example_wrappers_proto_init() { if File_einride_avro_example_v1_example_wrappers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_avro_example_v1_example_wrappers_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleWrappers); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_datetime.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_datetime.pb.go index 68375bf..de4104a 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_datetime.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_datetime.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_datetime.proto @@ -31,11 +31,9 @@ type ExampleDateTime struct { func (x *ExampleDateTime) Reset() { *x = ExampleDateTime{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_datetime_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_datetime_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleDateTime) String() string { @@ -46,7 +44,7 @@ func (*ExampleDateTime) ProtoMessage() {} func (x *ExampleDateTime) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_datetime_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) @@ -122,20 +120,6 @@ func file_einride_bigquery_example_v1_example_datetime_proto_init() { if File_einride_bigquery_example_v1_example_datetime_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_datetime_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleDateTime); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_enum.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_enum.pb.go index f23b49b..67af6d9 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_enum.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_enum.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_enum.proto @@ -79,11 +79,9 @@ type ExampleEnum struct { func (x *ExampleEnum) Reset() { *x = ExampleEnum{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_enum_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_enum_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleEnum) String() string { @@ -94,7 +92,7 @@ func (*ExampleEnum) ProtoMessage() {} func (x *ExampleEnum) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_enum_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) @@ -175,20 +173,6 @@ func file_einride_bigquery_example_v1_example_enum_proto_init() { if File_einride_bigquery_example_v1_example_enum_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_enum_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleEnum); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_list.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_list.pb.go index 57f724d..d8b0948 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_list.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_list.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_list.proto @@ -84,11 +84,9 @@ type ExampleList struct { func (x *ExampleList) Reset() { *x = ExampleList{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_list_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_list_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleList) String() string { @@ -99,7 +97,7 @@ func (*ExampleList) ProtoMessage() {} func (x *ExampleList) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_list_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) @@ -159,11 +157,9 @@ type ExampleList_Nested struct { func (x *ExampleList_Nested) Reset() { *x = ExampleList_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_list_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_list_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleList_Nested) String() string { @@ -174,7 +170,7 @@ func (*ExampleList_Nested) ProtoMessage() {} func (x *ExampleList_Nested) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_list_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) @@ -277,32 +273,6 @@ func file_einride_bigquery_example_v1_example_list_proto_init() { if File_einride_bigquery_example_v1_example_list_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_list_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_example_v1_example_list_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ExampleList_Nested); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_map.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_map.pb.go index d1088b8..a06f2ba 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_map.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_map.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_map.proto @@ -87,11 +87,9 @@ type ExampleMap struct { func (x *ExampleMap) Reset() { *x = ExampleMap{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_map_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_map_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleMap) String() string { @@ -102,7 +100,7 @@ func (*ExampleMap) ProtoMessage() {} func (x *ExampleMap) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_map_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) @@ -183,11 +181,9 @@ type ExampleMap_Nested struct { func (x *ExampleMap_Nested) Reset() { *x = ExampleMap_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_map_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_map_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleMap_Nested) String() string { @@ -198,7 +194,7 @@ func (*ExampleMap_Nested) ProtoMessage() {} func (x *ExampleMap_Nested) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_map_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) @@ -402,32 +398,6 @@ func file_einride_bigquery_example_v1_example_map_proto_init() { if File_einride_bigquery_example_v1_example_map_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_map_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_example_v1_example_map_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ExampleMap_Nested); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_oneof.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_oneof.pb.go index 45b303e..244bc34 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_oneof.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_oneof.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_oneof.proto @@ -39,11 +39,9 @@ type ExampleOneof struct { func (x *ExampleOneof) Reset() { *x = ExampleOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof) String() string { @@ -54,7 +52,7 @@ func (*ExampleOneof) ProtoMessage() {} func (x *ExampleOneof) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_oneof_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) @@ -151,11 +149,9 @@ type ExampleOneof_EmptyMessage struct { func (x *ExampleOneof_EmptyMessage) Reset() { *x = ExampleOneof_EmptyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof_EmptyMessage) String() string { @@ -166,7 +162,7 @@ func (*ExampleOneof_EmptyMessage) ProtoMessage() {} func (x *ExampleOneof_EmptyMessage) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_oneof_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) @@ -191,11 +187,9 @@ type ExampleOneof_Message struct { func (x *ExampleOneof_Message) Reset() { *x = ExampleOneof_Message{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleOneof_Message) String() string { @@ -206,7 +200,7 @@ func (*ExampleOneof_Message) ProtoMessage() {} func (x *ExampleOneof_Message) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_oneof_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) @@ -308,44 +302,6 @@ func file_einride_bigquery_example_v1_example_oneof_proto_init() { if File_einride_bigquery_example_v1_example_oneof_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof_EmptyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ExampleOneof_Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_einride_bigquery_example_v1_example_oneof_proto_msgTypes[0].OneofWrappers = []any{ (*ExampleOneof_OneofEmptyMessage_1)(nil), (*ExampleOneof_OneofBool_1)(nil), diff --git a/internal/examples/proto/gen/einride/bigquery/example/v1/example_wrappers.pb.go b/internal/examples/proto/gen/einride/bigquery/example/v1/example_wrappers.pb.go index 316ab0d..b64f720 100644 --- a/internal/examples/proto/gen/einride/bigquery/example/v1/example_wrappers.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/example/v1/example_wrappers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_wrappers.proto @@ -39,11 +39,9 @@ type ExampleWrappers struct { func (x *ExampleWrappers) Reset() { *x = ExampleWrappers{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_example_v1_example_wrappers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_example_v1_example_wrappers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExampleWrappers) String() string { @@ -54,7 +52,7 @@ func (*ExampleWrappers) ProtoMessage() {} func (x *ExampleWrappers) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_example_v1_example_wrappers_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) @@ -235,20 +233,6 @@ func file_einride_bigquery_example_v1_example_wrappers_proto_init() { if File_einride_bigquery_example_v1_example_wrappers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_example_v1_example_wrappers_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExampleWrappers); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/dogecoin_transaction.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/dogecoin_transaction.pb.go index b7f46f4..4e4a85f 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/dogecoin_transaction.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/dogecoin_transaction.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/dogecoin_transaction.proto @@ -53,11 +53,9 @@ type DogecoinTransaction struct { func (x *DogecoinTransaction) Reset() { *x = DogecoinTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DogecoinTransaction) String() string { @@ -68,7 +66,7 @@ func (*DogecoinTransaction) ProtoMessage() {} func (x *DogecoinTransaction) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_dogecoin_transaction_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) @@ -199,11 +197,9 @@ type DogecoinTransaction_Input struct { func (x *DogecoinTransaction_Input) Reset() { *x = DogecoinTransaction_Input{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DogecoinTransaction_Input) String() string { @@ -214,7 +210,7 @@ func (*DogecoinTransaction_Input) ProtoMessage() {} func (x *DogecoinTransaction_Input) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_dogecoin_transaction_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) @@ -307,11 +303,9 @@ type DogecoinTransaction_Output struct { func (x *DogecoinTransaction_Output) Reset() { *x = DogecoinTransaction_Output{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DogecoinTransaction_Output) String() string { @@ -322,7 +316,7 @@ func (*DogecoinTransaction_Output) ProtoMessage() {} func (x *DogecoinTransaction_Output) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_dogecoin_transaction_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) @@ -508,44 +502,6 @@ func file_einride_bigquery_public_v1_dogecoin_transaction_proto_init() { if File_einride_bigquery_public_v1_dogecoin_transaction_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DogecoinTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*DogecoinTransaction_Input); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_einride_bigquery_public_v1_dogecoin_transaction_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*DogecoinTransaction_Output); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/film_location.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/film_location.pb.go index 20e35fb..9e4e8f3 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/film_location.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/film_location.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/film_location.proto @@ -43,11 +43,9 @@ type FilmLocation struct { func (x *FilmLocation) Reset() { *x = FilmLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_film_location_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_film_location_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FilmLocation) String() string { @@ -58,7 +56,7 @@ func (*FilmLocation) ProtoMessage() {} func (x *FilmLocation) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_film_location_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) @@ -217,20 +215,6 @@ func file_einride_bigquery_public_v1_film_location_proto_init() { if File_einride_bigquery_public_v1_film_location_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_film_location_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*FilmLocation); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/hacker_news_story.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/hacker_news_story.pb.go index 20aebae..0cce6b4 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/hacker_news_story.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/hacker_news_story.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/hacker_news_story.proto @@ -45,11 +45,9 @@ type HackerNewsStory struct { func (x *HackerNewsStory) Reset() { *x = HackerNewsStory{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_hacker_news_story_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_hacker_news_story_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HackerNewsStory) String() string { @@ -60,7 +58,7 @@ func (*HackerNewsStory) ProtoMessage() {} func (x *HackerNewsStory) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_hacker_news_story_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) @@ -229,20 +227,6 @@ func file_einride_bigquery_public_v1_hacker_news_story_proto_init() { if File_einride_bigquery_public_v1_hacker_news_story_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_hacker_news_story_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*HackerNewsStory); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/historic_severe_storm.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/historic_severe_storm.pb.go index 8edbed2..8a7a2a1 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/historic_severe_storm.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/historic_severe_storm.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/historic_severe_storm.proto @@ -67,11 +67,9 @@ type HistoricSevereStorm struct { func (x *HistoricSevereStorm) Reset() { *x = HistoricSevereStorm{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_historic_severe_storm_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_historic_severe_storm_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HistoricSevereStorm) String() string { @@ -82,7 +80,7 @@ func (*HistoricSevereStorm) ProtoMessage() {} func (x *HistoricSevereStorm) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_historic_severe_storm_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) @@ -459,20 +457,6 @@ func file_einride_bigquery_public_v1_historic_severe_storm_proto_init() { if File_einride_bigquery_public_v1_historic_severe_storm_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_historic_severe_storm_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*HistoricSevereStorm); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_rental.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_rental.pb.go index d0f1bfb..2cc18b7 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_rental.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_rental.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/london_bicycle_rental.proto @@ -46,11 +46,9 @@ type LondonBicycleRental struct { func (x *LondonBicycleRental) Reset() { *x = LondonBicycleRental{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_london_bicycle_rental_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_london_bicycle_rental_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LondonBicycleRental) String() string { @@ -61,7 +59,7 @@ func (*LondonBicycleRental) ProtoMessage() {} func (x *LondonBicycleRental) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_london_bicycle_rental_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) @@ -253,20 +251,6 @@ func file_einride_bigquery_public_v1_london_bicycle_rental_proto_init() { if File_einride_bigquery_public_v1_london_bicycle_rental_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_london_bicycle_rental_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*LondonBicycleRental); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_station.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_station.pb.go index ea6ed71..533222a 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_station.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/london_bicycle_station.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/london_bicycle_station.proto @@ -46,11 +46,9 @@ type LondonBicycleStation struct { func (x *LondonBicycleStation) Reset() { *x = LondonBicycleStation{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_london_bicycle_station_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_london_bicycle_station_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LondonBicycleStation) String() string { @@ -61,7 +59,7 @@ func (*LondonBicycleStation) ProtoMessage() {} func (x *LondonBicycleStation) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_london_bicycle_station_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) @@ -237,20 +235,6 @@ func file_einride_bigquery_public_v1_london_bicycle_station_proto_init() { if File_einride_bigquery_public_v1_london_bicycle_station_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_london_bicycle_station_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*LondonBicycleStation); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go index 353f99e..156400b 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/san_fransisco_transit_stop_time.proto @@ -42,11 +42,9 @@ type SanFransiscoTransitStopTime struct { func (x *SanFransiscoTransitStopTime) Reset() { *x = SanFransiscoTransitStopTime{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_san_fransisco_transit_stop_time_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_san_fransisco_transit_stop_time_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SanFransiscoTransitStopTime) String() string { @@ -57,7 +55,7 @@ func (*SanFransiscoTransitStopTime) ProtoMessage() {} func (x *SanFransiscoTransitStopTime) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_san_fransisco_transit_stop_time_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) @@ -212,20 +210,6 @@ func file_einride_bigquery_public_v1_san_fransisco_transit_stop_time_proto_init( if File_einride_bigquery_public_v1_san_fransisco_transit_stop_time_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_san_fransisco_transit_stop_time_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*SanFransiscoTransitStopTime); 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{ diff --git a/internal/examples/proto/gen/einride/bigquery/public/v1/whos_on_first_geojson.pb.go b/internal/examples/proto/gen/einride/bigquery/public/v1/whos_on_first_geojson.pb.go index 1cae554..5814718 100644 --- a/internal/examples/proto/gen/einride/bigquery/public/v1/whos_on_first_geojson.pb.go +++ b/internal/examples/proto/gen/einride/bigquery/public/v1/whos_on_first_geojson.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: einride/bigquery/public/v1/whos_on_first_geojson.proto @@ -42,11 +42,9 @@ type WhosOnFirstGeoJson struct { func (x *WhosOnFirstGeoJson) Reset() { *x = WhosOnFirstGeoJson{} - if protoimpl.UnsafeEnabled { - mi := &file_einride_bigquery_public_v1_whos_on_first_geojson_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_einride_bigquery_public_v1_whos_on_first_geojson_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WhosOnFirstGeoJson) String() string { @@ -57,7 +55,7 @@ func (*WhosOnFirstGeoJson) ProtoMessage() {} func (x *WhosOnFirstGeoJson) ProtoReflect() protoreflect.Message { mi := &file_einride_bigquery_public_v1_whos_on_first_geojson_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) @@ -202,20 +200,6 @@ func file_einride_bigquery_public_v1_whos_on_first_geojson_proto_init() { if File_einride_bigquery_public_v1_whos_on_first_geojson_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_einride_bigquery_public_v1_whos_on_first_geojson_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*WhosOnFirstGeoJson); 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{