From 92218e3270d65313353d52ae64a354552f398a05 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Mon, 18 Nov 2024 10:54:23 -0600 Subject: [PATCH 1/2] Update protobuf-go to v1.35.2 (#158) --- buf.gen.yaml | 2 +- buf.yaml | 2 +- go.mod | 4 +- go.sum | 8 +- .../buf/validate/conformance/cases/bool.pb.go | 94 +- .../validate/conformance/cases/bytes.pb.go | 468 +- .../custom_constraints.pb.go | 226 +- .../validate/conformance/cases/enums.pb.go | 404 +- .../cases/filename-with-dash.pb.go | 4 +- .../cases/ignore_empty_proto2.pb.go | 184 +- .../cases/ignore_empty_proto3.pb.go | 210 +- .../cases/ignore_empty_proto_editions.pb.go | 382 +- .../conformance/cases/ignore_proto2.pb.go | 1008 +--- .../conformance/cases/ignore_proto3.pb.go | 828 +--- .../cases/ignore_proto_editions.pb.go | 1470 ++---- .../conformance/cases/kitchen_sink.pb.go | 52 +- .../buf/validate/conformance/cases/maps.pb.go | 292 +- .../validate/conformance/cases/messages.pb.go | 252 +- .../validate/conformance/cases/numbers.pb.go | 4100 +++-------------- .../validate/conformance/cases/oneofs.pb.go | 124 +- .../cases/other_package/embed.pb.go | 50 +- .../cases/predefined_rules_proto2.pb.go | 886 +--- .../cases/predefined_rules_proto3.pb.go | 932 +--- .../predefined_rules_proto_editions.pb.go | 908 +--- .../validate/conformance/cases/repeated.pb.go | 578 +-- .../cases/required_field_proto2.pb.go | 184 +- .../cases/required_field_proto3.pb.go | 164 +- .../cases/required_field_proto_editions.pb.go | 360 +- .../validate/conformance/cases/strings.pb.go | 1350 +----- .../cases/subdirectory/in_subdirectory.pb.go | 4 +- .../validate/conformance/cases/wkt_any.pb.go | 94 +- .../conformance/cases/wkt_duration.pb.go | 336 +- .../conformance/cases/wkt_nested.pb.go | 72 +- .../conformance/cases/wkt_timestamp.pb.go | 424 +- .../conformance/cases/wkt_wrappers.pb.go | 314 +- .../cases/yet_another_package/embed2.pb.go | 28 +- .../conformance/harness/harness.pb.go | 74 +- .../conformance/harness/results.pb.go | 94 +- internal/gen/tests/example/v1/example.pb.go | 50 +- internal/gen/tests/example/v1/legacy.pb.go | 364 +- .../gen/tests/example/v1/predefined.pb.go | 28 +- .../gen/tests/example/v1/validations.pb.go | 426 +- 42 files changed, 3316 insertions(+), 14518 deletions(-) diff --git a/buf.gen.yaml b/buf.gen.yaml index 05af50e..229d9ad 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -10,6 +10,6 @@ managed: - file_option: go_package_prefix value: github.com/bufbuild/protovalidate-go/internal/gen plugins: - - remote: buf.build/protocolbuffers/go:v1.34.1 + - remote: buf.build/protocolbuffers/go:v1.35.2 out: internal/gen opt: paths=source_relative diff --git a/buf.yaml b/buf.yaml index a7b3b3f..f5400c0 100644 --- a/buf.yaml +++ b/buf.yaml @@ -7,7 +7,7 @@ deps: - buf.build/envoyproxy/protoc-gen-validate lint: use: - - DEFAULT + - STANDARD ignore_only: PROTOVALIDATE: - proto/tests/example/v1/validations.proto diff --git a/go.mod b/go.mod index 304f252..34aeba4 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,11 @@ module github.com/bufbuild/protovalidate-go go 1.21 require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1 github.com/envoyproxy/protoc-gen-validate v1.1.0 github.com/google/cel-go v0.21.0 github.com/stretchr/testify v1.9.0 - google.golang.org/protobuf v1.35.1 + google.golang.org/protobuf v1.35.2 ) require ( diff --git a/go.sum b/go.sum index 2f6f861..db77bba 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 h1:9wP6ZZYWnF2Z0TxmII7m3XNykxnP4/w8oXeth6ekcRI= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1/go.mod h1:Duw/9JoXkXIydyASnLYIiufkzySThoqavOsF+IihqvM= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1 h1:7QIeAuTdLp173vC/9JojRMDFcpmqtoYrxPmvdHAOynw= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1/go.mod h1:mnHCFccv4HwuIAOHNGdiIc5ZYbBCvbTWZcodLN5wITI= github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= @@ -38,8 +38,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda h1: google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda/go.mod h1:AHcE/gZH76Bk/ROZhQphlRoWo5xKDEtz3eVEO1LfA8c= google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4= google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= -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= +google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= +google.golang.org/protobuf v1.35.2/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-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/internal/gen/buf/validate/conformance/cases/bool.pb.go b/internal/gen/buf/validate/conformance/cases/bool.pb.go index e65bb8a..4b7e92d 100644 --- a/internal/gen/buf/validate/conformance/cases/bool.pb.go +++ b/internal/gen/buf/validate/conformance/cases/bool.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/bool.proto @@ -45,11 +45,9 @@ type BoolNone struct { func (x *BoolNone) Reset() { *x = BoolNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoolNone) String() string { @@ -60,7 +58,7 @@ func (*BoolNone) ProtoMessage() {} func (x *BoolNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bool_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) @@ -92,11 +90,9 @@ type BoolConstTrue struct { func (x *BoolConstTrue) Reset() { *x = BoolConstTrue{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoolConstTrue) String() string { @@ -107,7 +103,7 @@ func (*BoolConstTrue) ProtoMessage() {} func (x *BoolConstTrue) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type BoolConstFalse struct { func (x *BoolConstFalse) Reset() { *x = BoolConstFalse{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoolConstFalse) String() string { @@ -154,7 +148,7 @@ func (*BoolConstFalse) ProtoMessage() {} func (x *BoolConstFalse) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bool_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) @@ -186,11 +180,9 @@ type BoolExample struct { func (x *BoolExample) Reset() { *x = BoolExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoolExample) String() string { @@ -201,7 +193,7 @@ func (*BoolExample) ProtoMessage() {} func (x *BoolExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -277,7 +269,7 @@ func file_buf_validate_conformance_cases_bool_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_bool_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_validate_conformance_cases_bool_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_bool_proto_goTypes = []any{ (*BoolNone)(nil), // 0: buf.validate.conformance.cases.BoolNone (*BoolConstTrue)(nil), // 1: buf.validate.conformance.cases.BoolConstTrue (*BoolConstFalse)(nil), // 2: buf.validate.conformance.cases.BoolConstFalse @@ -296,56 +288,6 @@ func file_buf_validate_conformance_cases_bool_proto_init() { if File_buf_validate_conformance_cases_bool_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_bool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoolNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoolConstTrue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoolConstFalse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoolExample); 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/gen/buf/validate/conformance/cases/bytes.pb.go b/internal/gen/buf/validate/conformance/cases/bytes.pb.go index 802abc1..ce93513 100644 --- a/internal/gen/buf/validate/conformance/cases/bytes.pb.go +++ b/internal/gen/buf/validate/conformance/cases/bytes.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/bytes.proto @@ -45,11 +45,9 @@ type BytesNone struct { func (x *BytesNone) Reset() { *x = BytesNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesNone) String() string { @@ -60,7 +58,7 @@ func (*BytesNone) ProtoMessage() {} func (x *BytesNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_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) @@ -92,11 +90,9 @@ type BytesConst struct { func (x *BytesConst) Reset() { *x = BytesConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesConst) String() string { @@ -107,7 +103,7 @@ func (*BytesConst) ProtoMessage() {} func (x *BytesConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type BytesIn struct { func (x *BytesIn) Reset() { *x = BytesIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesIn) String() string { @@ -154,7 +148,7 @@ func (*BytesIn) ProtoMessage() {} func (x *BytesIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_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) @@ -186,11 +180,9 @@ type BytesNotIn struct { func (x *BytesNotIn) Reset() { *x = BytesNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesNotIn) String() string { @@ -201,7 +193,7 @@ func (*BytesNotIn) ProtoMessage() {} func (x *BytesNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,11 +225,9 @@ type BytesLen struct { func (x *BytesLen) Reset() { *x = BytesLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesLen) String() string { @@ -248,7 +238,7 @@ func (*BytesLen) ProtoMessage() {} func (x *BytesLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type BytesMinLen struct { func (x *BytesMinLen) Reset() { *x = BytesMinLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesMinLen) String() string { @@ -295,7 +283,7 @@ func (*BytesMinLen) ProtoMessage() {} func (x *BytesMinLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type BytesMaxLen struct { func (x *BytesMaxLen) Reset() { *x = BytesMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesMaxLen) String() string { @@ -342,7 +328,7 @@ func (*BytesMaxLen) ProtoMessage() {} func (x *BytesMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +360,9 @@ type BytesMinMaxLen struct { func (x *BytesMinMaxLen) Reset() { *x = BytesMinMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesMinMaxLen) String() string { @@ -389,7 +373,7 @@ func (*BytesMinMaxLen) ProtoMessage() {} func (x *BytesMinMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type BytesEqualMinMaxLen struct { func (x *BytesEqualMinMaxLen) Reset() { *x = BytesEqualMinMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesEqualMinMaxLen) String() string { @@ -436,7 +418,7 @@ func (*BytesEqualMinMaxLen) ProtoMessage() {} func (x *BytesEqualMinMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,11 +450,9 @@ type BytesPattern struct { func (x *BytesPattern) Reset() { *x = BytesPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesPattern) String() string { @@ -483,7 +463,7 @@ func (*BytesPattern) ProtoMessage() {} func (x *BytesPattern) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_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) @@ -515,11 +495,9 @@ type BytesPrefix struct { func (x *BytesPrefix) Reset() { *x = BytesPrefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesPrefix) String() string { @@ -530,7 +508,7 @@ func (*BytesPrefix) ProtoMessage() {} func (x *BytesPrefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,11 +540,9 @@ type BytesContains struct { func (x *BytesContains) Reset() { *x = BytesContains{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesContains) String() string { @@ -577,7 +553,7 @@ func (*BytesContains) ProtoMessage() {} func (x *BytesContains) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,11 +585,9 @@ type BytesSuffix struct { func (x *BytesSuffix) Reset() { *x = BytesSuffix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesSuffix) String() string { @@ -624,7 +598,7 @@ func (*BytesSuffix) ProtoMessage() {} func (x *BytesSuffix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -656,11 +630,9 @@ type BytesIP struct { func (x *BytesIP) Reset() { *x = BytesIP{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesIP) String() string { @@ -671,7 +643,7 @@ func (*BytesIP) ProtoMessage() {} func (x *BytesIP) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -703,11 +675,9 @@ type BytesNotIP struct { func (x *BytesNotIP) Reset() { *x = BytesNotIP{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesNotIP) String() string { @@ -718,7 +688,7 @@ func (*BytesNotIP) ProtoMessage() {} func (x *BytesNotIP) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -750,11 +720,9 @@ type BytesIPv4 struct { func (x *BytesIPv4) Reset() { *x = BytesIPv4{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesIPv4) String() string { @@ -765,7 +733,7 @@ func (*BytesIPv4) ProtoMessage() {} func (x *BytesIPv4) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -797,11 +765,9 @@ type BytesNotIPv4 struct { func (x *BytesNotIPv4) Reset() { *x = BytesNotIPv4{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesNotIPv4) String() string { @@ -812,7 +778,7 @@ func (*BytesNotIPv4) ProtoMessage() {} func (x *BytesNotIPv4) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -844,11 +810,9 @@ type BytesIPv6 struct { func (x *BytesIPv6) Reset() { *x = BytesIPv6{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesIPv6) String() string { @@ -859,7 +823,7 @@ func (*BytesIPv6) ProtoMessage() {} func (x *BytesIPv6) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -891,11 +855,9 @@ type BytesNotIPv6 struct { func (x *BytesNotIPv6) Reset() { *x = BytesNotIPv6{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesNotIPv6) String() string { @@ -906,7 +868,7 @@ func (*BytesNotIPv6) ProtoMessage() {} func (x *BytesNotIPv6) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -938,11 +900,9 @@ type BytesIPv6Ignore struct { func (x *BytesIPv6Ignore) Reset() { *x = BytesIPv6Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesIPv6Ignore) String() string { @@ -953,7 +913,7 @@ func (*BytesIPv6Ignore) ProtoMessage() {} func (x *BytesIPv6Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -985,11 +945,9 @@ type BytesExample struct { func (x *BytesExample) Reset() { *x = BytesExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesExample) String() string { @@ -1000,7 +958,7 @@ func (*BytesExample) ProtoMessage() {} func (x *BytesExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1123,7 +1081,7 @@ func file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_buf_validate_conformance_cases_bytes_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_bytes_proto_goTypes = []any{ (*BytesNone)(nil), // 0: buf.validate.conformance.cases.BytesNone (*BytesConst)(nil), // 1: buf.validate.conformance.cases.BytesConst (*BytesIn)(nil), // 2: buf.validate.conformance.cases.BytesIn @@ -1159,260 +1117,6 @@ func file_buf_validate_conformance_cases_bytes_proto_init() { if File_buf_validate_conformance_cases_bytes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_bytes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesMinLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesMinMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesEqualMinMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesPrefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesContains); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesSuffix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesIP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesNotIP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesIPv4); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesNotIPv4); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesIPv6); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesNotIPv6); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesIPv6Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_bytes_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesExample); 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/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints.pb.go b/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints.pb.go index 1ef0edd..dddd74b 100644 --- a/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints.pb.go +++ b/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/custom_constraints/custom_constraints.proto @@ -94,11 +94,9 @@ type NoExpressions struct { func (x *NoExpressions) Reset() { *x = NoExpressions{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NoExpressions) String() string { @@ -109,7 +107,7 @@ func (*NoExpressions) ProtoMessage() {} func (x *NoExpressions) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_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) @@ -161,11 +159,9 @@ type MessageExpressions struct { func (x *MessageExpressions) Reset() { *x = MessageExpressions{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageExpressions) String() string { @@ -176,7 +172,7 @@ func (*MessageExpressions) ProtoMessage() {} func (x *MessageExpressions) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_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) @@ -245,11 +241,9 @@ type FieldExpressions struct { func (x *FieldExpressions) Reset() { *x = FieldExpressions{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldExpressions) String() string { @@ -260,7 +254,7 @@ func (*FieldExpressions) ProtoMessage() {} func (x *FieldExpressions) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_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,11 +300,9 @@ type MissingField struct { func (x *MissingField) Reset() { *x = MissingField{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MissingField) String() string { @@ -321,7 +313,7 @@ func (*MissingField) ProtoMessage() {} func (x *MissingField) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +345,9 @@ type IncorrectType struct { func (x *IncorrectType) Reset() { *x = IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncorrectType) String() string { @@ -368,7 +358,7 @@ func (*IncorrectType) ProtoMessage() {} func (x *IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,11 +390,9 @@ type DynRuntimeError struct { func (x *DynRuntimeError) Reset() { *x = DynRuntimeError{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DynRuntimeError) String() string { @@ -415,7 +403,7 @@ func (*DynRuntimeError) ProtoMessage() {} func (x *DynRuntimeError) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,11 +433,9 @@ type NowEqualsNow struct { func (x *NowEqualsNow) Reset() { *x = NowEqualsNow{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NowEqualsNow) String() string { @@ -460,7 +446,7 @@ func (*NowEqualsNow) ProtoMessage() {} func (x *NowEqualsNow) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -483,11 +469,9 @@ type NoExpressions_Nested struct { func (x *NoExpressions_Nested) Reset() { *x = NoExpressions_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NoExpressions_Nested) String() string { @@ -498,7 +482,7 @@ func (*NoExpressions_Nested) ProtoMessage() {} func (x *NoExpressions_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,11 +508,9 @@ type MessageExpressions_Nested struct { func (x *MessageExpressions_Nested) Reset() { *x = MessageExpressions_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageExpressions_Nested) String() string { @@ -539,7 +521,7 @@ func (*MessageExpressions_Nested) ProtoMessage() {} func (x *MessageExpressions_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -578,11 +560,9 @@ type FieldExpressions_Nested struct { func (x *FieldExpressions_Nested) Reset() { *x = FieldExpressions_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldExpressions_Nested) String() string { @@ -593,7 +573,7 @@ func (*FieldExpressions_Nested) ProtoMessage() {} func (x *FieldExpressions_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_custom_constraints_custom_constraints_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) @@ -787,7 +767,7 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_goTypes = []any{ (Enum)(0), // 0: buf.validate.conformance.cases.custom_constraints.Enum (*NoExpressions)(nil), // 1: buf.validate.conformance.cases.custom_constraints.NoExpressions (*MessageExpressions)(nil), // 2: buf.validate.conformance.cases.custom_constraints.MessageExpressions @@ -821,128 +801,6 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p if File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoExpressions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageExpressions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldExpressions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MissingField); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DynRuntimeError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NowEqualsNow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoExpressions_Nested); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageExpressions_Nested); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldExpressions_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/gen/buf/validate/conformance/cases/enums.pb.go b/internal/gen/buf/validate/conformance/cases/enums.pb.go index 9c8b123..959745e 100644 --- a/internal/gen/buf/validate/conformance/cases/enums.pb.go +++ b/internal/gen/buf/validate/conformance/cases/enums.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/enums.proto @@ -157,11 +157,9 @@ type EnumNone struct { func (x *EnumNone) Reset() { *x = EnumNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumNone) String() string { @@ -172,7 +170,7 @@ func (*EnumNone) ProtoMessage() {} func (x *EnumNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_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) @@ -204,11 +202,9 @@ type EnumConst struct { func (x *EnumConst) Reset() { *x = EnumConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumConst) String() string { @@ -219,7 +215,7 @@ func (*EnumConst) ProtoMessage() {} func (x *EnumConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_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) @@ -251,11 +247,9 @@ type EnumAliasConst struct { func (x *EnumAliasConst) Reset() { *x = EnumAliasConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumAliasConst) String() string { @@ -266,7 +260,7 @@ func (*EnumAliasConst) ProtoMessage() {} func (x *EnumAliasConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_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) @@ -298,11 +292,9 @@ type EnumDefined struct { func (x *EnumDefined) Reset() { *x = EnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumDefined) String() string { @@ -313,7 +305,7 @@ func (*EnumDefined) ProtoMessage() {} func (x *EnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,11 +337,9 @@ type EnumAliasDefined struct { func (x *EnumAliasDefined) Reset() { *x = EnumAliasDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumAliasDefined) String() string { @@ -360,7 +350,7 @@ func (*EnumAliasDefined) ProtoMessage() {} func (x *EnumAliasDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -392,11 +382,9 @@ type EnumIn struct { func (x *EnumIn) Reset() { *x = EnumIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumIn) String() string { @@ -407,7 +395,7 @@ func (*EnumIn) ProtoMessage() {} func (x *EnumIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,11 +427,9 @@ type EnumAliasIn struct { func (x *EnumAliasIn) Reset() { *x = EnumAliasIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumAliasIn) String() string { @@ -454,7 +440,7 @@ func (*EnumAliasIn) ProtoMessage() {} func (x *EnumAliasIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,11 +472,9 @@ type EnumNotIn struct { func (x *EnumNotIn) Reset() { *x = EnumNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumNotIn) String() string { @@ -501,7 +485,7 @@ func (*EnumNotIn) ProtoMessage() {} func (x *EnumNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -533,11 +517,9 @@ type EnumAliasNotIn struct { func (x *EnumAliasNotIn) Reset() { *x = EnumAliasNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumAliasNotIn) String() string { @@ -548,7 +530,7 @@ func (*EnumAliasNotIn) ProtoMessage() {} func (x *EnumAliasNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,11 +562,9 @@ type EnumExternal struct { func (x *EnumExternal) Reset() { *x = EnumExternal{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumExternal) String() string { @@ -595,7 +575,7 @@ func (*EnumExternal) ProtoMessage() {} func (x *EnumExternal) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_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) @@ -627,11 +607,9 @@ type EnumExternal2 struct { func (x *EnumExternal2) Reset() { *x = EnumExternal2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumExternal2) String() string { @@ -642,7 +620,7 @@ func (*EnumExternal2) ProtoMessage() {} func (x *EnumExternal2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -674,11 +652,9 @@ type RepeatedEnumDefined struct { func (x *RepeatedEnumDefined) Reset() { *x = RepeatedEnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEnumDefined) String() string { @@ -689,7 +665,7 @@ func (*RepeatedEnumDefined) ProtoMessage() {} func (x *RepeatedEnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -721,11 +697,9 @@ type RepeatedExternalEnumDefined struct { func (x *RepeatedExternalEnumDefined) Reset() { *x = RepeatedExternalEnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedExternalEnumDefined) String() string { @@ -736,7 +710,7 @@ func (*RepeatedExternalEnumDefined) ProtoMessage() {} func (x *RepeatedExternalEnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -768,11 +742,9 @@ type RepeatedYetAnotherExternalEnumDefined struct { func (x *RepeatedYetAnotherExternalEnumDefined) Reset() { *x = RepeatedYetAnotherExternalEnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedYetAnotherExternalEnumDefined) String() string { @@ -783,7 +755,7 @@ func (*RepeatedYetAnotherExternalEnumDefined) ProtoMessage() {} func (x *RepeatedYetAnotherExternalEnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -815,11 +787,9 @@ type MapEnumDefined struct { func (x *MapEnumDefined) Reset() { *x = MapEnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapEnumDefined) String() string { @@ -830,7 +800,7 @@ func (*MapEnumDefined) ProtoMessage() {} func (x *MapEnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -862,11 +832,9 @@ type MapExternalEnumDefined struct { func (x *MapExternalEnumDefined) Reset() { *x = MapExternalEnumDefined{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapExternalEnumDefined) String() string { @@ -877,7 +845,7 @@ func (*MapExternalEnumDefined) ProtoMessage() {} func (x *MapExternalEnumDefined) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -916,11 +884,9 @@ type EnumInsideOneof struct { func (x *EnumInsideOneof) Reset() { *x = EnumInsideOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumInsideOneof) String() string { @@ -931,7 +897,7 @@ func (*EnumInsideOneof) ProtoMessage() {} func (x *EnumInsideOneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1004,11 +970,9 @@ type EnumExample struct { func (x *EnumExample) Reset() { *x = EnumExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnumExample) String() string { @@ -1019,7 +983,7 @@ func (*EnumExample) ProtoMessage() {} func (x *EnumExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1242,7 +1206,7 @@ func file_buf_validate_conformance_cases_enums_proto_rawDescGZIP() []byte { var file_buf_validate_conformance_cases_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_buf_validate_conformance_cases_enums_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_buf_validate_conformance_cases_enums_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_enums_proto_goTypes = []any{ (TestEnum)(0), // 0: buf.validate.conformance.cases.TestEnum (TestEnumAlias)(0), // 1: buf.validate.conformance.cases.TestEnumAlias (*EnumNone)(nil), // 2: buf.validate.conformance.cases.EnumNone @@ -1303,225 +1267,7 @@ func file_buf_validate_conformance_cases_enums_proto_init() { if File_buf_validate_conformance_cases_enums_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_enums_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumAliasConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumAliasDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumAliasIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumAliasNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumExternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumExternal2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedExternalEnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedYetAnotherExternalEnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapEnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapExternalEnumDefined); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumInsideOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumExample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_enums_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_enums_proto_msgTypes[16].OneofWrappers = []any{ (*EnumInsideOneof_Val)(nil), (*EnumInsideOneof_Val2)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/filename-with-dash.pb.go b/internal/gen/buf/validate/conformance/cases/filename-with-dash.pb.go index 6f26934..c0cc17d 100644 --- a/internal/gen/buf/validate/conformance/cases/filename-with-dash.pb.go +++ b/internal/gen/buf/validate/conformance/cases/filename-with-dash.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/filename-with-dash.proto @@ -66,7 +66,7 @@ var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = []byt 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = []interface{}{} +var file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = []any{} var file_buf_validate_conformance_cases_filename_with_dash_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 diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2.pb.go index 063dd02..6e1fe80 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto2.proto @@ -45,11 +45,9 @@ type IgnoreEmptyProto2ScalarOptional struct { func (x *IgnoreEmptyProto2ScalarOptional) Reset() { *x = IgnoreEmptyProto2ScalarOptional{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2ScalarOptional) String() string { @@ -60,7 +58,7 @@ func (*IgnoreEmptyProto2ScalarOptional) ProtoMessage() {} func (x *IgnoreEmptyProto2ScalarOptional) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_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) @@ -97,11 +95,9 @@ const ( func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) Reset() { *x = IgnoreEmptyProto2ScalarOptionalWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) String() string { @@ -112,7 +108,7 @@ func (*IgnoreEmptyProto2ScalarOptionalWithDefault) ProtoMessage() {} func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_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) @@ -144,11 +140,9 @@ type IgnoreEmptyProto2ScalarRequired struct { func (x *IgnoreEmptyProto2ScalarRequired) Reset() { *x = IgnoreEmptyProto2ScalarRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2ScalarRequired) String() string { @@ -159,7 +153,7 @@ func (*IgnoreEmptyProto2ScalarRequired) ProtoMessage() {} func (x *IgnoreEmptyProto2ScalarRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_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) @@ -191,11 +185,9 @@ type IgnoreEmptyProto2Message struct { func (x *IgnoreEmptyProto2Message) Reset() { *x = IgnoreEmptyProto2Message{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2Message) String() string { @@ -206,7 +198,7 @@ func (*IgnoreEmptyProto2Message) ProtoMessage() {} func (x *IgnoreEmptyProto2Message) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,11 +233,9 @@ type IgnoreEmptyProto2Oneof struct { func (x *IgnoreEmptyProto2Oneof) Reset() { *x = IgnoreEmptyProto2Oneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2Oneof) String() string { @@ -256,7 +246,7 @@ func (*IgnoreEmptyProto2Oneof) ProtoMessage() {} func (x *IgnoreEmptyProto2Oneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,11 +295,9 @@ type IgnoreEmptyProto2Repeated struct { func (x *IgnoreEmptyProto2Repeated) Reset() { *x = IgnoreEmptyProto2Repeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2Repeated) String() string { @@ -320,7 +308,7 @@ func (*IgnoreEmptyProto2Repeated) ProtoMessage() {} func (x *IgnoreEmptyProto2Repeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,11 +340,9 @@ type IgnoreEmptyProto2Map struct { func (x *IgnoreEmptyProto2Map) Reset() { *x = IgnoreEmptyProto2Map{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2Map) String() string { @@ -367,7 +353,7 @@ func (*IgnoreEmptyProto2Map) ProtoMessage() {} func (x *IgnoreEmptyProto2Map) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -399,11 +385,9 @@ type IgnoreEmptyProto2Message_Msg struct { func (x *IgnoreEmptyProto2Message_Msg) Reset() { *x = IgnoreEmptyProto2Message_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto2Message_Msg) String() string { @@ -414,7 +398,7 @@ func (*IgnoreEmptyProto2Message_Msg) ProtoMessage() {} func (x *IgnoreEmptyProto2Message_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -525,7 +509,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP() } var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = []any{ (*IgnoreEmptyProto2ScalarOptional)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional (*IgnoreEmptyProto2ScalarOptionalWithDefault)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault (*IgnoreEmptyProto2ScalarRequired)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired @@ -551,105 +535,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { if File_buf_validate_conformance_cases_ignore_empty_proto2_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2ScalarOptional); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2ScalarOptionalWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2ScalarRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2Oneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2Repeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2Map); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto2Message_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4].OneofWrappers = []any{ (*IgnoreEmptyProto2Oneof_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3.pb.go index c429434..f5fd6e1 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto3.proto @@ -45,11 +45,9 @@ type IgnoreEmptyProto3Scalar struct { func (x *IgnoreEmptyProto3Scalar) Reset() { *x = IgnoreEmptyProto3Scalar{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Scalar) String() string { @@ -60,7 +58,7 @@ func (*IgnoreEmptyProto3Scalar) ProtoMessage() {} func (x *IgnoreEmptyProto3Scalar) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_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) @@ -92,11 +90,9 @@ type IgnoreEmptyProto3OptionalScalar struct { func (x *IgnoreEmptyProto3OptionalScalar) Reset() { *x = IgnoreEmptyProto3OptionalScalar{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3OptionalScalar) String() string { @@ -107,7 +103,7 @@ func (*IgnoreEmptyProto3OptionalScalar) ProtoMessage() {} func (x *IgnoreEmptyProto3OptionalScalar) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type IgnoreEmptyProto3Message struct { func (x *IgnoreEmptyProto3Message) Reset() { *x = IgnoreEmptyProto3Message{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Message) String() string { @@ -154,7 +148,7 @@ func (*IgnoreEmptyProto3Message) ProtoMessage() {} func (x *IgnoreEmptyProto3Message) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_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) @@ -189,11 +183,9 @@ type IgnoreEmptyProto3Oneof struct { func (x *IgnoreEmptyProto3Oneof) Reset() { *x = IgnoreEmptyProto3Oneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Oneof) String() string { @@ -204,7 +196,7 @@ func (*IgnoreEmptyProto3Oneof) ProtoMessage() {} func (x *IgnoreEmptyProto3Oneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,11 +245,9 @@ type IgnoreEmptyProto3Repeated struct { func (x *IgnoreEmptyProto3Repeated) Reset() { *x = IgnoreEmptyProto3Repeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Repeated) String() string { @@ -268,7 +258,7 @@ func (*IgnoreEmptyProto3Repeated) ProtoMessage() {} func (x *IgnoreEmptyProto3Repeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -300,11 +290,9 @@ type IgnoreEmptyProto3Map struct { func (x *IgnoreEmptyProto3Map) Reset() { *x = IgnoreEmptyProto3Map{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Map) String() string { @@ -315,7 +303,7 @@ func (*IgnoreEmptyProto3Map) ProtoMessage() {} func (x *IgnoreEmptyProto3Map) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,11 +335,9 @@ type IgnoreEmptyRepeatedItems struct { func (x *IgnoreEmptyRepeatedItems) Reset() { *x = IgnoreEmptyRepeatedItems{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyRepeatedItems) String() string { @@ -362,7 +348,7 @@ func (*IgnoreEmptyRepeatedItems) ProtoMessage() {} func (x *IgnoreEmptyRepeatedItems) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,11 +380,9 @@ type IgnoreEmptyMapPairs struct { func (x *IgnoreEmptyMapPairs) Reset() { *x = IgnoreEmptyMapPairs{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyMapPairs) String() string { @@ -409,7 +393,7 @@ func (*IgnoreEmptyMapPairs) ProtoMessage() {} func (x *IgnoreEmptyMapPairs) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -441,11 +425,9 @@ type IgnoreEmptyProto3Message_Msg struct { func (x *IgnoreEmptyProto3Message_Msg) Reset() { *x = IgnoreEmptyProto3Message_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyProto3Message_Msg) String() string { @@ -456,7 +438,7 @@ func (*IgnoreEmptyProto3Message_Msg) ProtoMessage() {} func (x *IgnoreEmptyProto3Message_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -579,7 +561,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP() } var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = []any{ (*IgnoreEmptyProto3Scalar)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyProto3Scalar (*IgnoreEmptyProto3OptionalScalar)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar (*IgnoreEmptyProto3Message)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyProto3Message @@ -608,119 +590,9 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { if File_buf_validate_conformance_cases_ignore_empty_proto3_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Scalar); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3OptionalScalar); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Oneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Repeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Map); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyRepeatedItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyMapPairs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyProto3Message_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3].OneofWrappers = []any{ (*IgnoreEmptyProto3Oneof_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go index becc081..2f1944c 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto_editions.proto @@ -45,11 +45,9 @@ type IgnoreEmptyEditionsScalarExplicitPresence struct { func (x *IgnoreEmptyEditionsScalarExplicitPresence) Reset() { *x = IgnoreEmptyEditionsScalarExplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsScalarExplicitPresence) String() string { @@ -60,7 +58,7 @@ func (*IgnoreEmptyEditionsScalarExplicitPresence) ProtoMessage() {} func (x *IgnoreEmptyEditionsScalarExplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_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) @@ -97,11 +95,9 @@ const ( func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) Reset() { *x = IgnoreEmptyEditionsScalarExplicitPresenceWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) String() string { @@ -112,7 +108,7 @@ func (*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) ProtoMessage() {} func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_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) @@ -144,11 +140,9 @@ type IgnoreEmptyEditionsScalarImplicitPresence struct { func (x *IgnoreEmptyEditionsScalarImplicitPresence) Reset() { *x = IgnoreEmptyEditionsScalarImplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsScalarImplicitPresence) String() string { @@ -159,7 +153,7 @@ func (*IgnoreEmptyEditionsScalarImplicitPresence) ProtoMessage() {} func (x *IgnoreEmptyEditionsScalarImplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_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) @@ -191,11 +185,9 @@ type IgnoreEmptyEditionsScalarLegacyRequired struct { func (x *IgnoreEmptyEditionsScalarLegacyRequired) Reset() { *x = IgnoreEmptyEditionsScalarLegacyRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsScalarLegacyRequired) String() string { @@ -206,7 +198,7 @@ func (*IgnoreEmptyEditionsScalarLegacyRequired) ProtoMessage() {} func (x *IgnoreEmptyEditionsScalarLegacyRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +235,9 @@ const ( func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) Reset() { *x = IgnoreEmptyEditionsScalarLegacyRequiredWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) String() string { @@ -258,7 +248,7 @@ func (*IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) ProtoMessage() {} func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,11 +280,9 @@ type IgnoreEmptyEditionsMessageExplicitPresence struct { func (x *IgnoreEmptyEditionsMessageExplicitPresence) Reset() { *x = IgnoreEmptyEditionsMessageExplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageExplicitPresence) String() string { @@ -305,7 +293,7 @@ func (*IgnoreEmptyEditionsMessageExplicitPresence) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageExplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,11 +325,9 @@ type IgnoreEmptyEditionsMessageExplicitPresenceDelimited struct { func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) Reset() { *x = IgnoreEmptyEditionsMessageExplicitPresenceDelimited{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) String() string { @@ -352,7 +338,7 @@ func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -384,11 +370,9 @@ type IgnoreEmptyEditionsMessageLegacyRequired struct { func (x *IgnoreEmptyEditionsMessageLegacyRequired) Reset() { *x = IgnoreEmptyEditionsMessageLegacyRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageLegacyRequired) String() string { @@ -399,7 +383,7 @@ func (*IgnoreEmptyEditionsMessageLegacyRequired) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageLegacyRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -431,11 +415,9 @@ type IgnoreEmptyEditionsMessageLegacyRequiredDelimited struct { func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) Reset() { *x = IgnoreEmptyEditionsMessageLegacyRequiredDelimited{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) String() string { @@ -446,7 +428,7 @@ func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -481,11 +463,9 @@ type IgnoreEmptyEditionsOneof struct { func (x *IgnoreEmptyEditionsOneof) Reset() { *x = IgnoreEmptyEditionsOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsOneof) String() string { @@ -496,7 +476,7 @@ func (*IgnoreEmptyEditionsOneof) ProtoMessage() {} func (x *IgnoreEmptyEditionsOneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_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) @@ -545,11 +525,9 @@ type IgnoreEmptyEditionsRepeated struct { func (x *IgnoreEmptyEditionsRepeated) Reset() { *x = IgnoreEmptyEditionsRepeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsRepeated) String() string { @@ -560,7 +538,7 @@ func (*IgnoreEmptyEditionsRepeated) ProtoMessage() {} func (x *IgnoreEmptyEditionsRepeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -592,11 +570,9 @@ type IgnoreEmptyEditionsRepeatedExpanded struct { func (x *IgnoreEmptyEditionsRepeatedExpanded) Reset() { *x = IgnoreEmptyEditionsRepeatedExpanded{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsRepeatedExpanded) String() string { @@ -607,7 +583,7 @@ func (*IgnoreEmptyEditionsRepeatedExpanded) ProtoMessage() {} func (x *IgnoreEmptyEditionsRepeatedExpanded) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -639,11 +615,9 @@ type IgnoreEmptyEditionsMap struct { func (x *IgnoreEmptyEditionsMap) Reset() { *x = IgnoreEmptyEditionsMap{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMap) String() string { @@ -654,7 +628,7 @@ func (*IgnoreEmptyEditionsMap) ProtoMessage() {} func (x *IgnoreEmptyEditionsMap) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,11 +660,9 @@ type IgnoreEmptyEditionsMessageExplicitPresence_Msg struct { func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) Reset() { *x = IgnoreEmptyEditionsMessageExplicitPresence_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) String() string { @@ -701,7 +673,7 @@ func (*IgnoreEmptyEditionsMessageExplicitPresence_Msg) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -733,11 +705,9 @@ type IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg struct { func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) Reset() { *x = IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) String() string { @@ -748,7 +718,7 @@ func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) ProtoMessage() { func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -780,11 +750,9 @@ type IgnoreEmptyEditionsMessageLegacyRequired_Msg struct { func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) Reset() { *x = IgnoreEmptyEditionsMessageLegacyRequired_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) String() string { @@ -795,7 +763,7 @@ func (*IgnoreEmptyEditionsMessageLegacyRequired_Msg) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -827,11 +795,9 @@ type IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg struct { func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) Reset() { *x = IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) String() string { @@ -842,7 +808,7 @@ func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) ProtoMessage() {} func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,7 +989,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDe } var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = []any{ (*IgnoreEmptyEditionsScalarExplicitPresence)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence (*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault (*IgnoreEmptyEditionsScalarImplicitPresence)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence @@ -1061,213 +1027,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init( if File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsScalarExplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsScalarImplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsScalarLegacyRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsScalarLegacyRequiredWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageExplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageExplicitPresenceDelimited); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageLegacyRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageLegacyRequiredDelimited); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsRepeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsRepeatedExpanded); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageExplicitPresence_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageLegacyRequired_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9].OneofWrappers = []any{ (*IgnoreEmptyEditionsOneof_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto2.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto2.pb.go index 559993e..66ae830 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto2.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto2.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto2.proto @@ -45,11 +45,9 @@ type Proto2ScalarOptionalIgnoreUnspecified struct { func (x *Proto2ScalarOptionalIgnoreUnspecified) Reset() { *x = Proto2ScalarOptionalIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreUnspecified) String() string { @@ -60,7 +58,7 @@ func (*Proto2ScalarOptionalIgnoreUnspecified) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_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) @@ -97,11 +95,9 @@ const ( func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) Reset() { *x = Proto2ScalarOptionalIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) String() string { @@ -112,7 +108,7 @@ func (*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_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) @@ -144,11 +140,9 @@ type Proto2ScalarOptionalIgnoreEmpty struct { func (x *Proto2ScalarOptionalIgnoreEmpty) Reset() { *x = Proto2ScalarOptionalIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreEmpty) String() string { @@ -159,7 +153,7 @@ func (*Proto2ScalarOptionalIgnoreEmpty) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_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) @@ -196,11 +190,9 @@ const ( func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) Reset() { *x = Proto2ScalarOptionalIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) String() string { @@ -211,7 +203,7 @@ func (*Proto2ScalarOptionalIgnoreEmptyWithDefault) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +235,9 @@ type Proto2ScalarOptionalIgnoreDefault struct { func (x *Proto2ScalarOptionalIgnoreDefault) Reset() { *x = Proto2ScalarOptionalIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreDefault) String() string { @@ -258,7 +248,7 @@ func (*Proto2ScalarOptionalIgnoreDefault) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,11 +285,9 @@ const ( func (x *Proto2ScalarOptionalIgnoreDefaultWithDefault) Reset() { *x = Proto2ScalarOptionalIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarOptionalIgnoreDefaultWithDefault) String() string { @@ -310,7 +298,7 @@ func (*Proto2ScalarOptionalIgnoreDefaultWithDefault) ProtoMessage() {} func (x *Proto2ScalarOptionalIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -342,11 +330,9 @@ type Proto2ScalarRequiredIgnoreUnspecified struct { func (x *Proto2ScalarRequiredIgnoreUnspecified) Reset() { *x = Proto2ScalarRequiredIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreUnspecified) String() string { @@ -357,7 +343,7 @@ func (*Proto2ScalarRequiredIgnoreUnspecified) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,11 +380,9 @@ const ( func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) Reset() { *x = Proto2ScalarRequiredIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) String() string { @@ -409,7 +393,7 @@ func (*Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -441,11 +425,9 @@ type Proto2ScalarRequiredIgnoreEmpty struct { func (x *Proto2ScalarRequiredIgnoreEmpty) Reset() { *x = Proto2ScalarRequiredIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreEmpty) String() string { @@ -456,7 +438,7 @@ func (*Proto2ScalarRequiredIgnoreEmpty) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,11 +475,9 @@ const ( func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) Reset() { *x = Proto2ScalarRequiredIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) String() string { @@ -508,7 +488,7 @@ func (*Proto2ScalarRequiredIgnoreEmptyWithDefault) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_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) @@ -540,11 +520,9 @@ type Proto2ScalarRequiredIgnoreDefault struct { func (x *Proto2ScalarRequiredIgnoreDefault) Reset() { *x = Proto2ScalarRequiredIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreDefault) String() string { @@ -555,7 +533,7 @@ func (*Proto2ScalarRequiredIgnoreDefault) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -592,11 +570,9 @@ const ( func (x *Proto2ScalarRequiredIgnoreDefaultWithDefault) Reset() { *x = Proto2ScalarRequiredIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2ScalarRequiredIgnoreDefaultWithDefault) String() string { @@ -607,7 +583,7 @@ func (*Proto2ScalarRequiredIgnoreDefaultWithDefault) ProtoMessage() {} func (x *Proto2ScalarRequiredIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -639,11 +615,9 @@ type Proto2MessageOptionalIgnoreUnspecified struct { func (x *Proto2MessageOptionalIgnoreUnspecified) Reset() { *x = Proto2MessageOptionalIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreUnspecified) String() string { @@ -654,7 +628,7 @@ func (*Proto2MessageOptionalIgnoreUnspecified) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,11 +660,9 @@ type Proto2MessageOptionalIgnoreEmpty struct { func (x *Proto2MessageOptionalIgnoreEmpty) Reset() { *x = Proto2MessageOptionalIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreEmpty) String() string { @@ -701,7 +673,7 @@ func (*Proto2MessageOptionalIgnoreEmpty) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -733,11 +705,9 @@ type Proto2MessageOptionalIgnoreDefault struct { func (x *Proto2MessageOptionalIgnoreDefault) Reset() { *x = Proto2MessageOptionalIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreDefault) String() string { @@ -748,7 +718,7 @@ func (*Proto2MessageOptionalIgnoreDefault) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -780,11 +750,9 @@ type Proto2MessageRequiredIgnoreUnspecified struct { func (x *Proto2MessageRequiredIgnoreUnspecified) Reset() { *x = Proto2MessageRequiredIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreUnspecified) String() string { @@ -795,7 +763,7 @@ func (*Proto2MessageRequiredIgnoreUnspecified) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -827,11 +795,9 @@ type Proto2MessageRequiredIgnoreEmpty struct { func (x *Proto2MessageRequiredIgnoreEmpty) Reset() { *x = Proto2MessageRequiredIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreEmpty) String() string { @@ -842,7 +808,7 @@ func (*Proto2MessageRequiredIgnoreEmpty) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -874,11 +840,9 @@ type Proto2MessageRequiredIgnoreDefault struct { func (x *Proto2MessageRequiredIgnoreDefault) Reset() { *x = Proto2MessageRequiredIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreDefault) String() string { @@ -889,7 +853,7 @@ func (*Proto2MessageRequiredIgnoreDefault) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -924,11 +888,9 @@ type Proto2OneofIgnoreUnspecified struct { func (x *Proto2OneofIgnoreUnspecified) Reset() { *x = Proto2OneofIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreUnspecified) String() string { @@ -939,7 +901,7 @@ func (*Proto2OneofIgnoreUnspecified) ProtoMessage() {} func (x *Proto2OneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -996,11 +958,9 @@ const ( func (x *Proto2OneofIgnoreUnspecifiedWithDefault) Reset() { *x = Proto2OneofIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreUnspecifiedWithDefault) String() string { @@ -1011,7 +971,7 @@ func (*Proto2OneofIgnoreUnspecifiedWithDefault) ProtoMessage() {} func (x *Proto2OneofIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1063,11 +1023,9 @@ type Proto2OneofIgnoreEmpty struct { func (x *Proto2OneofIgnoreEmpty) Reset() { *x = Proto2OneofIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreEmpty) String() string { @@ -1078,7 +1036,7 @@ func (*Proto2OneofIgnoreEmpty) ProtoMessage() {} func (x *Proto2OneofIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1135,11 +1093,9 @@ const ( func (x *Proto2OneofIgnoreEmptyWithDefault) Reset() { *x = Proto2OneofIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreEmptyWithDefault) String() string { @@ -1150,7 +1106,7 @@ func (*Proto2OneofIgnoreEmptyWithDefault) ProtoMessage() {} func (x *Proto2OneofIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1202,11 +1158,9 @@ type Proto2OneofIgnoreDefault struct { func (x *Proto2OneofIgnoreDefault) Reset() { *x = Proto2OneofIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreDefault) String() string { @@ -1217,7 +1171,7 @@ func (*Proto2OneofIgnoreDefault) ProtoMessage() {} func (x *Proto2OneofIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1274,11 +1228,9 @@ const ( func (x *Proto2OneofIgnoreDefaultWithDefault) Reset() { *x = Proto2OneofIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2OneofIgnoreDefaultWithDefault) String() string { @@ -1289,7 +1241,7 @@ func (*Proto2OneofIgnoreDefaultWithDefault) ProtoMessage() {} func (x *Proto2OneofIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1338,11 +1290,9 @@ type Proto2RepeatedIgnoreUnspecified struct { func (x *Proto2RepeatedIgnoreUnspecified) Reset() { *x = Proto2RepeatedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedIgnoreUnspecified) String() string { @@ -1353,7 +1303,7 @@ func (*Proto2RepeatedIgnoreUnspecified) ProtoMessage() {} func (x *Proto2RepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1385,11 +1335,9 @@ type Proto2RepeatedIgnoreEmpty struct { func (x *Proto2RepeatedIgnoreEmpty) Reset() { *x = Proto2RepeatedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedIgnoreEmpty) String() string { @@ -1400,7 +1348,7 @@ func (*Proto2RepeatedIgnoreEmpty) ProtoMessage() {} func (x *Proto2RepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1432,11 +1380,9 @@ type Proto2RepeatedIgnoreDefault struct { func (x *Proto2RepeatedIgnoreDefault) Reset() { *x = Proto2RepeatedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedIgnoreDefault) String() string { @@ -1447,7 +1393,7 @@ func (*Proto2RepeatedIgnoreDefault) ProtoMessage() {} func (x *Proto2RepeatedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1479,11 +1425,9 @@ type Proto2MapIgnoreUnspecified struct { func (x *Proto2MapIgnoreUnspecified) Reset() { *x = Proto2MapIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapIgnoreUnspecified) String() string { @@ -1494,7 +1438,7 @@ func (*Proto2MapIgnoreUnspecified) ProtoMessage() {} func (x *Proto2MapIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1526,11 +1470,9 @@ type Proto2MapIgnoreEmpty struct { func (x *Proto2MapIgnoreEmpty) Reset() { *x = Proto2MapIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapIgnoreEmpty) String() string { @@ -1541,7 +1483,7 @@ func (*Proto2MapIgnoreEmpty) ProtoMessage() {} func (x *Proto2MapIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1573,11 +1515,9 @@ type Proto2MapIgnoreDefault struct { func (x *Proto2MapIgnoreDefault) Reset() { *x = Proto2MapIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapIgnoreDefault) String() string { @@ -1588,7 +1528,7 @@ func (*Proto2MapIgnoreDefault) ProtoMessage() {} func (x *Proto2MapIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1620,11 +1560,9 @@ type Proto2RepeatedItemIgnoreUnspecified struct { func (x *Proto2RepeatedItemIgnoreUnspecified) Reset() { *x = Proto2RepeatedItemIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedItemIgnoreUnspecified) String() string { @@ -1635,7 +1573,7 @@ func (*Proto2RepeatedItemIgnoreUnspecified) ProtoMessage() {} func (x *Proto2RepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1667,11 +1605,9 @@ type Proto2RepeatedItemIgnoreEmpty struct { func (x *Proto2RepeatedItemIgnoreEmpty) Reset() { *x = Proto2RepeatedItemIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedItemIgnoreEmpty) String() string { @@ -1682,7 +1618,7 @@ func (*Proto2RepeatedItemIgnoreEmpty) ProtoMessage() {} func (x *Proto2RepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1714,11 +1650,9 @@ type Proto2RepeatedItemIgnoreDefault struct { func (x *Proto2RepeatedItemIgnoreDefault) Reset() { *x = Proto2RepeatedItemIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2RepeatedItemIgnoreDefault) String() string { @@ -1729,7 +1663,7 @@ func (*Proto2RepeatedItemIgnoreDefault) ProtoMessage() {} func (x *Proto2RepeatedItemIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1761,11 +1695,9 @@ type Proto2MapKeyIgnoreUnspecified struct { func (x *Proto2MapKeyIgnoreUnspecified) Reset() { *x = Proto2MapKeyIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapKeyIgnoreUnspecified) String() string { @@ -1776,7 +1708,7 @@ func (*Proto2MapKeyIgnoreUnspecified) ProtoMessage() {} func (x *Proto2MapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1808,11 +1740,9 @@ type Proto2MapKeyIgnoreEmpty struct { func (x *Proto2MapKeyIgnoreEmpty) Reset() { *x = Proto2MapKeyIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapKeyIgnoreEmpty) String() string { @@ -1823,7 +1753,7 @@ func (*Proto2MapKeyIgnoreEmpty) ProtoMessage() {} func (x *Proto2MapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1855,11 +1785,9 @@ type Proto2MapKeyIgnoreDefault struct { func (x *Proto2MapKeyIgnoreDefault) Reset() { *x = Proto2MapKeyIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapKeyIgnoreDefault) String() string { @@ -1870,7 +1798,7 @@ func (*Proto2MapKeyIgnoreDefault) ProtoMessage() {} func (x *Proto2MapKeyIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1902,11 +1830,9 @@ type Proto2MapValueIgnoreUnspecified struct { func (x *Proto2MapValueIgnoreUnspecified) Reset() { *x = Proto2MapValueIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapValueIgnoreUnspecified) String() string { @@ -1917,7 +1843,7 @@ func (*Proto2MapValueIgnoreUnspecified) ProtoMessage() {} func (x *Proto2MapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1949,11 +1875,9 @@ type Proto2MapValueIgnoreEmpty struct { func (x *Proto2MapValueIgnoreEmpty) Reset() { *x = Proto2MapValueIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapValueIgnoreEmpty) String() string { @@ -1964,7 +1888,7 @@ func (*Proto2MapValueIgnoreEmpty) ProtoMessage() {} func (x *Proto2MapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1996,11 +1920,9 @@ type Proto2MapValueIgnoreDefault struct { func (x *Proto2MapValueIgnoreDefault) Reset() { *x = Proto2MapValueIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MapValueIgnoreDefault) String() string { @@ -2011,7 +1933,7 @@ func (*Proto2MapValueIgnoreDefault) ProtoMessage() {} func (x *Proto2MapValueIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2043,11 +1965,9 @@ type Proto2MessageOptionalIgnoreUnspecified_Msg struct { func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) Reset() { *x = Proto2MessageOptionalIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) String() string { @@ -2058,7 +1978,7 @@ func (*Proto2MessageOptionalIgnoreUnspecified_Msg) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2090,11 +2010,9 @@ type Proto2MessageOptionalIgnoreEmpty_Msg struct { func (x *Proto2MessageOptionalIgnoreEmpty_Msg) Reset() { *x = Proto2MessageOptionalIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreEmpty_Msg) String() string { @@ -2105,7 +2023,7 @@ func (*Proto2MessageOptionalIgnoreEmpty_Msg) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2137,11 +2055,9 @@ type Proto2MessageOptionalIgnoreDefault_Msg struct { func (x *Proto2MessageOptionalIgnoreDefault_Msg) Reset() { *x = Proto2MessageOptionalIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageOptionalIgnoreDefault_Msg) String() string { @@ -2152,7 +2068,7 @@ func (*Proto2MessageOptionalIgnoreDefault_Msg) ProtoMessage() {} func (x *Proto2MessageOptionalIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2184,11 +2100,9 @@ type Proto2MessageRequiredIgnoreUnspecified_Msg struct { func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) Reset() { *x = Proto2MessageRequiredIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) String() string { @@ -2199,7 +2113,7 @@ func (*Proto2MessageRequiredIgnoreUnspecified_Msg) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2231,11 +2145,9 @@ type Proto2MessageRequiredIgnoreEmpty_Msg struct { func (x *Proto2MessageRequiredIgnoreEmpty_Msg) Reset() { *x = Proto2MessageRequiredIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreEmpty_Msg) String() string { @@ -2246,7 +2158,7 @@ func (*Proto2MessageRequiredIgnoreEmpty_Msg) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2278,11 +2190,9 @@ type Proto2MessageRequiredIgnoreDefault_Msg struct { func (x *Proto2MessageRequiredIgnoreDefault_Msg) Reset() { *x = Proto2MessageRequiredIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto2MessageRequiredIgnoreDefault_Msg) String() string { @@ -2293,7 +2203,7 @@ func (*Proto2MessageRequiredIgnoreDefault_Msg) ProtoMessage() {} func (x *Proto2MessageRequiredIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2656,7 +2566,7 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP() []byt } var file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 54) -var file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = []any{ (*Proto2ScalarOptionalIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified (*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault)(nil), // 1: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault (*Proto2ScalarOptionalIgnoreEmpty)(nil), // 2: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty @@ -2740,564 +2650,22 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { if File_buf_validate_conformance_cases_ignore_proto2_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarOptionalIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2ScalarRequiredIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2OneofIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedItemIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedItemIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2RepeatedItemIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapKeyIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapKeyIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapKeyIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapValueIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapValueIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MapValueIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageOptionalIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto2MessageRequiredIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18].OneofWrappers = []any{ (*Proto2OneofIgnoreUnspecified_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19].OneofWrappers = []any{ (*Proto2OneofIgnoreUnspecifiedWithDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20].OneofWrappers = []any{ (*Proto2OneofIgnoreEmpty_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21].OneofWrappers = []any{ (*Proto2OneofIgnoreEmptyWithDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22].OneofWrappers = []any{ (*Proto2OneofIgnoreDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23].OneofWrappers = []any{ (*Proto2OneofIgnoreDefaultWithDefault_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto3.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto3.pb.go index 8b2ca94..acf2296 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto3.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto3.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto3.proto @@ -45,11 +45,9 @@ type Proto3ScalarOptionalIgnoreUnspecified struct { func (x *Proto3ScalarOptionalIgnoreUnspecified) Reset() { *x = Proto3ScalarOptionalIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarOptionalIgnoreUnspecified) String() string { @@ -60,7 +58,7 @@ func (*Proto3ScalarOptionalIgnoreUnspecified) ProtoMessage() {} func (x *Proto3ScalarOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_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) @@ -92,11 +90,9 @@ type Proto3ScalarOptionalIgnoreEmpty struct { func (x *Proto3ScalarOptionalIgnoreEmpty) Reset() { *x = Proto3ScalarOptionalIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarOptionalIgnoreEmpty) String() string { @@ -107,7 +103,7 @@ func (*Proto3ScalarOptionalIgnoreEmpty) ProtoMessage() {} func (x *Proto3ScalarOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type Proto3ScalarOptionalIgnoreDefault struct { func (x *Proto3ScalarOptionalIgnoreDefault) Reset() { *x = Proto3ScalarOptionalIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarOptionalIgnoreDefault) String() string { @@ -154,7 +148,7 @@ func (*Proto3ScalarOptionalIgnoreDefault) ProtoMessage() {} func (x *Proto3ScalarOptionalIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_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) @@ -186,11 +180,9 @@ type Proto3ScalarIgnoreUnspecified struct { func (x *Proto3ScalarIgnoreUnspecified) Reset() { *x = Proto3ScalarIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarIgnoreUnspecified) String() string { @@ -201,7 +193,7 @@ func (*Proto3ScalarIgnoreUnspecified) ProtoMessage() {} func (x *Proto3ScalarIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,11 +225,9 @@ type Proto3ScalarIgnoreEmpty struct { func (x *Proto3ScalarIgnoreEmpty) Reset() { *x = Proto3ScalarIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarIgnoreEmpty) String() string { @@ -248,7 +238,7 @@ func (*Proto3ScalarIgnoreEmpty) ProtoMessage() {} func (x *Proto3ScalarIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type Proto3ScalarIgnoreDefault struct { func (x *Proto3ScalarIgnoreDefault) Reset() { *x = Proto3ScalarIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3ScalarIgnoreDefault) String() string { @@ -295,7 +283,7 @@ func (*Proto3ScalarIgnoreDefault) ProtoMessage() {} func (x *Proto3ScalarIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type Proto3MessageOptionalIgnoreUnspecified struct { func (x *Proto3MessageOptionalIgnoreUnspecified) Reset() { *x = Proto3MessageOptionalIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreUnspecified) String() string { @@ -342,7 +328,7 @@ func (*Proto3MessageOptionalIgnoreUnspecified) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +360,9 @@ type Proto3MessageOptionalIgnoreEmpty struct { func (x *Proto3MessageOptionalIgnoreEmpty) Reset() { *x = Proto3MessageOptionalIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreEmpty) String() string { @@ -389,7 +373,7 @@ func (*Proto3MessageOptionalIgnoreEmpty) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type Proto3MessageOptionalIgnoreDefault struct { func (x *Proto3MessageOptionalIgnoreDefault) Reset() { *x = Proto3MessageOptionalIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreDefault) String() string { @@ -436,7 +418,7 @@ func (*Proto3MessageOptionalIgnoreDefault) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,11 +450,9 @@ type Proto3MessageIgnoreUnspecified struct { func (x *Proto3MessageIgnoreUnspecified) Reset() { *x = Proto3MessageIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreUnspecified) String() string { @@ -483,7 +463,7 @@ func (*Proto3MessageIgnoreUnspecified) ProtoMessage() {} func (x *Proto3MessageIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_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) @@ -515,11 +495,9 @@ type Proto3MessageIgnoreEmpty struct { func (x *Proto3MessageIgnoreEmpty) Reset() { *x = Proto3MessageIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreEmpty) String() string { @@ -530,7 +508,7 @@ func (*Proto3MessageIgnoreEmpty) ProtoMessage() {} func (x *Proto3MessageIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,11 +540,9 @@ type Proto3MessageIgnoreDefault struct { func (x *Proto3MessageIgnoreDefault) Reset() { *x = Proto3MessageIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreDefault) String() string { @@ -577,7 +553,7 @@ func (*Proto3MessageIgnoreDefault) ProtoMessage() {} func (x *Proto3MessageIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -612,11 +588,9 @@ type Proto3OneofIgnoreUnspecified struct { func (x *Proto3OneofIgnoreUnspecified) Reset() { *x = Proto3OneofIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3OneofIgnoreUnspecified) String() string { @@ -627,7 +601,7 @@ func (*Proto3OneofIgnoreUnspecified) ProtoMessage() {} func (x *Proto3OneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,11 +653,9 @@ type Proto3OneofIgnoreEmpty struct { func (x *Proto3OneofIgnoreEmpty) Reset() { *x = Proto3OneofIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3OneofIgnoreEmpty) String() string { @@ -694,7 +666,7 @@ func (*Proto3OneofIgnoreEmpty) ProtoMessage() {} func (x *Proto3OneofIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,11 +718,9 @@ type Proto3OneofIgnoreDefault struct { func (x *Proto3OneofIgnoreDefault) Reset() { *x = Proto3OneofIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3OneofIgnoreDefault) String() string { @@ -761,7 +731,7 @@ func (*Proto3OneofIgnoreDefault) ProtoMessage() {} func (x *Proto3OneofIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -810,11 +780,9 @@ type Proto3RepeatedIgnoreUnspecified struct { func (x *Proto3RepeatedIgnoreUnspecified) Reset() { *x = Proto3RepeatedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedIgnoreUnspecified) String() string { @@ -825,7 +793,7 @@ func (*Proto3RepeatedIgnoreUnspecified) ProtoMessage() {} func (x *Proto3RepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -857,11 +825,9 @@ type Proto3RepeatedIgnoreEmpty struct { func (x *Proto3RepeatedIgnoreEmpty) Reset() { *x = Proto3RepeatedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedIgnoreEmpty) String() string { @@ -872,7 +838,7 @@ func (*Proto3RepeatedIgnoreEmpty) ProtoMessage() {} func (x *Proto3RepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,11 +870,9 @@ type Proto3RepeatedIgnoreDefault struct { func (x *Proto3RepeatedIgnoreDefault) Reset() { *x = Proto3RepeatedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedIgnoreDefault) String() string { @@ -919,7 +883,7 @@ func (*Proto3RepeatedIgnoreDefault) ProtoMessage() {} func (x *Proto3RepeatedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -951,11 +915,9 @@ type Proto3MapIgnoreUnspecified struct { func (x *Proto3MapIgnoreUnspecified) Reset() { *x = Proto3MapIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapIgnoreUnspecified) String() string { @@ -966,7 +928,7 @@ func (*Proto3MapIgnoreUnspecified) ProtoMessage() {} func (x *Proto3MapIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -998,11 +960,9 @@ type Proto3MapIgnoreEmpty struct { func (x *Proto3MapIgnoreEmpty) Reset() { *x = Proto3MapIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapIgnoreEmpty) String() string { @@ -1013,7 +973,7 @@ func (*Proto3MapIgnoreEmpty) ProtoMessage() {} func (x *Proto3MapIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1045,11 +1005,9 @@ type Proto3MapIgnoreDefault struct { func (x *Proto3MapIgnoreDefault) Reset() { *x = Proto3MapIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapIgnoreDefault) String() string { @@ -1060,7 +1018,7 @@ func (*Proto3MapIgnoreDefault) ProtoMessage() {} func (x *Proto3MapIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1092,11 +1050,9 @@ type Proto3RepeatedItemIgnoreUnspecified struct { func (x *Proto3RepeatedItemIgnoreUnspecified) Reset() { *x = Proto3RepeatedItemIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedItemIgnoreUnspecified) String() string { @@ -1107,7 +1063,7 @@ func (*Proto3RepeatedItemIgnoreUnspecified) ProtoMessage() {} func (x *Proto3RepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1139,11 +1095,9 @@ type Proto3RepeatedItemIgnoreEmpty struct { func (x *Proto3RepeatedItemIgnoreEmpty) Reset() { *x = Proto3RepeatedItemIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedItemIgnoreEmpty) String() string { @@ -1154,7 +1108,7 @@ func (*Proto3RepeatedItemIgnoreEmpty) ProtoMessage() {} func (x *Proto3RepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1186,11 +1140,9 @@ type Proto3RepeatedItemIgnoreDefault struct { func (x *Proto3RepeatedItemIgnoreDefault) Reset() { *x = Proto3RepeatedItemIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3RepeatedItemIgnoreDefault) String() string { @@ -1201,7 +1153,7 @@ func (*Proto3RepeatedItemIgnoreDefault) ProtoMessage() {} func (x *Proto3RepeatedItemIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1233,11 +1185,9 @@ type Proto3MapKeyIgnoreUnspecified struct { func (x *Proto3MapKeyIgnoreUnspecified) Reset() { *x = Proto3MapKeyIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapKeyIgnoreUnspecified) String() string { @@ -1248,7 +1198,7 @@ func (*Proto3MapKeyIgnoreUnspecified) ProtoMessage() {} func (x *Proto3MapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1280,11 +1230,9 @@ type Proto3MapKeyIgnoreEmpty struct { func (x *Proto3MapKeyIgnoreEmpty) Reset() { *x = Proto3MapKeyIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapKeyIgnoreEmpty) String() string { @@ -1295,7 +1243,7 @@ func (*Proto3MapKeyIgnoreEmpty) ProtoMessage() {} func (x *Proto3MapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1327,11 +1275,9 @@ type Proto3MapKeyIgnoreDefault struct { func (x *Proto3MapKeyIgnoreDefault) Reset() { *x = Proto3MapKeyIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapKeyIgnoreDefault) String() string { @@ -1342,7 +1288,7 @@ func (*Proto3MapKeyIgnoreDefault) ProtoMessage() {} func (x *Proto3MapKeyIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1374,11 +1320,9 @@ type Proto3MapValueIgnoreUnspecified struct { func (x *Proto3MapValueIgnoreUnspecified) Reset() { *x = Proto3MapValueIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapValueIgnoreUnspecified) String() string { @@ -1389,7 +1333,7 @@ func (*Proto3MapValueIgnoreUnspecified) ProtoMessage() {} func (x *Proto3MapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1421,11 +1365,9 @@ type Proto3MapValueIgnoreEmpty struct { func (x *Proto3MapValueIgnoreEmpty) Reset() { *x = Proto3MapValueIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapValueIgnoreEmpty) String() string { @@ -1436,7 +1378,7 @@ func (*Proto3MapValueIgnoreEmpty) ProtoMessage() {} func (x *Proto3MapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1468,11 +1410,9 @@ type Proto3MapValueIgnoreDefault struct { func (x *Proto3MapValueIgnoreDefault) Reset() { *x = Proto3MapValueIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MapValueIgnoreDefault) String() string { @@ -1483,7 +1423,7 @@ func (*Proto3MapValueIgnoreDefault) ProtoMessage() {} func (x *Proto3MapValueIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1515,11 +1455,9 @@ type Proto3MessageOptionalIgnoreUnspecified_Msg struct { func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) Reset() { *x = Proto3MessageOptionalIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) String() string { @@ -1530,7 +1468,7 @@ func (*Proto3MessageOptionalIgnoreUnspecified_Msg) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1562,11 +1500,9 @@ type Proto3MessageOptionalIgnoreEmpty_Msg struct { func (x *Proto3MessageOptionalIgnoreEmpty_Msg) Reset() { *x = Proto3MessageOptionalIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreEmpty_Msg) String() string { @@ -1577,7 +1513,7 @@ func (*Proto3MessageOptionalIgnoreEmpty_Msg) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1609,11 +1545,9 @@ type Proto3MessageOptionalIgnoreDefault_Msg struct { func (x *Proto3MessageOptionalIgnoreDefault_Msg) Reset() { *x = Proto3MessageOptionalIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageOptionalIgnoreDefault_Msg) String() string { @@ -1624,7 +1558,7 @@ func (*Proto3MessageOptionalIgnoreDefault_Msg) ProtoMessage() {} func (x *Proto3MessageOptionalIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1656,11 +1590,9 @@ type Proto3MessageIgnoreUnspecified_Msg struct { func (x *Proto3MessageIgnoreUnspecified_Msg) Reset() { *x = Proto3MessageIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreUnspecified_Msg) String() string { @@ -1671,7 +1603,7 @@ func (*Proto3MessageIgnoreUnspecified_Msg) ProtoMessage() {} func (x *Proto3MessageIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1703,11 +1635,9 @@ type Proto3MessageIgnoreEmpty_Msg struct { func (x *Proto3MessageIgnoreEmpty_Msg) Reset() { *x = Proto3MessageIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreEmpty_Msg) String() string { @@ -1718,7 +1648,7 @@ func (*Proto3MessageIgnoreEmpty_Msg) ProtoMessage() {} func (x *Proto3MessageIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1750,11 +1680,9 @@ type Proto3MessageIgnoreDefault_Msg struct { func (x *Proto3MessageIgnoreDefault_Msg) Reset() { *x = Proto3MessageIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proto3MessageIgnoreDefault_Msg) String() string { @@ -1765,7 +1693,7 @@ func (*Proto3MessageIgnoreDefault_Msg) ProtoMessage() {} func (x *Proto3MessageIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2087,7 +2015,7 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP() []byt } var file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = []any{ (*Proto3ScalarOptionalIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified (*Proto3ScalarOptionalIgnoreEmpty)(nil), // 1: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty (*Proto3ScalarOptionalIgnoreDefault)(nil), // 2: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreDefault @@ -2162,461 +2090,27 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { if File_buf_validate_conformance_cases_ignore_proto3_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarOptionalIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarOptionalIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarOptionalIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3ScalarIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3OneofIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3OneofIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3OneofIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedItemIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedItemIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3RepeatedItemIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapKeyIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapKeyIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapKeyIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapValueIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapValueIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MapValueIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageOptionalIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proto3MessageIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12].OneofWrappers = []any{ (*Proto3OneofIgnoreUnspecified_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13].OneofWrappers = []any{ (*Proto3OneofIgnoreEmpty_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14].OneofWrappers = []any{ (*Proto3OneofIgnoreDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35].OneofWrappers = []interface{}{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[34].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[35].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto_editions.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto_editions.pb.go index 90d5591..b8355b0 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto_editions.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto_editions.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto_editions.proto @@ -45,11 +45,9 @@ type EditionsScalarExplicitPresenceIgnoreUnspecified struct { func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) Reset() { *x = EditionsScalarExplicitPresenceIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) String() string { @@ -60,7 +58,7 @@ func (*EditionsScalarExplicitPresenceIgnoreUnspecified) ProtoMessage() {} func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_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) @@ -97,11 +95,9 @@ const ( func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) Reset() { *x = EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) String() string { @@ -112,7 +108,7 @@ func (*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) ProtoMessage( func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_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) @@ -144,11 +140,9 @@ type EditionsScalarExplicitPresenceIgnoreEmpty struct { func (x *EditionsScalarExplicitPresenceIgnoreEmpty) Reset() { *x = EditionsScalarExplicitPresenceIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreEmpty) String() string { @@ -159,7 +153,7 @@ func (*EditionsScalarExplicitPresenceIgnoreEmpty) ProtoMessage() {} func (x *EditionsScalarExplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_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) @@ -196,11 +190,9 @@ const ( func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) Reset() { *x = EditionsScalarExplicitPresenceIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) String() string { @@ -211,7 +203,7 @@ func (*EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) ProtoMessage() {} func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +235,9 @@ type EditionsScalarExplicitPresenceIgnoreDefault struct { func (x *EditionsScalarExplicitPresenceIgnoreDefault) Reset() { *x = EditionsScalarExplicitPresenceIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreDefault) String() string { @@ -258,7 +248,7 @@ func (*EditionsScalarExplicitPresenceIgnoreDefault) ProtoMessage() {} func (x *EditionsScalarExplicitPresenceIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,11 +285,9 @@ const ( func (x *EditionsScalarExplicitPresenceIgnoreDefaultWithDefault) Reset() { *x = EditionsScalarExplicitPresenceIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarExplicitPresenceIgnoreDefaultWithDefault) String() string { @@ -310,7 +298,7 @@ func (*EditionsScalarExplicitPresenceIgnoreDefaultWithDefault) ProtoMessage() {} func (x *EditionsScalarExplicitPresenceIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -342,11 +330,9 @@ type EditionsScalarImplicitPresenceIgnoreUnspecified struct { func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) Reset() { *x = EditionsScalarImplicitPresenceIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) String() string { @@ -357,7 +343,7 @@ func (*EditionsScalarImplicitPresenceIgnoreUnspecified) ProtoMessage() {} func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -389,11 +375,9 @@ type EditionsScalarImplicitPresenceIgnoreEmpty struct { func (x *EditionsScalarImplicitPresenceIgnoreEmpty) Reset() { *x = EditionsScalarImplicitPresenceIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarImplicitPresenceIgnoreEmpty) String() string { @@ -404,7 +388,7 @@ func (*EditionsScalarImplicitPresenceIgnoreEmpty) ProtoMessage() {} func (x *EditionsScalarImplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,11 +420,9 @@ type EditionsScalarImplicitPresenceIgnoreDefault struct { func (x *EditionsScalarImplicitPresenceIgnoreDefault) Reset() { *x = EditionsScalarImplicitPresenceIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarImplicitPresenceIgnoreDefault) String() string { @@ -451,7 +433,7 @@ func (*EditionsScalarImplicitPresenceIgnoreDefault) ProtoMessage() {} func (x *EditionsScalarImplicitPresenceIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -483,11 +465,9 @@ type EditionsScalarLegacyRequiredIgnoreUnspecified struct { func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) Reset() { *x = EditionsScalarLegacyRequiredIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) String() string { @@ -498,7 +478,7 @@ func (*EditionsScalarLegacyRequiredIgnoreUnspecified) ProtoMessage() {} func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_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) @@ -535,11 +515,9 @@ const ( func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) Reset() { *x = EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) String() string { @@ -550,7 +528,7 @@ func (*EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) ProtoMessage() func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -582,11 +560,9 @@ type EditionsScalarLegacyRequiredIgnoreEmpty struct { func (x *EditionsScalarLegacyRequiredIgnoreEmpty) Reset() { *x = EditionsScalarLegacyRequiredIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreEmpty) String() string { @@ -597,7 +573,7 @@ func (*EditionsScalarLegacyRequiredIgnoreEmpty) ProtoMessage() {} func (x *EditionsScalarLegacyRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -634,11 +610,9 @@ const ( func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) Reset() { *x = EditionsScalarLegacyRequiredIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) String() string { @@ -649,7 +623,7 @@ func (*EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) ProtoMessage() {} func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -681,11 +655,9 @@ type EditionsScalarLegacyRequiredIgnoreDefault struct { func (x *EditionsScalarLegacyRequiredIgnoreDefault) Reset() { *x = EditionsScalarLegacyRequiredIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreDefault) String() string { @@ -696,7 +668,7 @@ func (*EditionsScalarLegacyRequiredIgnoreDefault) ProtoMessage() {} func (x *EditionsScalarLegacyRequiredIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -733,11 +705,9 @@ const ( func (x *EditionsScalarLegacyRequiredIgnoreDefaultWithDefault) Reset() { *x = EditionsScalarLegacyRequiredIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsScalarLegacyRequiredIgnoreDefaultWithDefault) String() string { @@ -748,7 +718,7 @@ func (*EditionsScalarLegacyRequiredIgnoreDefaultWithDefault) ProtoMessage() {} func (x *EditionsScalarLegacyRequiredIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -780,11 +750,9 @@ type EditionsMessageExplicitPresenceIgnoreUnspecified struct { func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) Reset() { *x = EditionsMessageExplicitPresenceIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) String() string { @@ -795,7 +763,7 @@ func (*EditionsMessageExplicitPresenceIgnoreUnspecified) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -827,11 +795,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) String() string { @@ -842,7 +808,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) ProtoMessage() func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -874,11 +840,9 @@ type EditionsMessageExplicitPresenceIgnoreEmpty struct { func (x *EditionsMessageExplicitPresenceIgnoreEmpty) Reset() { *x = EditionsMessageExplicitPresenceIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreEmpty) String() string { @@ -889,7 +853,7 @@ func (*EditionsMessageExplicitPresenceIgnoreEmpty) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -921,11 +885,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) String() string { @@ -936,7 +898,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -968,11 +930,9 @@ type EditionsMessageExplicitPresenceIgnoreDefault struct { func (x *EditionsMessageExplicitPresenceIgnoreDefault) Reset() { *x = EditionsMessageExplicitPresenceIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreDefault) String() string { @@ -983,7 +943,7 @@ func (*EditionsMessageExplicitPresenceIgnoreDefault) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1015,11 +975,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreDefault struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault) String() string { @@ -1030,7 +988,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreDefault) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1062,11 +1020,9 @@ type EditionsMessageLegacyRequiredIgnoreUnspecified struct { func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) Reset() { *x = EditionsMessageLegacyRequiredIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) String() string { @@ -1077,7 +1033,7 @@ func (*EditionsMessageLegacyRequiredIgnoreUnspecified) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1109,11 +1065,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) String() string { @@ -1124,7 +1078,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) ProtoMessage() { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1156,11 +1110,9 @@ type EditionsMessageLegacyRequiredIgnoreEmpty struct { func (x *EditionsMessageLegacyRequiredIgnoreEmpty) Reset() { *x = EditionsMessageLegacyRequiredIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreEmpty) String() string { @@ -1171,7 +1123,7 @@ func (*EditionsMessageLegacyRequiredIgnoreEmpty) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1203,11 +1155,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) String() string { @@ -1218,7 +1168,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1250,11 +1200,9 @@ type EditionsMessageLegacyRequiredIgnoreDefault struct { func (x *EditionsMessageLegacyRequiredIgnoreDefault) Reset() { *x = EditionsMessageLegacyRequiredIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreDefault) String() string { @@ -1265,7 +1213,7 @@ func (*EditionsMessageLegacyRequiredIgnoreDefault) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1297,11 +1245,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreDefault struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault) String() string { @@ -1312,7 +1258,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreDefault) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1347,11 +1293,9 @@ type EditionsOneofIgnoreUnspecified struct { func (x *EditionsOneofIgnoreUnspecified) Reset() { *x = EditionsOneofIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreUnspecified) String() string { @@ -1362,7 +1306,7 @@ func (*EditionsOneofIgnoreUnspecified) ProtoMessage() {} func (x *EditionsOneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1419,11 +1363,9 @@ const ( func (x *EditionsOneofIgnoreUnspecifiedWithDefault) Reset() { *x = EditionsOneofIgnoreUnspecifiedWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreUnspecifiedWithDefault) String() string { @@ -1434,7 +1376,7 @@ func (*EditionsOneofIgnoreUnspecifiedWithDefault) ProtoMessage() {} func (x *EditionsOneofIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1487,11 +1429,9 @@ type EditionsOneofIgnoreEmpty struct { func (x *EditionsOneofIgnoreEmpty) Reset() { *x = EditionsOneofIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreEmpty) String() string { @@ -1502,7 +1442,7 @@ func (*EditionsOneofIgnoreEmpty) ProtoMessage() {} func (x *EditionsOneofIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1559,11 +1499,9 @@ const ( func (x *EditionsOneofIgnoreEmptyWithDefault) Reset() { *x = EditionsOneofIgnoreEmptyWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreEmptyWithDefault) String() string { @@ -1574,7 +1512,7 @@ func (*EditionsOneofIgnoreEmptyWithDefault) ProtoMessage() {} func (x *EditionsOneofIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1626,11 +1564,9 @@ type EditionsOneofIgnoreDefault struct { func (x *EditionsOneofIgnoreDefault) Reset() { *x = EditionsOneofIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreDefault) String() string { @@ -1641,7 +1577,7 @@ func (*EditionsOneofIgnoreDefault) ProtoMessage() {} func (x *EditionsOneofIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1698,11 +1634,9 @@ const ( func (x *EditionsOneofIgnoreDefaultWithDefault) Reset() { *x = EditionsOneofIgnoreDefaultWithDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsOneofIgnoreDefaultWithDefault) String() string { @@ -1713,7 +1647,7 @@ func (*EditionsOneofIgnoreDefaultWithDefault) ProtoMessage() {} func (x *EditionsOneofIgnoreDefaultWithDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1762,11 +1696,9 @@ type EditionsRepeatedIgnoreUnspecified struct { func (x *EditionsRepeatedIgnoreUnspecified) Reset() { *x = EditionsRepeatedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedIgnoreUnspecified) String() string { @@ -1777,7 +1709,7 @@ func (*EditionsRepeatedIgnoreUnspecified) ProtoMessage() {} func (x *EditionsRepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1809,11 +1741,9 @@ type EditionsRepeatedExpandedIgnoreUnspecified struct { func (x *EditionsRepeatedExpandedIgnoreUnspecified) Reset() { *x = EditionsRepeatedExpandedIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedIgnoreUnspecified) String() string { @@ -1824,7 +1754,7 @@ func (*EditionsRepeatedExpandedIgnoreUnspecified) ProtoMessage() {} func (x *EditionsRepeatedExpandedIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1856,11 +1786,9 @@ type EditionsRepeatedIgnoreEmpty struct { func (x *EditionsRepeatedIgnoreEmpty) Reset() { *x = EditionsRepeatedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedIgnoreEmpty) String() string { @@ -1871,7 +1799,7 @@ func (*EditionsRepeatedIgnoreEmpty) ProtoMessage() {} func (x *EditionsRepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1903,11 +1831,9 @@ type EditionsRepeatedExpandedIgnoreEmpty struct { func (x *EditionsRepeatedExpandedIgnoreEmpty) Reset() { *x = EditionsRepeatedExpandedIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedIgnoreEmpty) String() string { @@ -1918,7 +1844,7 @@ func (*EditionsRepeatedExpandedIgnoreEmpty) ProtoMessage() {} func (x *EditionsRepeatedExpandedIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1950,11 +1876,9 @@ type EditionsRepeatedIgnoreDefault struct { func (x *EditionsRepeatedIgnoreDefault) Reset() { *x = EditionsRepeatedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedIgnoreDefault) String() string { @@ -1965,7 +1889,7 @@ func (*EditionsRepeatedIgnoreDefault) ProtoMessage() {} func (x *EditionsRepeatedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1997,11 +1921,9 @@ type EditionsRepeatedExpandedIgnoreDefault struct { func (x *EditionsRepeatedExpandedIgnoreDefault) Reset() { *x = EditionsRepeatedExpandedIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedIgnoreDefault) String() string { @@ -2012,7 +1934,7 @@ func (*EditionsRepeatedExpandedIgnoreDefault) ProtoMessage() {} func (x *EditionsRepeatedExpandedIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2044,11 +1966,9 @@ type EditionsMapIgnoreUnspecified struct { func (x *EditionsMapIgnoreUnspecified) Reset() { *x = EditionsMapIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapIgnoreUnspecified) String() string { @@ -2059,7 +1979,7 @@ func (*EditionsMapIgnoreUnspecified) ProtoMessage() {} func (x *EditionsMapIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2091,11 +2011,9 @@ type EditionsMapIgnoreEmpty struct { func (x *EditionsMapIgnoreEmpty) Reset() { *x = EditionsMapIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapIgnoreEmpty) String() string { @@ -2106,7 +2024,7 @@ func (*EditionsMapIgnoreEmpty) ProtoMessage() {} func (x *EditionsMapIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2138,11 +2056,9 @@ type EditionsMapIgnoreDefault struct { func (x *EditionsMapIgnoreDefault) Reset() { *x = EditionsMapIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapIgnoreDefault) String() string { @@ -2153,7 +2069,7 @@ func (*EditionsMapIgnoreDefault) ProtoMessage() {} func (x *EditionsMapIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2185,11 +2101,9 @@ type EditionsRepeatedItemIgnoreUnspecified struct { func (x *EditionsRepeatedItemIgnoreUnspecified) Reset() { *x = EditionsRepeatedItemIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedItemIgnoreUnspecified) String() string { @@ -2200,7 +2114,7 @@ func (*EditionsRepeatedItemIgnoreUnspecified) ProtoMessage() {} func (x *EditionsRepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2232,11 +2146,9 @@ type EditionsRepeatedExpandedItemIgnoreUnspecified struct { func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) Reset() { *x = EditionsRepeatedExpandedItemIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) String() string { @@ -2247,7 +2159,7 @@ func (*EditionsRepeatedExpandedItemIgnoreUnspecified) ProtoMessage() {} func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2279,11 +2191,9 @@ type EditionsRepeatedItemIgnoreEmpty struct { func (x *EditionsRepeatedItemIgnoreEmpty) Reset() { *x = EditionsRepeatedItemIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedItemIgnoreEmpty) String() string { @@ -2294,7 +2204,7 @@ func (*EditionsRepeatedItemIgnoreEmpty) ProtoMessage() {} func (x *EditionsRepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2326,11 +2236,9 @@ type EditionsRepeatedExpandedItemIgnoreEmpty struct { func (x *EditionsRepeatedExpandedItemIgnoreEmpty) Reset() { *x = EditionsRepeatedExpandedItemIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedItemIgnoreEmpty) String() string { @@ -2341,7 +2249,7 @@ func (*EditionsRepeatedExpandedItemIgnoreEmpty) ProtoMessage() {} func (x *EditionsRepeatedExpandedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2373,11 +2281,9 @@ type EditionsRepeatedItemIgnoreDefault struct { func (x *EditionsRepeatedItemIgnoreDefault) Reset() { *x = EditionsRepeatedItemIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedItemIgnoreDefault) String() string { @@ -2388,7 +2294,7 @@ func (*EditionsRepeatedItemIgnoreDefault) ProtoMessage() {} func (x *EditionsRepeatedItemIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2420,11 +2326,9 @@ type EditionsRepeatedExpandedItemIgnoreDefault struct { func (x *EditionsRepeatedExpandedItemIgnoreDefault) Reset() { *x = EditionsRepeatedExpandedItemIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsRepeatedExpandedItemIgnoreDefault) String() string { @@ -2435,7 +2339,7 @@ func (*EditionsRepeatedExpandedItemIgnoreDefault) ProtoMessage() {} func (x *EditionsRepeatedExpandedItemIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2467,11 +2371,9 @@ type EditionsMapKeyIgnoreUnspecified struct { func (x *EditionsMapKeyIgnoreUnspecified) Reset() { *x = EditionsMapKeyIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapKeyIgnoreUnspecified) String() string { @@ -2482,7 +2384,7 @@ func (*EditionsMapKeyIgnoreUnspecified) ProtoMessage() {} func (x *EditionsMapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2514,11 +2416,9 @@ type EditionsMapKeyIgnoreEmpty struct { func (x *EditionsMapKeyIgnoreEmpty) Reset() { *x = EditionsMapKeyIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapKeyIgnoreEmpty) String() string { @@ -2529,7 +2429,7 @@ func (*EditionsMapKeyIgnoreEmpty) ProtoMessage() {} func (x *EditionsMapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2561,11 +2461,9 @@ type EditionsMapKeyIgnoreDefault struct { func (x *EditionsMapKeyIgnoreDefault) Reset() { *x = EditionsMapKeyIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapKeyIgnoreDefault) String() string { @@ -2576,7 +2474,7 @@ func (*EditionsMapKeyIgnoreDefault) ProtoMessage() {} func (x *EditionsMapKeyIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2608,11 +2506,9 @@ type EditionsMapValueIgnoreUnspecified struct { func (x *EditionsMapValueIgnoreUnspecified) Reset() { *x = EditionsMapValueIgnoreUnspecified{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapValueIgnoreUnspecified) String() string { @@ -2623,7 +2519,7 @@ func (*EditionsMapValueIgnoreUnspecified) ProtoMessage() {} func (x *EditionsMapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2655,11 +2551,9 @@ type EditionsMapValueIgnoreEmpty struct { func (x *EditionsMapValueIgnoreEmpty) Reset() { *x = EditionsMapValueIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapValueIgnoreEmpty) String() string { @@ -2670,7 +2564,7 @@ func (*EditionsMapValueIgnoreEmpty) ProtoMessage() {} func (x *EditionsMapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2702,11 +2596,9 @@ type EditionsMapValueIgnoreDefault struct { func (x *EditionsMapValueIgnoreDefault) Reset() { *x = EditionsMapValueIgnoreDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMapValueIgnoreDefault) String() string { @@ -2717,7 +2609,7 @@ func (*EditionsMapValueIgnoreDefault) ProtoMessage() {} func (x *EditionsMapValueIgnoreDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2749,11 +2641,9 @@ type EditionsMessageExplicitPresenceIgnoreUnspecified_Msg struct { func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) Reset() { *x = EditionsMessageExplicitPresenceIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) String() string { @@ -2764,7 +2654,7 @@ func (*EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2796,11 +2686,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) String() string { @@ -2811,7 +2699,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) ProtoMessa func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2843,11 +2731,9 @@ type EditionsMessageExplicitPresenceIgnoreEmpty_Msg struct { func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) Reset() { *x = EditionsMessageExplicitPresenceIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) String() string { @@ -2858,7 +2744,7 @@ func (*EditionsMessageExplicitPresenceIgnoreEmpty_Msg) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2890,11 +2776,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) String() string { @@ -2905,7 +2789,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) ProtoMessage() { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2937,11 +2821,9 @@ type EditionsMessageExplicitPresenceIgnoreDefault_Msg struct { func (x *EditionsMessageExplicitPresenceIgnoreDefault_Msg) Reset() { *x = EditionsMessageExplicitPresenceIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceIgnoreDefault_Msg) String() string { @@ -2952,7 +2834,7 @@ func (*EditionsMessageExplicitPresenceIgnoreDefault_Msg) ProtoMessage() {} func (x *EditionsMessageExplicitPresenceIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2984,11 +2866,9 @@ type EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg struct { func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg) Reset() { *x = EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg) String() string { @@ -2999,7 +2879,7 @@ func (*EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg) ProtoMessage() func (x *EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3031,11 +2911,9 @@ type EditionsMessageLegacyRequiredIgnoreUnspecified_Msg struct { func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) Reset() { *x = EditionsMessageLegacyRequiredIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) String() string { @@ -3046,7 +2924,7 @@ func (*EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3078,11 +2956,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) String() string { @@ -3093,7 +2969,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) ProtoMessage func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3125,11 +3001,9 @@ type EditionsMessageLegacyRequiredIgnoreEmpty_Msg struct { func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) Reset() { *x = EditionsMessageLegacyRequiredIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) String() string { @@ -3140,7 +3014,7 @@ func (*EditionsMessageLegacyRequiredIgnoreEmpty_Msg) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3172,11 +3046,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) String() string { @@ -3187,7 +3059,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3219,11 +3091,9 @@ type EditionsMessageLegacyRequiredIgnoreDefault_Msg struct { func (x *EditionsMessageLegacyRequiredIgnoreDefault_Msg) Reset() { *x = EditionsMessageLegacyRequiredIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredIgnoreDefault_Msg) String() string { @@ -3234,7 +3104,7 @@ func (*EditionsMessageLegacyRequiredIgnoreDefault_Msg) ProtoMessage() {} func (x *EditionsMessageLegacyRequiredIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3266,11 +3136,9 @@ type EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg struct { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg) Reset() { *x = EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg) String() string { @@ -3281,7 +3149,7 @@ func (*EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg) ProtoMessage() { func (x *EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3816,7 +3684,7 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP } var file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 75) -var file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = []any{ (*EditionsScalarExplicitPresenceIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified (*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault)(nil), // 1: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault (*EditionsScalarExplicitPresenceIgnoreEmpty)(nil), // 2: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty @@ -3927,816 +3795,22 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { if File_buf_validate_conformance_cases_ignore_proto_editions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarExplicitPresenceIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarImplicitPresenceIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarImplicitPresenceIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarImplicitPresenceIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsScalarLegacyRequiredIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreUnspecifiedWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreEmptyWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsOneofIgnoreDefaultWithDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedItemIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedItemIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedItemIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedItemIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedItemIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsRepeatedExpandedItemIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapKeyIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapKeyIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapKeyIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapValueIgnoreUnspecified); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapValueIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMapValueIgnoreDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27].OneofWrappers = []any{ (*EditionsOneofIgnoreUnspecified_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28].OneofWrappers = []any{ (*EditionsOneofIgnoreUnspecifiedWithDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29].OneofWrappers = []any{ (*EditionsOneofIgnoreEmpty_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30].OneofWrappers = []any{ (*EditionsOneofIgnoreEmptyWithDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31].OneofWrappers = []any{ (*EditionsOneofIgnoreDefault_Val)(nil), } - file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32].OneofWrappers = []any{ (*EditionsOneofIgnoreDefaultWithDefault_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/kitchen_sink.pb.go b/internal/gen/buf/validate/conformance/cases/kitchen_sink.pb.go index 687f3b7..f5c024e 100644 --- a/internal/gen/buf/validate/conformance/cases/kitchen_sink.pb.go +++ b/internal/gen/buf/validate/conformance/cases/kitchen_sink.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/kitchen_sink.proto @@ -117,11 +117,9 @@ type ComplexTestMsg struct { func (x *ComplexTestMsg) Reset() { *x = ComplexTestMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplexTestMsg) String() string { @@ -132,7 +130,7 @@ func (*ComplexTestMsg) ProtoMessage() {} func (x *ComplexTestMsg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_kitchen_sink_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) @@ -299,11 +297,9 @@ type KitchenSinkMessage struct { func (x *KitchenSinkMessage) Reset() { *x = KitchenSinkMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KitchenSinkMessage) String() string { @@ -314,7 +310,7 @@ func (*KitchenSinkMessage) ProtoMessage() {} func (x *KitchenSinkMessage) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_kitchen_sink_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) @@ -469,7 +465,7 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescGZIP() []byte var file_buf_validate_conformance_cases_kitchen_sink_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = []any{ (ComplexTestEnum)(0), // 0: buf.validate.conformance.cases.ComplexTestEnum (*ComplexTestMsg)(nil), // 1: buf.validate.conformance.cases.ComplexTestMsg (*KitchenSinkMessage)(nil), // 2: buf.validate.conformance.cases.KitchenSinkMessage @@ -502,33 +498,7 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { if File_buf_validate_conformance_cases_kitchen_sink_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplexTestMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KitchenSinkMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0].OneofWrappers = []any{ (*ComplexTestMsg_X)(nil), (*ComplexTestMsg_Y)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/maps.pb.go b/internal/gen/buf/validate/conformance/cases/maps.pb.go index 11c184e..2baee00 100644 --- a/internal/gen/buf/validate/conformance/cases/maps.pb.go +++ b/internal/gen/buf/validate/conformance/cases/maps.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/maps.proto @@ -45,11 +45,9 @@ type MapNone struct { func (x *MapNone) Reset() { *x = MapNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapNone) String() string { @@ -60,7 +58,7 @@ func (*MapNone) ProtoMessage() {} func (x *MapNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_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) @@ -92,11 +90,9 @@ type MapMin struct { func (x *MapMin) Reset() { *x = MapMin{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapMin) String() string { @@ -107,7 +103,7 @@ func (*MapMin) ProtoMessage() {} func (x *MapMin) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type MapMax struct { func (x *MapMax) Reset() { *x = MapMax{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapMax) String() string { @@ -154,7 +148,7 @@ func (*MapMax) ProtoMessage() {} func (x *MapMax) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_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) @@ -186,11 +180,9 @@ type MapMinMax struct { func (x *MapMinMax) Reset() { *x = MapMinMax{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapMinMax) String() string { @@ -201,7 +193,7 @@ func (*MapMinMax) ProtoMessage() {} func (x *MapMinMax) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,11 +225,9 @@ type MapExact struct { func (x *MapExact) Reset() { *x = MapExact{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapExact) String() string { @@ -248,7 +238,7 @@ func (*MapExact) ProtoMessage() {} func (x *MapExact) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type MapKeys struct { func (x *MapKeys) Reset() { *x = MapKeys{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapKeys) String() string { @@ -295,7 +283,7 @@ func (*MapKeys) ProtoMessage() {} func (x *MapKeys) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type MapValues struct { func (x *MapValues) Reset() { *x = MapValues{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapValues) String() string { @@ -342,7 +328,7 @@ func (*MapValues) ProtoMessage() {} func (x *MapValues) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +360,9 @@ type MapKeysPattern struct { func (x *MapKeysPattern) Reset() { *x = MapKeysPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapKeysPattern) String() string { @@ -389,7 +373,7 @@ func (*MapKeysPattern) ProtoMessage() {} func (x *MapKeysPattern) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type MapValuesPattern struct { func (x *MapValuesPattern) Reset() { *x = MapValuesPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapValuesPattern) String() string { @@ -436,7 +418,7 @@ func (*MapValuesPattern) ProtoMessage() {} func (x *MapValuesPattern) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,11 +450,9 @@ type MapRecursive struct { func (x *MapRecursive) Reset() { *x = MapRecursive{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapRecursive) String() string { @@ -483,7 +463,7 @@ func (*MapRecursive) ProtoMessage() {} func (x *MapRecursive) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_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) @@ -515,11 +495,9 @@ type MapExactIgnore struct { func (x *MapExactIgnore) Reset() { *x = MapExactIgnore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapExactIgnore) String() string { @@ -530,7 +508,7 @@ func (*MapExactIgnore) ProtoMessage() {} func (x *MapExactIgnore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -564,11 +542,9 @@ type MultipleMaps struct { func (x *MultipleMaps) Reset() { *x = MultipleMaps{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MultipleMaps) String() string { @@ -579,7 +555,7 @@ func (*MultipleMaps) ProtoMessage() {} func (x *MultipleMaps) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -625,11 +601,9 @@ type MapRecursive_Msg struct { func (x *MapRecursive_Msg) Reset() { *x = MapRecursive_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapRecursive_Msg) String() string { @@ -640,7 +614,7 @@ func (*MapRecursive_Msg) ProtoMessage() {} func (x *MapRecursive_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -847,7 +821,7 @@ func file_buf_validate_conformance_cases_maps_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_maps_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_buf_validate_conformance_cases_maps_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_maps_proto_goTypes = []any{ (*MapNone)(nil), // 0: buf.validate.conformance.cases.MapNone (*MapMin)(nil), // 1: buf.validate.conformance.cases.MapMin (*MapMax)(nil), // 2: buf.validate.conformance.cases.MapMax @@ -904,164 +878,6 @@ func file_buf_validate_conformance_cases_maps_proto_init() { if File_buf_validate_conformance_cases_maps_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_maps_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapMin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapMax); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapMinMax); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapExact); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapKeys); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapValues); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapKeysPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapValuesPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapRecursive); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapExactIgnore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultipleMaps); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_maps_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapRecursive_Msg); 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/gen/buf/validate/conformance/cases/messages.pb.go b/internal/gen/buf/validate/conformance/cases/messages.pb.go index b33aa04..7f75a56 100644 --- a/internal/gen/buf/validate/conformance/cases/messages.pb.go +++ b/internal/gen/buf/validate/conformance/cases/messages.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/messages.proto @@ -47,11 +47,9 @@ type TestMsg struct { func (x *TestMsg) Reset() { *x = TestMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestMsg) String() string { @@ -62,7 +60,7 @@ func (*TestMsg) ProtoMessage() {} func (x *TestMsg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_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) @@ -101,11 +99,9 @@ type MessageNone struct { func (x *MessageNone) Reset() { *x = MessageNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageNone) String() string { @@ -116,7 +112,7 @@ func (*MessageNone) ProtoMessage() {} func (x *MessageNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_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) @@ -148,11 +144,9 @@ type MessageDisabled struct { func (x *MessageDisabled) Reset() { *x = MessageDisabled{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageDisabled) String() string { @@ -163,7 +157,7 @@ func (*MessageDisabled) ProtoMessage() {} func (x *MessageDisabled) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_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) @@ -195,11 +189,9 @@ type Message struct { func (x *Message) Reset() { *x = Message{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Message) String() string { @@ -210,7 +202,7 @@ func (*Message) ProtoMessage() {} func (x *Message) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,11 +234,9 @@ type MessageCrossPackage struct { func (x *MessageCrossPackage) Reset() { *x = MessageCrossPackage{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageCrossPackage) String() string { @@ -257,7 +247,7 @@ func (*MessageCrossPackage) ProtoMessage() {} func (x *MessageCrossPackage) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -289,11 +279,9 @@ type MessageSkip struct { func (x *MessageSkip) Reset() { *x = MessageSkip{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageSkip) String() string { @@ -304,7 +292,7 @@ func (*MessageSkip) ProtoMessage() {} func (x *MessageSkip) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -336,11 +324,9 @@ type MessageRequired struct { func (x *MessageRequired) Reset() { *x = MessageRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageRequired) String() string { @@ -351,7 +337,7 @@ func (*MessageRequired) ProtoMessage() {} func (x *MessageRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -383,11 +369,9 @@ type MessageRequiredButOptional struct { func (x *MessageRequiredButOptional) Reset() { *x = MessageRequiredButOptional{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageRequiredButOptional) String() string { @@ -398,7 +382,7 @@ func (*MessageRequiredButOptional) ProtoMessage() {} func (x *MessageRequiredButOptional) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,11 +417,9 @@ type MessageRequiredOneof struct { func (x *MessageRequiredOneof) Reset() { *x = MessageRequiredOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageRequiredOneof) String() string { @@ -448,7 +430,7 @@ func (*MessageRequiredOneof) ProtoMessage() {} func (x *MessageRequiredOneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -495,11 +477,9 @@ type MessageWith3DInside struct { func (x *MessageWith3DInside) Reset() { *x = MessageWith3DInside{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageWith3DInside) String() string { @@ -510,7 +490,7 @@ func (*MessageWith3DInside) ProtoMessage() {} func (x *MessageWith3DInside) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_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) @@ -533,11 +513,9 @@ type MessageNone_NoneMsg struct { func (x *MessageNone_NoneMsg) Reset() { *x = MessageNone_NoneMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MessageNone_NoneMsg) String() string { @@ -548,7 +526,7 @@ func (*MessageNone_NoneMsg) ProtoMessage() {} func (x *MessageNone_NoneMsg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -663,7 +641,7 @@ func file_buf_validate_conformance_cases_messages_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_buf_validate_conformance_cases_messages_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_messages_proto_goTypes = []any{ (*TestMsg)(nil), // 0: buf.validate.conformance.cases.TestMsg (*MessageNone)(nil), // 1: buf.validate.conformance.cases.MessageNone (*MessageDisabled)(nil), // 2: buf.validate.conformance.cases.MessageDisabled @@ -698,142 +676,8 @@ func file_buf_validate_conformance_cases_messages_proto_init() { if File_buf_validate_conformance_cases_messages_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageDisabled); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageCrossPackage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageSkip); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageRequiredButOptional); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageRequiredOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageWith3DInside); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageNone_NoneMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_messages_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_messages_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_messages_proto_msgTypes[7].OneofWrappers = []any{} + file_buf_validate_conformance_cases_messages_proto_msgTypes[8].OneofWrappers = []any{ (*MessageRequiredOneof_Val)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/numbers.pb.go b/internal/gen/buf/validate/conformance/cases/numbers.pb.go index 568ffaf..0e8942c 100644 --- a/internal/gen/buf/validate/conformance/cases/numbers.pb.go +++ b/internal/gen/buf/validate/conformance/cases/numbers.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/numbers.proto @@ -45,11 +45,9 @@ type FloatNone struct { func (x *FloatNone) Reset() { *x = FloatNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatNone) String() string { @@ -60,7 +58,7 @@ func (*FloatNone) ProtoMessage() {} func (x *FloatNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_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) @@ -92,11 +90,9 @@ type FloatConst struct { func (x *FloatConst) Reset() { *x = FloatConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatConst) String() string { @@ -107,7 +103,7 @@ func (*FloatConst) ProtoMessage() {} func (x *FloatConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type FloatIn struct { func (x *FloatIn) Reset() { *x = FloatIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatIn) String() string { @@ -154,7 +148,7 @@ func (*FloatIn) ProtoMessage() {} func (x *FloatIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_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) @@ -186,11 +180,9 @@ type FloatNotIn struct { func (x *FloatNotIn) Reset() { *x = FloatNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatNotIn) String() string { @@ -201,7 +193,7 @@ func (*FloatNotIn) ProtoMessage() {} func (x *FloatNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,11 +225,9 @@ type FloatLT struct { func (x *FloatLT) Reset() { *x = FloatLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatLT) String() string { @@ -248,7 +238,7 @@ func (*FloatLT) ProtoMessage() {} func (x *FloatLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type FloatLTE struct { func (x *FloatLTE) Reset() { *x = FloatLTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatLTE) String() string { @@ -295,7 +283,7 @@ func (*FloatLTE) ProtoMessage() {} func (x *FloatLTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type FloatGT struct { func (x *FloatGT) Reset() { *x = FloatGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatGT) String() string { @@ -342,7 +328,7 @@ func (*FloatGT) ProtoMessage() {} func (x *FloatGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +360,9 @@ type FloatGTE struct { func (x *FloatGTE) Reset() { *x = FloatGTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatGTE) String() string { @@ -389,7 +373,7 @@ func (*FloatGTE) ProtoMessage() {} func (x *FloatGTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type FloatGTLT struct { func (x *FloatGTLT) Reset() { *x = FloatGTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatGTLT) String() string { @@ -436,7 +418,7 @@ func (*FloatGTLT) ProtoMessage() {} func (x *FloatGTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,11 +450,9 @@ type FloatExLTGT struct { func (x *FloatExLTGT) Reset() { *x = FloatExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatExLTGT) String() string { @@ -483,7 +463,7 @@ func (*FloatExLTGT) ProtoMessage() {} func (x *FloatExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_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) @@ -515,11 +495,9 @@ type FloatGTELTE struct { func (x *FloatGTELTE) Reset() { *x = FloatGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatGTELTE) String() string { @@ -530,7 +508,7 @@ func (*FloatGTELTE) ProtoMessage() {} func (x *FloatGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,11 +540,9 @@ type FloatExGTELTE struct { func (x *FloatExGTELTE) Reset() { *x = FloatExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatExGTELTE) String() string { @@ -577,7 +553,7 @@ func (*FloatExGTELTE) ProtoMessage() {} func (x *FloatExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,11 +585,9 @@ type FloatFinite struct { func (x *FloatFinite) Reset() { *x = FloatFinite{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatFinite) String() string { @@ -624,7 +598,7 @@ func (*FloatFinite) ProtoMessage() {} func (x *FloatFinite) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -656,11 +630,9 @@ type FloatNotFinite struct { func (x *FloatNotFinite) Reset() { *x = FloatNotFinite{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatNotFinite) String() string { @@ -671,7 +643,7 @@ func (*FloatNotFinite) ProtoMessage() {} func (x *FloatNotFinite) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -703,11 +675,9 @@ type FloatIgnore struct { func (x *FloatIgnore) Reset() { *x = FloatIgnore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatIgnore) String() string { @@ -718,7 +688,7 @@ func (*FloatIgnore) ProtoMessage() {} func (x *FloatIgnore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -750,11 +720,9 @@ type FloatIncorrectType struct { func (x *FloatIncorrectType) Reset() { *x = FloatIncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatIncorrectType) String() string { @@ -765,7 +733,7 @@ func (*FloatIncorrectType) ProtoMessage() {} func (x *FloatIncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -797,11 +765,9 @@ type FloatExample struct { func (x *FloatExample) Reset() { *x = FloatExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FloatExample) String() string { @@ -812,7 +778,7 @@ func (*FloatExample) ProtoMessage() {} func (x *FloatExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -844,11 +810,9 @@ type DoubleNone struct { func (x *DoubleNone) Reset() { *x = DoubleNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleNone) String() string { @@ -859,7 +823,7 @@ func (*DoubleNone) ProtoMessage() {} func (x *DoubleNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -891,11 +855,9 @@ type DoubleConst struct { func (x *DoubleConst) Reset() { *x = DoubleConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleConst) String() string { @@ -906,7 +868,7 @@ func (*DoubleConst) ProtoMessage() {} func (x *DoubleConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -938,11 +900,9 @@ type DoubleIn struct { func (x *DoubleIn) Reset() { *x = DoubleIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleIn) String() string { @@ -953,7 +913,7 @@ func (*DoubleIn) ProtoMessage() {} func (x *DoubleIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -985,11 +945,9 @@ type DoubleNotIn struct { func (x *DoubleNotIn) Reset() { *x = DoubleNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleNotIn) String() string { @@ -1000,7 +958,7 @@ func (*DoubleNotIn) ProtoMessage() {} func (x *DoubleNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1032,11 +990,9 @@ type DoubleLT struct { func (x *DoubleLT) Reset() { *x = DoubleLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleLT) String() string { @@ -1047,7 +1003,7 @@ func (*DoubleLT) ProtoMessage() {} func (x *DoubleLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1079,11 +1035,9 @@ type DoubleLTE struct { func (x *DoubleLTE) Reset() { *x = DoubleLTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleLTE) String() string { @@ -1094,7 +1048,7 @@ func (*DoubleLTE) ProtoMessage() {} func (x *DoubleLTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1126,11 +1080,9 @@ type DoubleGT struct { func (x *DoubleGT) Reset() { *x = DoubleGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleGT) String() string { @@ -1141,7 +1093,7 @@ func (*DoubleGT) ProtoMessage() {} func (x *DoubleGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1173,11 +1125,9 @@ type DoubleGTE struct { func (x *DoubleGTE) Reset() { *x = DoubleGTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleGTE) String() string { @@ -1188,7 +1138,7 @@ func (*DoubleGTE) ProtoMessage() {} func (x *DoubleGTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1220,11 +1170,9 @@ type DoubleGTLT struct { func (x *DoubleGTLT) Reset() { *x = DoubleGTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleGTLT) String() string { @@ -1235,7 +1183,7 @@ func (*DoubleGTLT) ProtoMessage() {} func (x *DoubleGTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1267,11 +1215,9 @@ type DoubleExLTGT struct { func (x *DoubleExLTGT) Reset() { *x = DoubleExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleExLTGT) String() string { @@ -1282,7 +1228,7 @@ func (*DoubleExLTGT) ProtoMessage() {} func (x *DoubleExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1314,11 +1260,9 @@ type DoubleGTELTE struct { func (x *DoubleGTELTE) Reset() { *x = DoubleGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleGTELTE) String() string { @@ -1329,7 +1273,7 @@ func (*DoubleGTELTE) ProtoMessage() {} func (x *DoubleGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,11 +1305,9 @@ type DoubleExGTELTE struct { func (x *DoubleExGTELTE) Reset() { *x = DoubleExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleExGTELTE) String() string { @@ -1376,7 +1318,7 @@ func (*DoubleExGTELTE) ProtoMessage() {} func (x *DoubleExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1408,11 +1350,9 @@ type DoubleFinite struct { func (x *DoubleFinite) Reset() { *x = DoubleFinite{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleFinite) String() string { @@ -1423,7 +1363,7 @@ func (*DoubleFinite) ProtoMessage() {} func (x *DoubleFinite) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1455,11 +1395,9 @@ type DoubleNotFinite struct { func (x *DoubleNotFinite) Reset() { *x = DoubleNotFinite{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleNotFinite) String() string { @@ -1470,7 +1408,7 @@ func (*DoubleNotFinite) ProtoMessage() {} func (x *DoubleNotFinite) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1502,11 +1440,9 @@ type DoubleIgnore struct { func (x *DoubleIgnore) Reset() { *x = DoubleIgnore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleIgnore) String() string { @@ -1517,7 +1453,7 @@ func (*DoubleIgnore) ProtoMessage() {} func (x *DoubleIgnore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1549,11 +1485,9 @@ type DoubleIncorrectType struct { func (x *DoubleIncorrectType) Reset() { *x = DoubleIncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleIncorrectType) String() string { @@ -1564,7 +1498,7 @@ func (*DoubleIncorrectType) ProtoMessage() {} func (x *DoubleIncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1596,11 +1530,9 @@ type DoubleExample struct { func (x *DoubleExample) Reset() { *x = DoubleExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoubleExample) String() string { @@ -1611,7 +1543,7 @@ func (*DoubleExample) ProtoMessage() {} func (x *DoubleExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1643,11 +1575,9 @@ type Int32None struct { func (x *Int32None) Reset() { *x = Int32None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32None) String() string { @@ -1658,7 +1588,7 @@ func (*Int32None) ProtoMessage() {} func (x *Int32None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1690,11 +1620,9 @@ type Int32Const struct { func (x *Int32Const) Reset() { *x = Int32Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32Const) String() string { @@ -1705,7 +1633,7 @@ func (*Int32Const) ProtoMessage() {} func (x *Int32Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1737,11 +1665,9 @@ type Int32In struct { func (x *Int32In) Reset() { *x = Int32In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32In) String() string { @@ -1752,7 +1678,7 @@ func (*Int32In) ProtoMessage() {} func (x *Int32In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1784,11 +1710,9 @@ type Int32NotIn struct { func (x *Int32NotIn) Reset() { *x = Int32NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32NotIn) String() string { @@ -1799,7 +1723,7 @@ func (*Int32NotIn) ProtoMessage() {} func (x *Int32NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1831,11 +1755,9 @@ type Int32LT struct { func (x *Int32LT) Reset() { *x = Int32LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32LT) String() string { @@ -1846,7 +1768,7 @@ func (*Int32LT) ProtoMessage() {} func (x *Int32LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1878,11 +1800,9 @@ type Int32LTE struct { func (x *Int32LTE) Reset() { *x = Int32LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32LTE) String() string { @@ -1893,7 +1813,7 @@ func (*Int32LTE) ProtoMessage() {} func (x *Int32LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1925,11 +1845,9 @@ type Int32GT struct { func (x *Int32GT) Reset() { *x = Int32GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32GT) String() string { @@ -1940,7 +1858,7 @@ func (*Int32GT) ProtoMessage() {} func (x *Int32GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1972,11 +1890,9 @@ type Int32GTE struct { func (x *Int32GTE) Reset() { *x = Int32GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32GTE) String() string { @@ -1987,7 +1903,7 @@ func (*Int32GTE) ProtoMessage() {} func (x *Int32GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2019,11 +1935,9 @@ type Int32GTLT struct { func (x *Int32GTLT) Reset() { *x = Int32GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32GTLT) String() string { @@ -2034,7 +1948,7 @@ func (*Int32GTLT) ProtoMessage() {} func (x *Int32GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2066,11 +1980,9 @@ type Int32ExLTGT struct { func (x *Int32ExLTGT) Reset() { *x = Int32ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32ExLTGT) String() string { @@ -2081,7 +1993,7 @@ func (*Int32ExLTGT) ProtoMessage() {} func (x *Int32ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2113,11 +2025,9 @@ type Int32GTELTE struct { func (x *Int32GTELTE) Reset() { *x = Int32GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32GTELTE) String() string { @@ -2128,7 +2038,7 @@ func (*Int32GTELTE) ProtoMessage() {} func (x *Int32GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2160,11 +2070,9 @@ type Int32ExGTELTE struct { func (x *Int32ExGTELTE) Reset() { *x = Int32ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32ExGTELTE) String() string { @@ -2175,7 +2083,7 @@ func (*Int32ExGTELTE) ProtoMessage() {} func (x *Int32ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2207,11 +2115,9 @@ type Int32Ignore struct { func (x *Int32Ignore) Reset() { *x = Int32Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32Ignore) String() string { @@ -2222,7 +2128,7 @@ func (*Int32Ignore) ProtoMessage() {} func (x *Int32Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2254,11 +2160,9 @@ type Int32IncorrectType struct { func (x *Int32IncorrectType) Reset() { *x = Int32IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32IncorrectType) String() string { @@ -2269,7 +2173,7 @@ func (*Int32IncorrectType) ProtoMessage() {} func (x *Int32IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2301,11 +2205,9 @@ type Int32Example struct { func (x *Int32Example) Reset() { *x = Int32Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int32Example) String() string { @@ -2316,7 +2218,7 @@ func (*Int32Example) ProtoMessage() {} func (x *Int32Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2348,11 +2250,9 @@ type Int64None struct { func (x *Int64None) Reset() { *x = Int64None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64None) String() string { @@ -2363,7 +2263,7 @@ func (*Int64None) ProtoMessage() {} func (x *Int64None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2395,11 +2295,9 @@ type Int64Const struct { func (x *Int64Const) Reset() { *x = Int64Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64Const) String() string { @@ -2410,7 +2308,7 @@ func (*Int64Const) ProtoMessage() {} func (x *Int64Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2442,11 +2340,9 @@ type Int64In struct { func (x *Int64In) Reset() { *x = Int64In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64In) String() string { @@ -2457,7 +2353,7 @@ func (*Int64In) ProtoMessage() {} func (x *Int64In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2489,11 +2385,9 @@ type Int64NotIn struct { func (x *Int64NotIn) Reset() { *x = Int64NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64NotIn) String() string { @@ -2504,7 +2398,7 @@ func (*Int64NotIn) ProtoMessage() {} func (x *Int64NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2536,11 +2430,9 @@ type Int64LT struct { func (x *Int64LT) Reset() { *x = Int64LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64LT) String() string { @@ -2551,7 +2443,7 @@ func (*Int64LT) ProtoMessage() {} func (x *Int64LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2583,11 +2475,9 @@ type Int64LTE struct { func (x *Int64LTE) Reset() { *x = Int64LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64LTE) String() string { @@ -2598,7 +2488,7 @@ func (*Int64LTE) ProtoMessage() {} func (x *Int64LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2630,11 +2520,9 @@ type Int64GT struct { func (x *Int64GT) Reset() { *x = Int64GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64GT) String() string { @@ -2645,7 +2533,7 @@ func (*Int64GT) ProtoMessage() {} func (x *Int64GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2677,11 +2565,9 @@ type Int64GTE struct { func (x *Int64GTE) Reset() { *x = Int64GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64GTE) String() string { @@ -2692,7 +2578,7 @@ func (*Int64GTE) ProtoMessage() {} func (x *Int64GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2724,11 +2610,9 @@ type Int64GTLT struct { func (x *Int64GTLT) Reset() { *x = Int64GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64GTLT) String() string { @@ -2739,7 +2623,7 @@ func (*Int64GTLT) ProtoMessage() {} func (x *Int64GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2771,11 +2655,9 @@ type Int64ExLTGT struct { func (x *Int64ExLTGT) Reset() { *x = Int64ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64ExLTGT) String() string { @@ -2786,7 +2668,7 @@ func (*Int64ExLTGT) ProtoMessage() {} func (x *Int64ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2818,11 +2700,9 @@ type Int64GTELTE struct { func (x *Int64GTELTE) Reset() { *x = Int64GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64GTELTE) String() string { @@ -2833,7 +2713,7 @@ func (*Int64GTELTE) ProtoMessage() {} func (x *Int64GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2865,11 +2745,9 @@ type Int64ExGTELTE struct { func (x *Int64ExGTELTE) Reset() { *x = Int64ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64ExGTELTE) String() string { @@ -2880,7 +2758,7 @@ func (*Int64ExGTELTE) ProtoMessage() {} func (x *Int64ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2912,11 +2790,9 @@ type Int64Ignore struct { func (x *Int64Ignore) Reset() { *x = Int64Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64Ignore) String() string { @@ -2927,7 +2803,7 @@ func (*Int64Ignore) ProtoMessage() {} func (x *Int64Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2971,11 +2847,9 @@ type Int64BigConstraints struct { func (x *Int64BigConstraints) Reset() { *x = Int64BigConstraints{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64BigConstraints) String() string { @@ -2986,7 +2860,7 @@ func (*Int64BigConstraints) ProtoMessage() {} func (x *Int64BigConstraints) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3095,11 +2969,9 @@ type Int64IncorrectType struct { func (x *Int64IncorrectType) Reset() { *x = Int64IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64IncorrectType) String() string { @@ -3110,7 +2982,7 @@ func (*Int64IncorrectType) ProtoMessage() {} func (x *Int64IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3142,11 +3014,9 @@ type Int64Example struct { func (x *Int64Example) Reset() { *x = Int64Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64Example) String() string { @@ -3157,7 +3027,7 @@ func (*Int64Example) ProtoMessage() {} func (x *Int64Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3189,11 +3059,9 @@ type UInt32None struct { func (x *UInt32None) Reset() { *x = UInt32None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32None) String() string { @@ -3204,7 +3072,7 @@ func (*UInt32None) ProtoMessage() {} func (x *UInt32None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3236,11 +3104,9 @@ type UInt32Const struct { func (x *UInt32Const) Reset() { *x = UInt32Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32Const) String() string { @@ -3251,7 +3117,7 @@ func (*UInt32Const) ProtoMessage() {} func (x *UInt32Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3283,11 +3149,9 @@ type UInt32In struct { func (x *UInt32In) Reset() { *x = UInt32In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32In) String() string { @@ -3298,7 +3162,7 @@ func (*UInt32In) ProtoMessage() {} func (x *UInt32In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3330,11 +3194,9 @@ type UInt32NotIn struct { func (x *UInt32NotIn) Reset() { *x = UInt32NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32NotIn) String() string { @@ -3345,7 +3207,7 @@ func (*UInt32NotIn) ProtoMessage() {} func (x *UInt32NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3377,11 +3239,9 @@ type UInt32LT struct { func (x *UInt32LT) Reset() { *x = UInt32LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32LT) String() string { @@ -3392,7 +3252,7 @@ func (*UInt32LT) ProtoMessage() {} func (x *UInt32LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3424,11 +3284,9 @@ type UInt32LTE struct { func (x *UInt32LTE) Reset() { *x = UInt32LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32LTE) String() string { @@ -3439,7 +3297,7 @@ func (*UInt32LTE) ProtoMessage() {} func (x *UInt32LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3471,11 +3329,9 @@ type UInt32GT struct { func (x *UInt32GT) Reset() { *x = UInt32GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32GT) String() string { @@ -3486,7 +3342,7 @@ func (*UInt32GT) ProtoMessage() {} func (x *UInt32GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3518,11 +3374,9 @@ type UInt32GTE struct { func (x *UInt32GTE) Reset() { *x = UInt32GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32GTE) String() string { @@ -3533,7 +3387,7 @@ func (*UInt32GTE) ProtoMessage() {} func (x *UInt32GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3565,11 +3419,9 @@ type UInt32GTLT struct { func (x *UInt32GTLT) Reset() { *x = UInt32GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32GTLT) String() string { @@ -3580,7 +3432,7 @@ func (*UInt32GTLT) ProtoMessage() {} func (x *UInt32GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3612,11 +3464,9 @@ type UInt32ExLTGT struct { func (x *UInt32ExLTGT) Reset() { *x = UInt32ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32ExLTGT) String() string { @@ -3627,7 +3477,7 @@ func (*UInt32ExLTGT) ProtoMessage() {} func (x *UInt32ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3659,11 +3509,9 @@ type UInt32GTELTE struct { func (x *UInt32GTELTE) Reset() { *x = UInt32GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32GTELTE) String() string { @@ -3674,7 +3522,7 @@ func (*UInt32GTELTE) ProtoMessage() {} func (x *UInt32GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3706,11 +3554,9 @@ type UInt32ExGTELTE struct { func (x *UInt32ExGTELTE) Reset() { *x = UInt32ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32ExGTELTE) String() string { @@ -3721,7 +3567,7 @@ func (*UInt32ExGTELTE) ProtoMessage() {} func (x *UInt32ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3753,11 +3599,9 @@ type UInt32Ignore struct { func (x *UInt32Ignore) Reset() { *x = UInt32Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32Ignore) String() string { @@ -3768,7 +3612,7 @@ func (*UInt32Ignore) ProtoMessage() {} func (x *UInt32Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3800,11 +3644,9 @@ type UInt32IncorrectType struct { func (x *UInt32IncorrectType) Reset() { *x = UInt32IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32IncorrectType) String() string { @@ -3815,7 +3657,7 @@ func (*UInt32IncorrectType) ProtoMessage() {} func (x *UInt32IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3847,11 +3689,9 @@ type UInt32Example struct { func (x *UInt32Example) Reset() { *x = UInt32Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt32Example) String() string { @@ -3862,7 +3702,7 @@ func (*UInt32Example) ProtoMessage() {} func (x *UInt32Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3894,11 +3734,9 @@ type UInt64None struct { func (x *UInt64None) Reset() { *x = UInt64None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64None) String() string { @@ -3909,7 +3747,7 @@ func (*UInt64None) ProtoMessage() {} func (x *UInt64None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3941,11 +3779,9 @@ type UInt64Const struct { func (x *UInt64Const) Reset() { *x = UInt64Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64Const) String() string { @@ -3956,7 +3792,7 @@ func (*UInt64Const) ProtoMessage() {} func (x *UInt64Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3988,11 +3824,9 @@ type UInt64In struct { func (x *UInt64In) Reset() { *x = UInt64In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64In) String() string { @@ -4003,7 +3837,7 @@ func (*UInt64In) ProtoMessage() {} func (x *UInt64In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4035,11 +3869,9 @@ type UInt64NotIn struct { func (x *UInt64NotIn) Reset() { *x = UInt64NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64NotIn) String() string { @@ -4050,7 +3882,7 @@ func (*UInt64NotIn) ProtoMessage() {} func (x *UInt64NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4082,11 +3914,9 @@ type UInt64LT struct { func (x *UInt64LT) Reset() { *x = UInt64LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64LT) String() string { @@ -4097,7 +3927,7 @@ func (*UInt64LT) ProtoMessage() {} func (x *UInt64LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4129,11 +3959,9 @@ type UInt64LTE struct { func (x *UInt64LTE) Reset() { *x = UInt64LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64LTE) String() string { @@ -4144,7 +3972,7 @@ func (*UInt64LTE) ProtoMessage() {} func (x *UInt64LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4176,11 +4004,9 @@ type UInt64GT struct { func (x *UInt64GT) Reset() { *x = UInt64GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64GT) String() string { @@ -4191,7 +4017,7 @@ func (*UInt64GT) ProtoMessage() {} func (x *UInt64GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4223,11 +4049,9 @@ type UInt64GTE struct { func (x *UInt64GTE) Reset() { *x = UInt64GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64GTE) String() string { @@ -4238,7 +4062,7 @@ func (*UInt64GTE) ProtoMessage() {} func (x *UInt64GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[87] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4270,11 +4094,9 @@ type UInt64GTLT struct { func (x *UInt64GTLT) Reset() { *x = UInt64GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64GTLT) String() string { @@ -4285,7 +4107,7 @@ func (*UInt64GTLT) ProtoMessage() {} func (x *UInt64GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[88] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4317,11 +4139,9 @@ type UInt64ExLTGT struct { func (x *UInt64ExLTGT) Reset() { *x = UInt64ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64ExLTGT) String() string { @@ -4332,7 +4152,7 @@ func (*UInt64ExLTGT) ProtoMessage() {} func (x *UInt64ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[89] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4364,11 +4184,9 @@ type UInt64GTELTE struct { func (x *UInt64GTELTE) Reset() { *x = UInt64GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64GTELTE) String() string { @@ -4379,7 +4197,7 @@ func (*UInt64GTELTE) ProtoMessage() {} func (x *UInt64GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[90] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4411,11 +4229,9 @@ type UInt64ExGTELTE struct { func (x *UInt64ExGTELTE) Reset() { *x = UInt64ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64ExGTELTE) String() string { @@ -4426,7 +4242,7 @@ func (*UInt64ExGTELTE) ProtoMessage() {} func (x *UInt64ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[91] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4458,11 +4274,9 @@ type UInt64Ignore struct { func (x *UInt64Ignore) Reset() { *x = UInt64Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64Ignore) String() string { @@ -4473,7 +4287,7 @@ func (*UInt64Ignore) ProtoMessage() {} func (x *UInt64Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[92] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4505,11 +4319,9 @@ type UInt64IncorrectType struct { func (x *UInt64IncorrectType) Reset() { *x = UInt64IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64IncorrectType) String() string { @@ -4520,7 +4332,7 @@ func (*UInt64IncorrectType) ProtoMessage() {} func (x *UInt64IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[93] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4552,11 +4364,9 @@ type UInt64Example struct { func (x *UInt64Example) Reset() { *x = UInt64Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UInt64Example) String() string { @@ -4567,7 +4377,7 @@ func (*UInt64Example) ProtoMessage() {} func (x *UInt64Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[94] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4599,11 +4409,9 @@ type SInt32None struct { func (x *SInt32None) Reset() { *x = SInt32None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32None) String() string { @@ -4614,7 +4422,7 @@ func (*SInt32None) ProtoMessage() {} func (x *SInt32None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[95] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4646,11 +4454,9 @@ type SInt32Const struct { func (x *SInt32Const) Reset() { *x = SInt32Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32Const) String() string { @@ -4661,7 +4467,7 @@ func (*SInt32Const) ProtoMessage() {} func (x *SInt32Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[96] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4693,11 +4499,9 @@ type SInt32In struct { func (x *SInt32In) Reset() { *x = SInt32In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32In) String() string { @@ -4708,7 +4512,7 @@ func (*SInt32In) ProtoMessage() {} func (x *SInt32In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[97] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4740,11 +4544,9 @@ type SInt32NotIn struct { func (x *SInt32NotIn) Reset() { *x = SInt32NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32NotIn) String() string { @@ -4755,7 +4557,7 @@ func (*SInt32NotIn) ProtoMessage() {} func (x *SInt32NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[98] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4787,11 +4589,9 @@ type SInt32LT struct { func (x *SInt32LT) Reset() { *x = SInt32LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32LT) String() string { @@ -4802,7 +4602,7 @@ func (*SInt32LT) ProtoMessage() {} func (x *SInt32LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[99] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4834,11 +4634,9 @@ type SInt32LTE struct { func (x *SInt32LTE) Reset() { *x = SInt32LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32LTE) String() string { @@ -4849,7 +4647,7 @@ func (*SInt32LTE) ProtoMessage() {} func (x *SInt32LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[100] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4881,11 +4679,9 @@ type SInt32GT struct { func (x *SInt32GT) Reset() { *x = SInt32GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32GT) String() string { @@ -4896,7 +4692,7 @@ func (*SInt32GT) ProtoMessage() {} func (x *SInt32GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[101] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4928,11 +4724,9 @@ type SInt32GTE struct { func (x *SInt32GTE) Reset() { *x = SInt32GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32GTE) String() string { @@ -4943,7 +4737,7 @@ func (*SInt32GTE) ProtoMessage() {} func (x *SInt32GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[102] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4975,11 +4769,9 @@ type SInt32GTLT struct { func (x *SInt32GTLT) Reset() { *x = SInt32GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32GTLT) String() string { @@ -4990,7 +4782,7 @@ func (*SInt32GTLT) ProtoMessage() {} func (x *SInt32GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[103] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5022,11 +4814,9 @@ type SInt32ExLTGT struct { func (x *SInt32ExLTGT) Reset() { *x = SInt32ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32ExLTGT) String() string { @@ -5037,7 +4827,7 @@ func (*SInt32ExLTGT) ProtoMessage() {} func (x *SInt32ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[104] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5069,11 +4859,9 @@ type SInt32GTELTE struct { func (x *SInt32GTELTE) Reset() { *x = SInt32GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32GTELTE) String() string { @@ -5084,7 +4872,7 @@ func (*SInt32GTELTE) ProtoMessage() {} func (x *SInt32GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[105] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5116,11 +4904,9 @@ type SInt32ExGTELTE struct { func (x *SInt32ExGTELTE) Reset() { *x = SInt32ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32ExGTELTE) String() string { @@ -5131,7 +4917,7 @@ func (*SInt32ExGTELTE) ProtoMessage() {} func (x *SInt32ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[106] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5163,11 +4949,9 @@ type SInt32Ignore struct { func (x *SInt32Ignore) Reset() { *x = SInt32Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32Ignore) String() string { @@ -5178,7 +4962,7 @@ func (*SInt32Ignore) ProtoMessage() {} func (x *SInt32Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[107] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5210,11 +4994,9 @@ type SInt32IncorrectType struct { func (x *SInt32IncorrectType) Reset() { *x = SInt32IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32IncorrectType) String() string { @@ -5225,7 +5007,7 @@ func (*SInt32IncorrectType) ProtoMessage() {} func (x *SInt32IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[108] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5257,11 +5039,9 @@ type SInt32Example struct { func (x *SInt32Example) Reset() { *x = SInt32Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt32Example) String() string { @@ -5272,7 +5052,7 @@ func (*SInt32Example) ProtoMessage() {} func (x *SInt32Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[109] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5304,11 +5084,9 @@ type SInt64None struct { func (x *SInt64None) Reset() { *x = SInt64None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64None) String() string { @@ -5319,7 +5097,7 @@ func (*SInt64None) ProtoMessage() {} func (x *SInt64None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[110] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5351,11 +5129,9 @@ type SInt64Const struct { func (x *SInt64Const) Reset() { *x = SInt64Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64Const) String() string { @@ -5366,7 +5142,7 @@ func (*SInt64Const) ProtoMessage() {} func (x *SInt64Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[111] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5398,11 +5174,9 @@ type SInt64In struct { func (x *SInt64In) Reset() { *x = SInt64In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64In) String() string { @@ -5413,7 +5187,7 @@ func (*SInt64In) ProtoMessage() {} func (x *SInt64In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[112] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5445,11 +5219,9 @@ type SInt64NotIn struct { func (x *SInt64NotIn) Reset() { *x = SInt64NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64NotIn) String() string { @@ -5460,7 +5232,7 @@ func (*SInt64NotIn) ProtoMessage() {} func (x *SInt64NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[113] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5492,11 +5264,9 @@ type SInt64LT struct { func (x *SInt64LT) Reset() { *x = SInt64LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64LT) String() string { @@ -5507,7 +5277,7 @@ func (*SInt64LT) ProtoMessage() {} func (x *SInt64LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[114] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5539,11 +5309,9 @@ type SInt64LTE struct { func (x *SInt64LTE) Reset() { *x = SInt64LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64LTE) String() string { @@ -5554,7 +5322,7 @@ func (*SInt64LTE) ProtoMessage() {} func (x *SInt64LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[115] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5586,11 +5354,9 @@ type SInt64GT struct { func (x *SInt64GT) Reset() { *x = SInt64GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64GT) String() string { @@ -5601,7 +5367,7 @@ func (*SInt64GT) ProtoMessage() {} func (x *SInt64GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[116] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5633,11 +5399,9 @@ type SInt64GTE struct { func (x *SInt64GTE) Reset() { *x = SInt64GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64GTE) String() string { @@ -5648,7 +5412,7 @@ func (*SInt64GTE) ProtoMessage() {} func (x *SInt64GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[117] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5680,11 +5444,9 @@ type SInt64GTLT struct { func (x *SInt64GTLT) Reset() { *x = SInt64GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64GTLT) String() string { @@ -5695,7 +5457,7 @@ func (*SInt64GTLT) ProtoMessage() {} func (x *SInt64GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[118] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5727,11 +5489,9 @@ type SInt64ExLTGT struct { func (x *SInt64ExLTGT) Reset() { *x = SInt64ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64ExLTGT) String() string { @@ -5742,7 +5502,7 @@ func (*SInt64ExLTGT) ProtoMessage() {} func (x *SInt64ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[119] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5774,11 +5534,9 @@ type SInt64GTELTE struct { func (x *SInt64GTELTE) Reset() { *x = SInt64GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64GTELTE) String() string { @@ -5789,7 +5547,7 @@ func (*SInt64GTELTE) ProtoMessage() {} func (x *SInt64GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[120] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5821,11 +5579,9 @@ type SInt64ExGTELTE struct { func (x *SInt64ExGTELTE) Reset() { *x = SInt64ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64ExGTELTE) String() string { @@ -5836,7 +5592,7 @@ func (*SInt64ExGTELTE) ProtoMessage() {} func (x *SInt64ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[121] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5868,11 +5624,9 @@ type SInt64Ignore struct { func (x *SInt64Ignore) Reset() { *x = SInt64Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64Ignore) String() string { @@ -5883,7 +5637,7 @@ func (*SInt64Ignore) ProtoMessage() {} func (x *SInt64Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[122] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5915,11 +5669,9 @@ type SInt64IncorrectType struct { func (x *SInt64IncorrectType) Reset() { *x = SInt64IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64IncorrectType) String() string { @@ -5930,7 +5682,7 @@ func (*SInt64IncorrectType) ProtoMessage() {} func (x *SInt64IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[123] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5962,11 +5714,9 @@ type SInt64Example struct { func (x *SInt64Example) Reset() { *x = SInt64Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SInt64Example) String() string { @@ -5977,7 +5727,7 @@ func (*SInt64Example) ProtoMessage() {} func (x *SInt64Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[124] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6009,11 +5759,9 @@ type Fixed32None struct { func (x *Fixed32None) Reset() { *x = Fixed32None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32None) String() string { @@ -6024,7 +5772,7 @@ func (*Fixed32None) ProtoMessage() {} func (x *Fixed32None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[125] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6056,11 +5804,9 @@ type Fixed32Const struct { func (x *Fixed32Const) Reset() { *x = Fixed32Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32Const) String() string { @@ -6071,7 +5817,7 @@ func (*Fixed32Const) ProtoMessage() {} func (x *Fixed32Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[126] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6103,11 +5849,9 @@ type Fixed32In struct { func (x *Fixed32In) Reset() { *x = Fixed32In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32In) String() string { @@ -6118,7 +5862,7 @@ func (*Fixed32In) ProtoMessage() {} func (x *Fixed32In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[127] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6150,11 +5894,9 @@ type Fixed32NotIn struct { func (x *Fixed32NotIn) Reset() { *x = Fixed32NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32NotIn) String() string { @@ -6165,7 +5907,7 @@ func (*Fixed32NotIn) ProtoMessage() {} func (x *Fixed32NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[128] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6197,11 +5939,9 @@ type Fixed32LT struct { func (x *Fixed32LT) Reset() { *x = Fixed32LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32LT) String() string { @@ -6212,7 +5952,7 @@ func (*Fixed32LT) ProtoMessage() {} func (x *Fixed32LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[129] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6244,11 +5984,9 @@ type Fixed32LTE struct { func (x *Fixed32LTE) Reset() { *x = Fixed32LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32LTE) String() string { @@ -6259,7 +5997,7 @@ func (*Fixed32LTE) ProtoMessage() {} func (x *Fixed32LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[130] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6291,11 +6029,9 @@ type Fixed32GT struct { func (x *Fixed32GT) Reset() { *x = Fixed32GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32GT) String() string { @@ -6306,7 +6042,7 @@ func (*Fixed32GT) ProtoMessage() {} func (x *Fixed32GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[131] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6338,11 +6074,9 @@ type Fixed32GTE struct { func (x *Fixed32GTE) Reset() { *x = Fixed32GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32GTE) String() string { @@ -6353,7 +6087,7 @@ func (*Fixed32GTE) ProtoMessage() {} func (x *Fixed32GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[132] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6385,11 +6119,9 @@ type Fixed32GTLT struct { func (x *Fixed32GTLT) Reset() { *x = Fixed32GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32GTLT) String() string { @@ -6400,7 +6132,7 @@ func (*Fixed32GTLT) ProtoMessage() {} func (x *Fixed32GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[133] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6432,11 +6164,9 @@ type Fixed32ExLTGT struct { func (x *Fixed32ExLTGT) Reset() { *x = Fixed32ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32ExLTGT) String() string { @@ -6447,7 +6177,7 @@ func (*Fixed32ExLTGT) ProtoMessage() {} func (x *Fixed32ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[134] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6479,11 +6209,9 @@ type Fixed32GTELTE struct { func (x *Fixed32GTELTE) Reset() { *x = Fixed32GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[135] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32GTELTE) String() string { @@ -6494,7 +6222,7 @@ func (*Fixed32GTELTE) ProtoMessage() {} func (x *Fixed32GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[135] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6526,11 +6254,9 @@ type Fixed32ExGTELTE struct { func (x *Fixed32ExGTELTE) Reset() { *x = Fixed32ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[136] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32ExGTELTE) String() string { @@ -6541,7 +6267,7 @@ func (*Fixed32ExGTELTE) ProtoMessage() {} func (x *Fixed32ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[136] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6573,11 +6299,9 @@ type Fixed32Ignore struct { func (x *Fixed32Ignore) Reset() { *x = Fixed32Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32Ignore) String() string { @@ -6588,7 +6312,7 @@ func (*Fixed32Ignore) ProtoMessage() {} func (x *Fixed32Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[137] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6620,11 +6344,9 @@ type Fixed32IncorrectType struct { func (x *Fixed32IncorrectType) Reset() { *x = Fixed32IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[138] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32IncorrectType) String() string { @@ -6635,7 +6357,7 @@ func (*Fixed32IncorrectType) ProtoMessage() {} func (x *Fixed32IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[138] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6667,11 +6389,9 @@ type Fixed32Example struct { func (x *Fixed32Example) Reset() { *x = Fixed32Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[139] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed32Example) String() string { @@ -6682,7 +6402,7 @@ func (*Fixed32Example) ProtoMessage() {} func (x *Fixed32Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[139] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6714,11 +6434,9 @@ type Fixed64None struct { func (x *Fixed64None) Reset() { *x = Fixed64None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[140] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64None) String() string { @@ -6729,7 +6447,7 @@ func (*Fixed64None) ProtoMessage() {} func (x *Fixed64None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[140] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6761,11 +6479,9 @@ type Fixed64Const struct { func (x *Fixed64Const) Reset() { *x = Fixed64Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[141] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64Const) String() string { @@ -6776,7 +6492,7 @@ func (*Fixed64Const) ProtoMessage() {} func (x *Fixed64Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[141] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6808,11 +6524,9 @@ type Fixed64In struct { func (x *Fixed64In) Reset() { *x = Fixed64In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[142] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64In) String() string { @@ -6823,7 +6537,7 @@ func (*Fixed64In) ProtoMessage() {} func (x *Fixed64In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[142] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6855,11 +6569,9 @@ type Fixed64NotIn struct { func (x *Fixed64NotIn) Reset() { *x = Fixed64NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[143] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64NotIn) String() string { @@ -6870,7 +6582,7 @@ func (*Fixed64NotIn) ProtoMessage() {} func (x *Fixed64NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[143] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6902,11 +6614,9 @@ type Fixed64LT struct { func (x *Fixed64LT) Reset() { *x = Fixed64LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[144] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64LT) String() string { @@ -6917,7 +6627,7 @@ func (*Fixed64LT) ProtoMessage() {} func (x *Fixed64LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[144] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6949,11 +6659,9 @@ type Fixed64LTE struct { func (x *Fixed64LTE) Reset() { *x = Fixed64LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[145] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64LTE) String() string { @@ -6964,7 +6672,7 @@ func (*Fixed64LTE) ProtoMessage() {} func (x *Fixed64LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[145] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6996,11 +6704,9 @@ type Fixed64GT struct { func (x *Fixed64GT) Reset() { *x = Fixed64GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[146] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64GT) String() string { @@ -7011,7 +6717,7 @@ func (*Fixed64GT) ProtoMessage() {} func (x *Fixed64GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[146] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7043,11 +6749,9 @@ type Fixed64GTE struct { func (x *Fixed64GTE) Reset() { *x = Fixed64GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[147] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64GTE) String() string { @@ -7058,7 +6762,7 @@ func (*Fixed64GTE) ProtoMessage() {} func (x *Fixed64GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[147] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7090,11 +6794,9 @@ type Fixed64GTLT struct { func (x *Fixed64GTLT) Reset() { *x = Fixed64GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[148] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64GTLT) String() string { @@ -7105,7 +6807,7 @@ func (*Fixed64GTLT) ProtoMessage() {} func (x *Fixed64GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[148] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7137,11 +6839,9 @@ type Fixed64ExLTGT struct { func (x *Fixed64ExLTGT) Reset() { *x = Fixed64ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[149] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64ExLTGT) String() string { @@ -7152,7 +6852,7 @@ func (*Fixed64ExLTGT) ProtoMessage() {} func (x *Fixed64ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[149] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7184,11 +6884,9 @@ type Fixed64GTELTE struct { func (x *Fixed64GTELTE) Reset() { *x = Fixed64GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[150] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64GTELTE) String() string { @@ -7199,7 +6897,7 @@ func (*Fixed64GTELTE) ProtoMessage() {} func (x *Fixed64GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[150] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7231,11 +6929,9 @@ type Fixed64ExGTELTE struct { func (x *Fixed64ExGTELTE) Reset() { *x = Fixed64ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[151] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64ExGTELTE) String() string { @@ -7246,7 +6942,7 @@ func (*Fixed64ExGTELTE) ProtoMessage() {} func (x *Fixed64ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[151] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7278,11 +6974,9 @@ type Fixed64Ignore struct { func (x *Fixed64Ignore) Reset() { *x = Fixed64Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[152] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64Ignore) String() string { @@ -7293,7 +6987,7 @@ func (*Fixed64Ignore) ProtoMessage() {} func (x *Fixed64Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[152] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7325,11 +7019,9 @@ type Fixed64IncorrectType struct { func (x *Fixed64IncorrectType) Reset() { *x = Fixed64IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[153] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64IncorrectType) String() string { @@ -7340,7 +7032,7 @@ func (*Fixed64IncorrectType) ProtoMessage() {} func (x *Fixed64IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[153] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7372,11 +7064,9 @@ type Fixed64Example struct { func (x *Fixed64Example) Reset() { *x = Fixed64Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fixed64Example) String() string { @@ -7387,7 +7077,7 @@ func (*Fixed64Example) ProtoMessage() {} func (x *Fixed64Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[154] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7419,11 +7109,9 @@ type SFixed32None struct { func (x *SFixed32None) Reset() { *x = SFixed32None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[155] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32None) String() string { @@ -7434,7 +7122,7 @@ func (*SFixed32None) ProtoMessage() {} func (x *SFixed32None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[155] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7466,11 +7154,9 @@ type SFixed32Const struct { func (x *SFixed32Const) Reset() { *x = SFixed32Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[156] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32Const) String() string { @@ -7481,7 +7167,7 @@ func (*SFixed32Const) ProtoMessage() {} func (x *SFixed32Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[156] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7513,11 +7199,9 @@ type SFixed32In struct { func (x *SFixed32In) Reset() { *x = SFixed32In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[157] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32In) String() string { @@ -7528,7 +7212,7 @@ func (*SFixed32In) ProtoMessage() {} func (x *SFixed32In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[157] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7560,11 +7244,9 @@ type SFixed32NotIn struct { func (x *SFixed32NotIn) Reset() { *x = SFixed32NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[158] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32NotIn) String() string { @@ -7575,7 +7257,7 @@ func (*SFixed32NotIn) ProtoMessage() {} func (x *SFixed32NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[158] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7607,11 +7289,9 @@ type SFixed32LT struct { func (x *SFixed32LT) Reset() { *x = SFixed32LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[159] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32LT) String() string { @@ -7622,7 +7302,7 @@ func (*SFixed32LT) ProtoMessage() {} func (x *SFixed32LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[159] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7654,11 +7334,9 @@ type SFixed32LTE struct { func (x *SFixed32LTE) Reset() { *x = SFixed32LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[160] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32LTE) String() string { @@ -7669,7 +7347,7 @@ func (*SFixed32LTE) ProtoMessage() {} func (x *SFixed32LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[160] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7701,11 +7379,9 @@ type SFixed32GT struct { func (x *SFixed32GT) Reset() { *x = SFixed32GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[161] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32GT) String() string { @@ -7716,7 +7392,7 @@ func (*SFixed32GT) ProtoMessage() {} func (x *SFixed32GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[161] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7748,11 +7424,9 @@ type SFixed32GTE struct { func (x *SFixed32GTE) Reset() { *x = SFixed32GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[162] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32GTE) String() string { @@ -7763,7 +7437,7 @@ func (*SFixed32GTE) ProtoMessage() {} func (x *SFixed32GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[162] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7795,11 +7469,9 @@ type SFixed32GTLT struct { func (x *SFixed32GTLT) Reset() { *x = SFixed32GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32GTLT) String() string { @@ -7810,7 +7482,7 @@ func (*SFixed32GTLT) ProtoMessage() {} func (x *SFixed32GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[163] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7842,11 +7514,9 @@ type SFixed32ExLTGT struct { func (x *SFixed32ExLTGT) Reset() { *x = SFixed32ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32ExLTGT) String() string { @@ -7857,7 +7527,7 @@ func (*SFixed32ExLTGT) ProtoMessage() {} func (x *SFixed32ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[164] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7889,11 +7559,9 @@ type SFixed32GTELTE struct { func (x *SFixed32GTELTE) Reset() { *x = SFixed32GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[165] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32GTELTE) String() string { @@ -7904,7 +7572,7 @@ func (*SFixed32GTELTE) ProtoMessage() {} func (x *SFixed32GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[165] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7936,11 +7604,9 @@ type SFixed32ExGTELTE struct { func (x *SFixed32ExGTELTE) Reset() { *x = SFixed32ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[166] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32ExGTELTE) String() string { @@ -7951,7 +7617,7 @@ func (*SFixed32ExGTELTE) ProtoMessage() {} func (x *SFixed32ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[166] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7983,11 +7649,9 @@ type SFixed32Ignore struct { func (x *SFixed32Ignore) Reset() { *x = SFixed32Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[167] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32Ignore) String() string { @@ -7998,7 +7662,7 @@ func (*SFixed32Ignore) ProtoMessage() {} func (x *SFixed32Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[167] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8030,11 +7694,9 @@ type SFixed32IncorrectType struct { func (x *SFixed32IncorrectType) Reset() { *x = SFixed32IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[168] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32IncorrectType) String() string { @@ -8045,7 +7707,7 @@ func (*SFixed32IncorrectType) ProtoMessage() {} func (x *SFixed32IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[168] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8077,11 +7739,9 @@ type SFixed32Example struct { func (x *SFixed32Example) Reset() { *x = SFixed32Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[169] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed32Example) String() string { @@ -8092,7 +7752,7 @@ func (*SFixed32Example) ProtoMessage() {} func (x *SFixed32Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[169] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8124,11 +7784,9 @@ type SFixed64None struct { func (x *SFixed64None) Reset() { *x = SFixed64None{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[170] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64None) String() string { @@ -8139,7 +7797,7 @@ func (*SFixed64None) ProtoMessage() {} func (x *SFixed64None) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[170] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8171,11 +7829,9 @@ type SFixed64Const struct { func (x *SFixed64Const) Reset() { *x = SFixed64Const{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[171] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64Const) String() string { @@ -8186,7 +7842,7 @@ func (*SFixed64Const) ProtoMessage() {} func (x *SFixed64Const) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[171] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8218,11 +7874,9 @@ type SFixed64In struct { func (x *SFixed64In) Reset() { *x = SFixed64In{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64In) String() string { @@ -8233,7 +7887,7 @@ func (*SFixed64In) ProtoMessage() {} func (x *SFixed64In) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[172] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8265,11 +7919,9 @@ type SFixed64NotIn struct { func (x *SFixed64NotIn) Reset() { *x = SFixed64NotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[173] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64NotIn) String() string { @@ -8280,7 +7932,7 @@ func (*SFixed64NotIn) ProtoMessage() {} func (x *SFixed64NotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[173] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8312,11 +7964,9 @@ type SFixed64LT struct { func (x *SFixed64LT) Reset() { *x = SFixed64LT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[174] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64LT) String() string { @@ -8327,7 +7977,7 @@ func (*SFixed64LT) ProtoMessage() {} func (x *SFixed64LT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[174] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8359,11 +8009,9 @@ type SFixed64LTE struct { func (x *SFixed64LTE) Reset() { *x = SFixed64LTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[175] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64LTE) String() string { @@ -8374,7 +8022,7 @@ func (*SFixed64LTE) ProtoMessage() {} func (x *SFixed64LTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[175] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8406,11 +8054,9 @@ type SFixed64GT struct { func (x *SFixed64GT) Reset() { *x = SFixed64GT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[176] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64GT) String() string { @@ -8421,7 +8067,7 @@ func (*SFixed64GT) ProtoMessage() {} func (x *SFixed64GT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[176] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8453,11 +8099,9 @@ type SFixed64GTE struct { func (x *SFixed64GTE) Reset() { *x = SFixed64GTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[177] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64GTE) String() string { @@ -8468,7 +8112,7 @@ func (*SFixed64GTE) ProtoMessage() {} func (x *SFixed64GTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[177] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8500,11 +8144,9 @@ type SFixed64GTLT struct { func (x *SFixed64GTLT) Reset() { *x = SFixed64GTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[178] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64GTLT) String() string { @@ -8515,7 +8157,7 @@ func (*SFixed64GTLT) ProtoMessage() {} func (x *SFixed64GTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[178] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8547,11 +8189,9 @@ type SFixed64ExLTGT struct { func (x *SFixed64ExLTGT) Reset() { *x = SFixed64ExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[179] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64ExLTGT) String() string { @@ -8562,7 +8202,7 @@ func (*SFixed64ExLTGT) ProtoMessage() {} func (x *SFixed64ExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[179] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8594,11 +8234,9 @@ type SFixed64GTELTE struct { func (x *SFixed64GTELTE) Reset() { *x = SFixed64GTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[180] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64GTELTE) String() string { @@ -8609,7 +8247,7 @@ func (*SFixed64GTELTE) ProtoMessage() {} func (x *SFixed64GTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[180] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8641,11 +8279,9 @@ type SFixed64ExGTELTE struct { func (x *SFixed64ExGTELTE) Reset() { *x = SFixed64ExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64ExGTELTE) String() string { @@ -8656,7 +8292,7 @@ func (*SFixed64ExGTELTE) ProtoMessage() {} func (x *SFixed64ExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[181] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8688,11 +8324,9 @@ type SFixed64Ignore struct { func (x *SFixed64Ignore) Reset() { *x = SFixed64Ignore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64Ignore) String() string { @@ -8703,7 +8337,7 @@ func (*SFixed64Ignore) ProtoMessage() {} func (x *SFixed64Ignore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[182] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8735,11 +8369,9 @@ type SFixed64IncorrectType struct { func (x *SFixed64IncorrectType) Reset() { *x = SFixed64IncorrectType{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64IncorrectType) String() string { @@ -8750,7 +8382,7 @@ func (*SFixed64IncorrectType) ProtoMessage() {} func (x *SFixed64IncorrectType) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[183] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8782,11 +8414,9 @@ type SFixed64Example struct { func (x *SFixed64Example) Reset() { *x = SFixed64Example{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SFixed64Example) String() string { @@ -8797,7 +8427,7 @@ func (*SFixed64Example) ProtoMessage() {} func (x *SFixed64Example) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[184] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8829,11 +8459,9 @@ type Int64LTEOptional struct { func (x *Int64LTEOptional) Reset() { *x = Int64LTEOptional{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Int64LTEOptional) String() string { @@ -8844,7 +8472,7 @@ func (*Int64LTEOptional) ProtoMessage() {} func (x *Int64LTEOptional) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[185] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9479,7 +9107,7 @@ func file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_numbers_proto_msgTypes = make([]protoimpl.MessageInfo, 186) -var file_buf_validate_conformance_cases_numbers_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_numbers_proto_goTypes = []any{ (*FloatNone)(nil), // 0: buf.validate.conformance.cases.FloatNone (*FloatConst)(nil), // 1: buf.validate.conformance.cases.FloatConst (*FloatIn)(nil), // 2: buf.validate.conformance.cases.FloatIn @@ -9680,2241 +9308,7 @@ func file_buf_validate_conformance_cases_numbers_proto_init() { if File_buf_validate_conformance_cases_numbers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_numbers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatLTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatGTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatGTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatFinite); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatNotFinite); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatIgnore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatIncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FloatExample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleLTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleGTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleGTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleFinite); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleNotFinite); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleIgnore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleIncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoubleExample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int32Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64BigConstraints); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt32Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UInt64Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt32Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SInt64Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed32Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fixed64Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed32Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64None); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64Const); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64In); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64NotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64LT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64LTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64GT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64GTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64GTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64ExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64GTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64ExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64Ignore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64IncorrectType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SFixed64Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Int64LTEOptional); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_numbers_proto_msgTypes[185].OneofWrappers = []interface{}{} + file_buf_validate_conformance_cases_numbers_proto_msgTypes[185].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/internal/gen/buf/validate/conformance/cases/oneofs.pb.go b/internal/gen/buf/validate/conformance/cases/oneofs.pb.go index 65cc755..327391a 100644 --- a/internal/gen/buf/validate/conformance/cases/oneofs.pb.go +++ b/internal/gen/buf/validate/conformance/cases/oneofs.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/oneofs.proto @@ -45,11 +45,9 @@ type TestOneofMsg struct { func (x *TestOneofMsg) Reset() { *x = TestOneofMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestOneofMsg) String() string { @@ -60,7 +58,7 @@ func (*TestOneofMsg) ProtoMessage() {} func (x *TestOneofMsg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_oneofs_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) @@ -96,11 +94,9 @@ type OneofNone struct { func (x *OneofNone) Reset() { *x = OneofNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OneofNone) String() string { @@ -111,7 +107,7 @@ func (*OneofNone) ProtoMessage() {} func (x *OneofNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_oneofs_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) @@ -178,11 +174,9 @@ type Oneof struct { func (x *Oneof) Reset() { *x = Oneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Oneof) String() string { @@ -193,7 +187,7 @@ func (*Oneof) ProtoMessage() {} func (x *Oneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_oneofs_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) @@ -274,11 +268,9 @@ type OneofRequired struct { func (x *OneofRequired) Reset() { *x = OneofRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OneofRequired) String() string { @@ -289,7 +281,7 @@ func (*OneofRequired) ProtoMessage() {} func (x *OneofRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -381,11 +373,9 @@ type OneofRequiredWithRequiredField struct { func (x *OneofRequiredWithRequiredField) Reset() { *x = OneofRequiredWithRequiredField{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OneofRequiredWithRequiredField) String() string { @@ -396,7 +386,7 @@ func (*OneofRequiredWithRequiredField) ProtoMessage() {} func (x *OneofRequiredWithRequiredField) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -521,7 +511,7 @@ func file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_oneofs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_buf_validate_conformance_cases_oneofs_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_oneofs_proto_goTypes = []any{ (*TestOneofMsg)(nil), // 0: buf.validate.conformance.cases.TestOneofMsg (*OneofNone)(nil), // 1: buf.validate.conformance.cases.OneofNone (*Oneof)(nil), // 2: buf.validate.conformance.cases.Oneof @@ -542,84 +532,22 @@ func file_buf_validate_conformance_cases_oneofs_proto_init() { if File_buf_validate_conformance_cases_oneofs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestOneofMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OneofNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Oneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OneofRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OneofRequiredWithRequiredField); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1].OneofWrappers = []any{ (*OneofNone_X)(nil), (*OneofNone_Y)(nil), } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2].OneofWrappers = []any{ (*Oneof_X)(nil), (*Oneof_Y)(nil), (*Oneof_Z)(nil), } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3].OneofWrappers = []any{ (*OneofRequired_X)(nil), (*OneofRequired_Y)(nil), (*OneofRequired_NameWithUnderscores)(nil), (*OneofRequired_UnderAnd_1Number)(nil), } - file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4].OneofWrappers = []any{ (*OneofRequiredWithRequiredField_A)(nil), (*OneofRequiredWithRequiredField_B)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/other_package/embed.pb.go b/internal/gen/buf/validate/conformance/cases/other_package/embed.pb.go index 3a630a8..2fa8176 100644 --- a/internal/gen/buf/validate/conformance/cases/other_package/embed.pb.go +++ b/internal/gen/buf/validate/conformance/cases/other_package/embed.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/other_package/embed.proto @@ -138,11 +138,9 @@ type Embed struct { func (x *Embed) Reset() { *x = Embed{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Embed) String() string { @@ -153,7 +151,7 @@ func (*Embed) ProtoMessage() {} func (x *Embed) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_other_package_embed_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 Embed_DoubleEmbed struct { func (x *Embed_DoubleEmbed) Reset() { *x = Embed_DoubleEmbed{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Embed_DoubleEmbed) String() string { @@ -198,7 +194,7 @@ func (*Embed_DoubleEmbed) ProtoMessage() {} func (x *Embed_DoubleEmbed) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_other_package_embed_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,7 +273,7 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP() var file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = []any{ (Embed_Enumerated)(0), // 0: buf.validate.conformance.cases.other_package.Embed.Enumerated (Embed_DoubleEmbed_DoubleEnumerated)(0), // 1: buf.validate.conformance.cases.other_package.Embed.DoubleEmbed.DoubleEnumerated (*Embed)(nil), // 2: buf.validate.conformance.cases.other_package.Embed @@ -296,32 +292,6 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_init() { if File_buf_validate_conformance_cases_other_package_embed_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Embed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Embed_DoubleEmbed); 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/gen/buf/validate/conformance/cases/predefined_rules_proto2.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2.pb.go index 83bfdb4..189b3c7 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto2.proto @@ -104,11 +104,9 @@ type PredefinedFloatRuleProto2 struct { func (x *PredefinedFloatRuleProto2) Reset() { *x = PredefinedFloatRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFloatRuleProto2) String() string { @@ -119,7 +117,7 @@ func (*PredefinedFloatRuleProto2) ProtoMessage() {} func (x *PredefinedFloatRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_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 PredefinedDoubleRuleProto2 struct { func (x *PredefinedDoubleRuleProto2) Reset() { *x = PredefinedDoubleRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDoubleRuleProto2) String() string { @@ -166,7 +162,7 @@ func (*PredefinedDoubleRuleProto2) ProtoMessage() {} func (x *PredefinedDoubleRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_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) @@ -198,11 +194,9 @@ type PredefinedInt32RuleProto2 struct { func (x *PredefinedInt32RuleProto2) Reset() { *x = PredefinedInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt32RuleProto2) String() string { @@ -213,7 +207,7 @@ func (*PredefinedInt32RuleProto2) ProtoMessage() {} func (x *PredefinedInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_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) @@ -245,11 +239,9 @@ type PredefinedInt64RuleProto2 struct { func (x *PredefinedInt64RuleProto2) Reset() { *x = PredefinedInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt64RuleProto2) String() string { @@ -260,7 +252,7 @@ func (*PredefinedInt64RuleProto2) ProtoMessage() {} func (x *PredefinedInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,11 +284,9 @@ type PredefinedUInt32RuleProto2 struct { func (x *PredefinedUInt32RuleProto2) Reset() { *x = PredefinedUInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt32RuleProto2) String() string { @@ -307,7 +297,7 @@ func (*PredefinedUInt32RuleProto2) ProtoMessage() {} func (x *PredefinedUInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,11 +329,9 @@ type PredefinedUInt64RuleProto2 struct { func (x *PredefinedUInt64RuleProto2) Reset() { *x = PredefinedUInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt64RuleProto2) String() string { @@ -354,7 +342,7 @@ func (*PredefinedUInt64RuleProto2) ProtoMessage() {} func (x *PredefinedUInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,11 +374,9 @@ type PredefinedSInt32RuleProto2 struct { func (x *PredefinedSInt32RuleProto2) Reset() { *x = PredefinedSInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt32RuleProto2) String() string { @@ -401,7 +387,7 @@ func (*PredefinedSInt32RuleProto2) ProtoMessage() {} func (x *PredefinedSInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,11 +419,9 @@ type PredefinedSInt64RuleProto2 struct { func (x *PredefinedSInt64RuleProto2) Reset() { *x = PredefinedSInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt64RuleProto2) String() string { @@ -448,7 +432,7 @@ func (*PredefinedSInt64RuleProto2) ProtoMessage() {} func (x *PredefinedSInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -480,11 +464,9 @@ type PredefinedFixed32RuleProto2 struct { func (x *PredefinedFixed32RuleProto2) Reset() { *x = PredefinedFixed32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed32RuleProto2) String() string { @@ -495,7 +477,7 @@ func (*PredefinedFixed32RuleProto2) ProtoMessage() {} func (x *PredefinedFixed32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -527,11 +509,9 @@ type PredefinedFixed64RuleProto2 struct { func (x *PredefinedFixed64RuleProto2) Reset() { *x = PredefinedFixed64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed64RuleProto2) String() string { @@ -542,7 +522,7 @@ func (*PredefinedFixed64RuleProto2) ProtoMessage() {} func (x *PredefinedFixed64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_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) @@ -574,11 +554,9 @@ type PredefinedSFixed32RuleProto2 struct { func (x *PredefinedSFixed32RuleProto2) Reset() { *x = PredefinedSFixed32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed32RuleProto2) String() string { @@ -589,7 +567,7 @@ func (*PredefinedSFixed32RuleProto2) ProtoMessage() {} func (x *PredefinedSFixed32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -621,11 +599,9 @@ type PredefinedSFixed64RuleProto2 struct { func (x *PredefinedSFixed64RuleProto2) Reset() { *x = PredefinedSFixed64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed64RuleProto2) String() string { @@ -636,7 +612,7 @@ func (*PredefinedSFixed64RuleProto2) ProtoMessage() {} func (x *PredefinedSFixed64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -668,11 +644,9 @@ type PredefinedBoolRuleProto2 struct { func (x *PredefinedBoolRuleProto2) Reset() { *x = PredefinedBoolRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBoolRuleProto2) String() string { @@ -683,7 +657,7 @@ func (*PredefinedBoolRuleProto2) ProtoMessage() {} func (x *PredefinedBoolRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -715,11 +689,9 @@ type PredefinedStringRuleProto2 struct { func (x *PredefinedStringRuleProto2) Reset() { *x = PredefinedStringRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedStringRuleProto2) String() string { @@ -730,7 +702,7 @@ func (*PredefinedStringRuleProto2) ProtoMessage() {} func (x *PredefinedStringRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -762,11 +734,9 @@ type PredefinedBytesRuleProto2 struct { func (x *PredefinedBytesRuleProto2) Reset() { *x = PredefinedBytesRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBytesRuleProto2) String() string { @@ -777,7 +747,7 @@ func (*PredefinedBytesRuleProto2) ProtoMessage() {} func (x *PredefinedBytesRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -809,11 +779,9 @@ type PredefinedEnumRuleProto2 struct { func (x *PredefinedEnumRuleProto2) Reset() { *x = PredefinedEnumRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedEnumRuleProto2) String() string { @@ -824,7 +792,7 @@ func (*PredefinedEnumRuleProto2) ProtoMessage() {} func (x *PredefinedEnumRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,11 +824,9 @@ type PredefinedRepeatedRuleProto2 struct { func (x *PredefinedRepeatedRuleProto2) Reset() { *x = PredefinedRepeatedRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedRuleProto2) String() string { @@ -871,7 +837,7 @@ func (*PredefinedRepeatedRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -903,11 +869,9 @@ type PredefinedDurationRuleProto2 struct { func (x *PredefinedDurationRuleProto2) Reset() { *x = PredefinedDurationRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDurationRuleProto2) String() string { @@ -918,7 +882,7 @@ func (*PredefinedDurationRuleProto2) ProtoMessage() {} func (x *PredefinedDurationRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -950,11 +914,9 @@ type PredefinedTimestampRuleProto2 struct { func (x *PredefinedTimestampRuleProto2) Reset() { *x = PredefinedTimestampRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedTimestampRuleProto2) String() string { @@ -965,7 +927,7 @@ func (*PredefinedTimestampRuleProto2) ProtoMessage() {} func (x *PredefinedTimestampRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -997,11 +959,9 @@ type PredefinedWrappedFloatRuleProto2 struct { func (x *PredefinedWrappedFloatRuleProto2) Reset() { *x = PredefinedWrappedFloatRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedFloatRuleProto2) String() string { @@ -1012,7 +972,7 @@ func (*PredefinedWrappedFloatRuleProto2) ProtoMessage() {} func (x *PredefinedWrappedFloatRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1044,11 +1004,9 @@ type PredefinedWrappedDoubleRuleProto2 struct { func (x *PredefinedWrappedDoubleRuleProto2) Reset() { *x = PredefinedWrappedDoubleRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedDoubleRuleProto2) String() string { @@ -1059,7 +1017,7 @@ func (*PredefinedWrappedDoubleRuleProto2) ProtoMessage() {} func (x *PredefinedWrappedDoubleRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1091,11 +1049,9 @@ type PredefinedWrappedInt32RuleProto2 struct { func (x *PredefinedWrappedInt32RuleProto2) Reset() { *x = PredefinedWrappedInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt32RuleProto2) String() string { @@ -1106,7 +1062,7 @@ func (*PredefinedWrappedInt32RuleProto2) ProtoMessage() {} func (x *PredefinedWrappedInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1138,11 +1094,9 @@ type PredefinedWrappedInt64RuleProto2 struct { func (x *PredefinedWrappedInt64RuleProto2) Reset() { *x = PredefinedWrappedInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt64RuleProto2) String() string { @@ -1153,7 +1107,7 @@ func (*PredefinedWrappedInt64RuleProto2) ProtoMessage() {} func (x *PredefinedWrappedInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1185,11 +1139,9 @@ type PredefinedWrappedUInt32RuleProto2 struct { func (x *PredefinedWrappedUInt32RuleProto2) Reset() { *x = PredefinedWrappedUInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt32RuleProto2) String() string { @@ -1200,7 +1152,7 @@ func (*PredefinedWrappedUInt32RuleProto2) ProtoMessage() {} func (x *PredefinedWrappedUInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1232,11 +1184,9 @@ type PredefinedWrappedUInt64RuleProto2 struct { func (x *PredefinedWrappedUInt64RuleProto2) Reset() { *x = PredefinedWrappedUInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt64RuleProto2) String() string { @@ -1247,7 +1197,7 @@ func (*PredefinedWrappedUInt64RuleProto2) ProtoMessage() {} func (x *PredefinedWrappedUInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1279,11 +1229,9 @@ type PredefinedWrappedBoolRuleProto2 struct { func (x *PredefinedWrappedBoolRuleProto2) Reset() { *x = PredefinedWrappedBoolRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBoolRuleProto2) String() string { @@ -1294,7 +1242,7 @@ func (*PredefinedWrappedBoolRuleProto2) ProtoMessage() {} func (x *PredefinedWrappedBoolRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1326,11 +1274,9 @@ type PredefinedWrappedStringRuleProto2 struct { func (x *PredefinedWrappedStringRuleProto2) Reset() { *x = PredefinedWrappedStringRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedStringRuleProto2) String() string { @@ -1341,7 +1287,7 @@ func (*PredefinedWrappedStringRuleProto2) ProtoMessage() {} func (x *PredefinedWrappedStringRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1373,11 +1319,9 @@ type PredefinedWrappedBytesRuleProto2 struct { func (x *PredefinedWrappedBytesRuleProto2) Reset() { *x = PredefinedWrappedBytesRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBytesRuleProto2) String() string { @@ -1388,7 +1332,7 @@ func (*PredefinedWrappedBytesRuleProto2) ProtoMessage() {} func (x *PredefinedWrappedBytesRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1420,11 +1364,9 @@ type PredefinedRepeatedWrappedFloatRuleProto2 struct { func (x *PredefinedRepeatedWrappedFloatRuleProto2) Reset() { *x = PredefinedRepeatedWrappedFloatRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedFloatRuleProto2) String() string { @@ -1435,7 +1377,7 @@ func (*PredefinedRepeatedWrappedFloatRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedFloatRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1467,11 +1409,9 @@ type PredefinedRepeatedWrappedDoubleRuleProto2 struct { func (x *PredefinedRepeatedWrappedDoubleRuleProto2) Reset() { *x = PredefinedRepeatedWrappedDoubleRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedDoubleRuleProto2) String() string { @@ -1482,7 +1422,7 @@ func (*PredefinedRepeatedWrappedDoubleRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedDoubleRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1514,11 +1454,9 @@ type PredefinedRepeatedWrappedInt32RuleProto2 struct { func (x *PredefinedRepeatedWrappedInt32RuleProto2) Reset() { *x = PredefinedRepeatedWrappedInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt32RuleProto2) String() string { @@ -1529,7 +1467,7 @@ func (*PredefinedRepeatedWrappedInt32RuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1561,11 +1499,9 @@ type PredefinedRepeatedWrappedInt64RuleProto2 struct { func (x *PredefinedRepeatedWrappedInt64RuleProto2) Reset() { *x = PredefinedRepeatedWrappedInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt64RuleProto2) String() string { @@ -1576,7 +1512,7 @@ func (*PredefinedRepeatedWrappedInt64RuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1608,11 +1544,9 @@ type PredefinedRepeatedWrappedUInt32RuleProto2 struct { func (x *PredefinedRepeatedWrappedUInt32RuleProto2) Reset() { *x = PredefinedRepeatedWrappedUInt32RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt32RuleProto2) String() string { @@ -1623,7 +1557,7 @@ func (*PredefinedRepeatedWrappedUInt32RuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt32RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1655,11 +1589,9 @@ type PredefinedRepeatedWrappedUInt64RuleProto2 struct { func (x *PredefinedRepeatedWrappedUInt64RuleProto2) Reset() { *x = PredefinedRepeatedWrappedUInt64RuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt64RuleProto2) String() string { @@ -1670,7 +1602,7 @@ func (*PredefinedRepeatedWrappedUInt64RuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt64RuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1702,11 +1634,9 @@ type PredefinedRepeatedWrappedBoolRuleProto2 struct { func (x *PredefinedRepeatedWrappedBoolRuleProto2) Reset() { *x = PredefinedRepeatedWrappedBoolRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBoolRuleProto2) String() string { @@ -1717,7 +1647,7 @@ func (*PredefinedRepeatedWrappedBoolRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBoolRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1749,11 +1679,9 @@ type PredefinedRepeatedWrappedStringRuleProto2 struct { func (x *PredefinedRepeatedWrappedStringRuleProto2) Reset() { *x = PredefinedRepeatedWrappedStringRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedStringRuleProto2) String() string { @@ -1764,7 +1692,7 @@ func (*PredefinedRepeatedWrappedStringRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedStringRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1796,11 +1724,9 @@ type PredefinedRepeatedWrappedBytesRuleProto2 struct { func (x *PredefinedRepeatedWrappedBytesRuleProto2) Reset() { *x = PredefinedRepeatedWrappedBytesRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBytesRuleProto2) String() string { @@ -1811,7 +1737,7 @@ func (*PredefinedRepeatedWrappedBytesRuleProto2) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBytesRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1844,11 +1770,9 @@ type PredefinedAndCustomRuleProto2 struct { func (x *PredefinedAndCustomRuleProto2) Reset() { *x = PredefinedAndCustomRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleProto2) String() string { @@ -1859,7 +1783,7 @@ func (*PredefinedAndCustomRuleProto2) ProtoMessage() {} func (x *PredefinedAndCustomRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1898,11 +1822,9 @@ type StandardPredefinedAndCustomRuleProto2 struct { func (x *StandardPredefinedAndCustomRuleProto2) Reset() { *x = StandardPredefinedAndCustomRuleProto2{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StandardPredefinedAndCustomRuleProto2) String() string { @@ -1913,7 +1835,7 @@ func (*StandardPredefinedAndCustomRuleProto2) ProtoMessage() {} func (x *StandardPredefinedAndCustomRuleProto2) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1945,11 +1867,9 @@ type PredefinedAndCustomRuleProto2_Nested struct { func (x *PredefinedAndCustomRuleProto2_Nested) Reset() { *x = PredefinedAndCustomRuleProto2_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleProto2_Nested) String() string { @@ -1960,7 +1880,7 @@ func (*PredefinedAndCustomRuleProto2_Nested) ProtoMessage() {} func (x *PredefinedAndCustomRuleProto2_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2750,7 +2670,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZ var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 40) -var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = []any{ (PredefinedEnumRuleProto2_EnumProto2)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto2.EnumProto2 (*PredefinedFloatRuleProto2)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleProto2 (*PredefinedDoubleRuleProto2)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleProto2 @@ -2878,488 +2798,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { if File_buf_validate_conformance_cases_predefined_rules_proto2_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFloatRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDoubleRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBoolRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedStringRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBytesRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedEnumRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDurationRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedTimestampRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedFloatRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedDoubleRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBoolRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedStringRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBytesRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedFloatRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedDoubleRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt32RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt64RuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBoolRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedStringRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBytesRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StandardPredefinedAndCustomRuleProto2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleProto2_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/gen/buf/validate/conformance/cases/predefined_rules_proto3.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3.pb.go index 9978b58..b9151ee 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto3.proto @@ -94,11 +94,9 @@ type PredefinedFloatRuleProto3 struct { func (x *PredefinedFloatRuleProto3) Reset() { *x = PredefinedFloatRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFloatRuleProto3) String() string { @@ -109,7 +107,7 @@ func (*PredefinedFloatRuleProto3) ProtoMessage() {} func (x *PredefinedFloatRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_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) @@ -141,11 +139,9 @@ type PredefinedDoubleRuleProto3 struct { func (x *PredefinedDoubleRuleProto3) Reset() { *x = PredefinedDoubleRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDoubleRuleProto3) String() string { @@ -156,7 +152,7 @@ func (*PredefinedDoubleRuleProto3) ProtoMessage() {} func (x *PredefinedDoubleRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_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) @@ -188,11 +184,9 @@ type PredefinedInt32RuleProto3 struct { func (x *PredefinedInt32RuleProto3) Reset() { *x = PredefinedInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt32RuleProto3) String() string { @@ -203,7 +197,7 @@ func (*PredefinedInt32RuleProto3) ProtoMessage() {} func (x *PredefinedInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_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) @@ -235,11 +229,9 @@ type PredefinedInt64RuleProto3 struct { func (x *PredefinedInt64RuleProto3) Reset() { *x = PredefinedInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt64RuleProto3) String() string { @@ -250,7 +242,7 @@ func (*PredefinedInt64RuleProto3) ProtoMessage() {} func (x *PredefinedInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -282,11 +274,9 @@ type PredefinedUInt32RuleProto3 struct { func (x *PredefinedUInt32RuleProto3) Reset() { *x = PredefinedUInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt32RuleProto3) String() string { @@ -297,7 +287,7 @@ func (*PredefinedUInt32RuleProto3) ProtoMessage() {} func (x *PredefinedUInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -329,11 +319,9 @@ type PredefinedUInt64RuleProto3 struct { func (x *PredefinedUInt64RuleProto3) Reset() { *x = PredefinedUInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt64RuleProto3) String() string { @@ -344,7 +332,7 @@ func (*PredefinedUInt64RuleProto3) ProtoMessage() {} func (x *PredefinedUInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,11 +364,9 @@ type PredefinedSInt32RuleProto3 struct { func (x *PredefinedSInt32RuleProto3) Reset() { *x = PredefinedSInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt32RuleProto3) String() string { @@ -391,7 +377,7 @@ func (*PredefinedSInt32RuleProto3) ProtoMessage() {} func (x *PredefinedSInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,11 +409,9 @@ type PredefinedSInt64RuleProto3 struct { func (x *PredefinedSInt64RuleProto3) Reset() { *x = PredefinedSInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt64RuleProto3) String() string { @@ -438,7 +422,7 @@ func (*PredefinedSInt64RuleProto3) ProtoMessage() {} func (x *PredefinedSInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,11 +454,9 @@ type PredefinedFixed32RuleProto3 struct { func (x *PredefinedFixed32RuleProto3) Reset() { *x = PredefinedFixed32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed32RuleProto3) String() string { @@ -485,7 +467,7 @@ func (*PredefinedFixed32RuleProto3) ProtoMessage() {} func (x *PredefinedFixed32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -517,11 +499,9 @@ type PredefinedFixed64RuleProto3 struct { func (x *PredefinedFixed64RuleProto3) Reset() { *x = PredefinedFixed64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed64RuleProto3) String() string { @@ -532,7 +512,7 @@ func (*PredefinedFixed64RuleProto3) ProtoMessage() {} func (x *PredefinedFixed64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_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) @@ -564,11 +544,9 @@ type PredefinedSFixed32RuleProto3 struct { func (x *PredefinedSFixed32RuleProto3) Reset() { *x = PredefinedSFixed32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed32RuleProto3) String() string { @@ -579,7 +557,7 @@ func (*PredefinedSFixed32RuleProto3) ProtoMessage() {} func (x *PredefinedSFixed32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -611,11 +589,9 @@ type PredefinedSFixed64RuleProto3 struct { func (x *PredefinedSFixed64RuleProto3) Reset() { *x = PredefinedSFixed64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed64RuleProto3) String() string { @@ -626,7 +602,7 @@ func (*PredefinedSFixed64RuleProto3) ProtoMessage() {} func (x *PredefinedSFixed64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,11 +634,9 @@ type PredefinedBoolRuleProto3 struct { func (x *PredefinedBoolRuleProto3) Reset() { *x = PredefinedBoolRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBoolRuleProto3) String() string { @@ -673,7 +647,7 @@ func (*PredefinedBoolRuleProto3) ProtoMessage() {} func (x *PredefinedBoolRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -705,11 +679,9 @@ type PredefinedStringRuleProto3 struct { func (x *PredefinedStringRuleProto3) Reset() { *x = PredefinedStringRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedStringRuleProto3) String() string { @@ -720,7 +692,7 @@ func (*PredefinedStringRuleProto3) ProtoMessage() {} func (x *PredefinedStringRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,11 +724,9 @@ type PredefinedBytesRuleProto3 struct { func (x *PredefinedBytesRuleProto3) Reset() { *x = PredefinedBytesRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBytesRuleProto3) String() string { @@ -767,7 +737,7 @@ func (*PredefinedBytesRuleProto3) ProtoMessage() {} func (x *PredefinedBytesRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -799,11 +769,9 @@ type PredefinedEnumRuleProto3 struct { func (x *PredefinedEnumRuleProto3) Reset() { *x = PredefinedEnumRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedEnumRuleProto3) String() string { @@ -814,7 +782,7 @@ func (*PredefinedEnumRuleProto3) ProtoMessage() {} func (x *PredefinedEnumRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,11 +814,9 @@ type PredefinedMapRuleProto3 struct { func (x *PredefinedMapRuleProto3) Reset() { *x = PredefinedMapRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedMapRuleProto3) String() string { @@ -861,7 +827,7 @@ func (*PredefinedMapRuleProto3) ProtoMessage() {} func (x *PredefinedMapRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -893,11 +859,9 @@ type PredefinedRepeatedRuleProto3 struct { func (x *PredefinedRepeatedRuleProto3) Reset() { *x = PredefinedRepeatedRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedRuleProto3) String() string { @@ -908,7 +872,7 @@ func (*PredefinedRepeatedRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -940,11 +904,9 @@ type PredefinedDurationRuleProto3 struct { func (x *PredefinedDurationRuleProto3) Reset() { *x = PredefinedDurationRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDurationRuleProto3) String() string { @@ -955,7 +917,7 @@ func (*PredefinedDurationRuleProto3) ProtoMessage() {} func (x *PredefinedDurationRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -987,11 +949,9 @@ type PredefinedTimestampRuleProto3 struct { func (x *PredefinedTimestampRuleProto3) Reset() { *x = PredefinedTimestampRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedTimestampRuleProto3) String() string { @@ -1002,7 +962,7 @@ func (*PredefinedTimestampRuleProto3) ProtoMessage() {} func (x *PredefinedTimestampRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1034,11 +994,9 @@ type PredefinedWrappedFloatRuleProto3 struct { func (x *PredefinedWrappedFloatRuleProto3) Reset() { *x = PredefinedWrappedFloatRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedFloatRuleProto3) String() string { @@ -1049,7 +1007,7 @@ func (*PredefinedWrappedFloatRuleProto3) ProtoMessage() {} func (x *PredefinedWrappedFloatRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1081,11 +1039,9 @@ type PredefinedWrappedDoubleRuleProto3 struct { func (x *PredefinedWrappedDoubleRuleProto3) Reset() { *x = PredefinedWrappedDoubleRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedDoubleRuleProto3) String() string { @@ -1096,7 +1052,7 @@ func (*PredefinedWrappedDoubleRuleProto3) ProtoMessage() {} func (x *PredefinedWrappedDoubleRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1128,11 +1084,9 @@ type PredefinedWrappedInt32RuleProto3 struct { func (x *PredefinedWrappedInt32RuleProto3) Reset() { *x = PredefinedWrappedInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt32RuleProto3) String() string { @@ -1143,7 +1097,7 @@ func (*PredefinedWrappedInt32RuleProto3) ProtoMessage() {} func (x *PredefinedWrappedInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1175,11 +1129,9 @@ type PredefinedWrappedInt64RuleProto3 struct { func (x *PredefinedWrappedInt64RuleProto3) Reset() { *x = PredefinedWrappedInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt64RuleProto3) String() string { @@ -1190,7 +1142,7 @@ func (*PredefinedWrappedInt64RuleProto3) ProtoMessage() {} func (x *PredefinedWrappedInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1222,11 +1174,9 @@ type PredefinedWrappedUInt32RuleProto3 struct { func (x *PredefinedWrappedUInt32RuleProto3) Reset() { *x = PredefinedWrappedUInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt32RuleProto3) String() string { @@ -1237,7 +1187,7 @@ func (*PredefinedWrappedUInt32RuleProto3) ProtoMessage() {} func (x *PredefinedWrappedUInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1269,11 +1219,9 @@ type PredefinedWrappedUInt64RuleProto3 struct { func (x *PredefinedWrappedUInt64RuleProto3) Reset() { *x = PredefinedWrappedUInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt64RuleProto3) String() string { @@ -1284,7 +1232,7 @@ func (*PredefinedWrappedUInt64RuleProto3) ProtoMessage() {} func (x *PredefinedWrappedUInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1316,11 +1264,9 @@ type PredefinedWrappedBoolRuleProto3 struct { func (x *PredefinedWrappedBoolRuleProto3) Reset() { *x = PredefinedWrappedBoolRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBoolRuleProto3) String() string { @@ -1331,7 +1277,7 @@ func (*PredefinedWrappedBoolRuleProto3) ProtoMessage() {} func (x *PredefinedWrappedBoolRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1363,11 +1309,9 @@ type PredefinedWrappedStringRuleProto3 struct { func (x *PredefinedWrappedStringRuleProto3) Reset() { *x = PredefinedWrappedStringRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedStringRuleProto3) String() string { @@ -1378,7 +1322,7 @@ func (*PredefinedWrappedStringRuleProto3) ProtoMessage() {} func (x *PredefinedWrappedStringRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1410,11 +1354,9 @@ type PredefinedWrappedBytesRuleProto3 struct { func (x *PredefinedWrappedBytesRuleProto3) Reset() { *x = PredefinedWrappedBytesRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBytesRuleProto3) String() string { @@ -1425,7 +1367,7 @@ func (*PredefinedWrappedBytesRuleProto3) ProtoMessage() {} func (x *PredefinedWrappedBytesRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1457,11 +1399,9 @@ type PredefinedRepeatedWrappedFloatRuleProto3 struct { func (x *PredefinedRepeatedWrappedFloatRuleProto3) Reset() { *x = PredefinedRepeatedWrappedFloatRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedFloatRuleProto3) String() string { @@ -1472,7 +1412,7 @@ func (*PredefinedRepeatedWrappedFloatRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedFloatRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1504,11 +1444,9 @@ type PredefinedRepeatedWrappedDoubleRuleProto3 struct { func (x *PredefinedRepeatedWrappedDoubleRuleProto3) Reset() { *x = PredefinedRepeatedWrappedDoubleRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedDoubleRuleProto3) String() string { @@ -1519,7 +1457,7 @@ func (*PredefinedRepeatedWrappedDoubleRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedDoubleRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1551,11 +1489,9 @@ type PredefinedRepeatedWrappedInt32RuleProto3 struct { func (x *PredefinedRepeatedWrappedInt32RuleProto3) Reset() { *x = PredefinedRepeatedWrappedInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt32RuleProto3) String() string { @@ -1566,7 +1502,7 @@ func (*PredefinedRepeatedWrappedInt32RuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1598,11 +1534,9 @@ type PredefinedRepeatedWrappedInt64RuleProto3 struct { func (x *PredefinedRepeatedWrappedInt64RuleProto3) Reset() { *x = PredefinedRepeatedWrappedInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt64RuleProto3) String() string { @@ -1613,7 +1547,7 @@ func (*PredefinedRepeatedWrappedInt64RuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1645,11 +1579,9 @@ type PredefinedRepeatedWrappedUInt32RuleProto3 struct { func (x *PredefinedRepeatedWrappedUInt32RuleProto3) Reset() { *x = PredefinedRepeatedWrappedUInt32RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt32RuleProto3) String() string { @@ -1660,7 +1592,7 @@ func (*PredefinedRepeatedWrappedUInt32RuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt32RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1692,11 +1624,9 @@ type PredefinedRepeatedWrappedUInt64RuleProto3 struct { func (x *PredefinedRepeatedWrappedUInt64RuleProto3) Reset() { *x = PredefinedRepeatedWrappedUInt64RuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt64RuleProto3) String() string { @@ -1707,7 +1637,7 @@ func (*PredefinedRepeatedWrappedUInt64RuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt64RuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1739,11 +1669,9 @@ type PredefinedRepeatedWrappedBoolRuleProto3 struct { func (x *PredefinedRepeatedWrappedBoolRuleProto3) Reset() { *x = PredefinedRepeatedWrappedBoolRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBoolRuleProto3) String() string { @@ -1754,7 +1682,7 @@ func (*PredefinedRepeatedWrappedBoolRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBoolRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1786,11 +1714,9 @@ type PredefinedRepeatedWrappedStringRuleProto3 struct { func (x *PredefinedRepeatedWrappedStringRuleProto3) Reset() { *x = PredefinedRepeatedWrappedStringRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedStringRuleProto3) String() string { @@ -1801,7 +1727,7 @@ func (*PredefinedRepeatedWrappedStringRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedStringRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1833,11 +1759,9 @@ type PredefinedRepeatedWrappedBytesRuleProto3 struct { func (x *PredefinedRepeatedWrappedBytesRuleProto3) Reset() { *x = PredefinedRepeatedWrappedBytesRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBytesRuleProto3) String() string { @@ -1848,7 +1772,7 @@ func (*PredefinedRepeatedWrappedBytesRuleProto3) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBytesRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1881,11 +1805,9 @@ type PredefinedAndCustomRuleProto3 struct { func (x *PredefinedAndCustomRuleProto3) Reset() { *x = PredefinedAndCustomRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleProto3) String() string { @@ -1896,7 +1818,7 @@ func (*PredefinedAndCustomRuleProto3) ProtoMessage() {} func (x *PredefinedAndCustomRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1935,11 +1857,9 @@ type StandardPredefinedAndCustomRuleProto3 struct { func (x *StandardPredefinedAndCustomRuleProto3) Reset() { *x = StandardPredefinedAndCustomRuleProto3{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StandardPredefinedAndCustomRuleProto3) String() string { @@ -1950,7 +1870,7 @@ func (*StandardPredefinedAndCustomRuleProto3) ProtoMessage() {} func (x *StandardPredefinedAndCustomRuleProto3) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1985,11 +1905,9 @@ type PredefinedRulesProto3UnusedImportBugWorkaround struct { func (x *PredefinedRulesProto3UnusedImportBugWorkaround) Reset() { *x = PredefinedRulesProto3UnusedImportBugWorkaround{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRulesProto3UnusedImportBugWorkaround) String() string { @@ -2000,7 +1918,7 @@ func (*PredefinedRulesProto3UnusedImportBugWorkaround) ProtoMessage() {} func (x *PredefinedRulesProto3UnusedImportBugWorkaround) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2039,11 +1957,9 @@ type PredefinedAndCustomRuleProto3_Nested struct { func (x *PredefinedAndCustomRuleProto3_Nested) Reset() { *x = PredefinedAndCustomRuleProto3_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleProto3_Nested) String() string { @@ -2054,7 +1970,7 @@ func (*PredefinedAndCustomRuleProto3_Nested) ProtoMessage() {} func (x *PredefinedAndCustomRuleProto3_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2403,7 +2319,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZ var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 43) -var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = []any{ (PredefinedEnumRuleProto3_EnumProto3)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto3.EnumProto3 (*PredefinedFloatRuleProto3)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleProto3 (*PredefinedDoubleRuleProto3)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleProto3 @@ -2502,513 +2418,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { } file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_init() - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFloatRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDoubleRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBoolRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedStringRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBytesRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedEnumRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedMapRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDurationRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedTimestampRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedFloatRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedDoubleRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBoolRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedStringRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBytesRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedFloatRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedDoubleRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt32RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt64RuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBoolRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedStringRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBytesRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StandardPredefinedAndCustomRuleProto3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRulesProto3UnusedImportBugWorkaround); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleProto3_Nested); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38].OneofWrappers = []interface{}{} + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go index dafc026..8f94eab 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto_editions.proto @@ -94,11 +94,9 @@ type PredefinedFloatRuleEdition2023 struct { func (x *PredefinedFloatRuleEdition2023) Reset() { *x = PredefinedFloatRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFloatRuleEdition2023) String() string { @@ -109,7 +107,7 @@ func (*PredefinedFloatRuleEdition2023) ProtoMessage() {} func (x *PredefinedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_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) @@ -141,11 +139,9 @@ type PredefinedDoubleRuleEdition2023 struct { func (x *PredefinedDoubleRuleEdition2023) Reset() { *x = PredefinedDoubleRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDoubleRuleEdition2023) String() string { @@ -156,7 +152,7 @@ func (*PredefinedDoubleRuleEdition2023) ProtoMessage() {} func (x *PredefinedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_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) @@ -188,11 +184,9 @@ type PredefinedInt32RuleEdition2023 struct { func (x *PredefinedInt32RuleEdition2023) Reset() { *x = PredefinedInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt32RuleEdition2023) String() string { @@ -203,7 +197,7 @@ func (*PredefinedInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_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) @@ -235,11 +229,9 @@ type PredefinedInt64RuleEdition2023 struct { func (x *PredefinedInt64RuleEdition2023) Reset() { *x = PredefinedInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedInt64RuleEdition2023) String() string { @@ -250,7 +242,7 @@ func (*PredefinedInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -282,11 +274,9 @@ type PredefinedUInt32RuleEdition2023 struct { func (x *PredefinedUInt32RuleEdition2023) Reset() { *x = PredefinedUInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt32RuleEdition2023) String() string { @@ -297,7 +287,7 @@ func (*PredefinedUInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -329,11 +319,9 @@ type PredefinedUInt64RuleEdition2023 struct { func (x *PredefinedUInt64RuleEdition2023) Reset() { *x = PredefinedUInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedUInt64RuleEdition2023) String() string { @@ -344,7 +332,7 @@ func (*PredefinedUInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,11 +364,9 @@ type PredefinedSInt32RuleEdition2023 struct { func (x *PredefinedSInt32RuleEdition2023) Reset() { *x = PredefinedSInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt32RuleEdition2023) String() string { @@ -391,7 +377,7 @@ func (*PredefinedSInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedSInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,11 +409,9 @@ type PredefinedSInt64RuleEdition2023 struct { func (x *PredefinedSInt64RuleEdition2023) Reset() { *x = PredefinedSInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSInt64RuleEdition2023) String() string { @@ -438,7 +422,7 @@ func (*PredefinedSInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedSInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,11 +454,9 @@ type PredefinedFixed32RuleEdition2023 struct { func (x *PredefinedFixed32RuleEdition2023) Reset() { *x = PredefinedFixed32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed32RuleEdition2023) String() string { @@ -485,7 +467,7 @@ func (*PredefinedFixed32RuleEdition2023) ProtoMessage() {} func (x *PredefinedFixed32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -517,11 +499,9 @@ type PredefinedFixed64RuleEdition2023 struct { func (x *PredefinedFixed64RuleEdition2023) Reset() { *x = PredefinedFixed64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedFixed64RuleEdition2023) String() string { @@ -532,7 +512,7 @@ func (*PredefinedFixed64RuleEdition2023) ProtoMessage() {} func (x *PredefinedFixed64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_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) @@ -564,11 +544,9 @@ type PredefinedSFixed32RuleEdition2023 struct { func (x *PredefinedSFixed32RuleEdition2023) Reset() { *x = PredefinedSFixed32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed32RuleEdition2023) String() string { @@ -579,7 +557,7 @@ func (*PredefinedSFixed32RuleEdition2023) ProtoMessage() {} func (x *PredefinedSFixed32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -611,11 +589,9 @@ type PredefinedSFixed64RuleEdition2023 struct { func (x *PredefinedSFixed64RuleEdition2023) Reset() { *x = PredefinedSFixed64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedSFixed64RuleEdition2023) String() string { @@ -626,7 +602,7 @@ func (*PredefinedSFixed64RuleEdition2023) ProtoMessage() {} func (x *PredefinedSFixed64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,11 +634,9 @@ type PredefinedBoolRuleEdition2023 struct { func (x *PredefinedBoolRuleEdition2023) Reset() { *x = PredefinedBoolRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBoolRuleEdition2023) String() string { @@ -673,7 +647,7 @@ func (*PredefinedBoolRuleEdition2023) ProtoMessage() {} func (x *PredefinedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -705,11 +679,9 @@ type PredefinedStringRuleEdition2023 struct { func (x *PredefinedStringRuleEdition2023) Reset() { *x = PredefinedStringRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedStringRuleEdition2023) String() string { @@ -720,7 +692,7 @@ func (*PredefinedStringRuleEdition2023) ProtoMessage() {} func (x *PredefinedStringRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,11 +724,9 @@ type PredefinedBytesRuleEdition2023 struct { func (x *PredefinedBytesRuleEdition2023) Reset() { *x = PredefinedBytesRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedBytesRuleEdition2023) String() string { @@ -767,7 +737,7 @@ func (*PredefinedBytesRuleEdition2023) ProtoMessage() {} func (x *PredefinedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -799,11 +769,9 @@ type PredefinedEnumRuleEdition2023 struct { func (x *PredefinedEnumRuleEdition2023) Reset() { *x = PredefinedEnumRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedEnumRuleEdition2023) String() string { @@ -814,7 +782,7 @@ func (*PredefinedEnumRuleEdition2023) ProtoMessage() {} func (x *PredefinedEnumRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,11 +814,9 @@ type PredefinedRepeatedRuleEdition2023 struct { func (x *PredefinedRepeatedRuleEdition2023) Reset() { *x = PredefinedRepeatedRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedRuleEdition2023) String() string { @@ -861,7 +827,7 @@ func (*PredefinedRepeatedRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -893,11 +859,9 @@ type PredefinedMapRuleEdition2023 struct { func (x *PredefinedMapRuleEdition2023) Reset() { *x = PredefinedMapRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedMapRuleEdition2023) String() string { @@ -908,7 +872,7 @@ func (*PredefinedMapRuleEdition2023) ProtoMessage() {} func (x *PredefinedMapRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -940,11 +904,9 @@ type PredefinedDurationRuleEdition2023 struct { func (x *PredefinedDurationRuleEdition2023) Reset() { *x = PredefinedDurationRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedDurationRuleEdition2023) String() string { @@ -955,7 +917,7 @@ func (*PredefinedDurationRuleEdition2023) ProtoMessage() {} func (x *PredefinedDurationRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -987,11 +949,9 @@ type PredefinedTimestampRuleEdition2023 struct { func (x *PredefinedTimestampRuleEdition2023) Reset() { *x = PredefinedTimestampRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedTimestampRuleEdition2023) String() string { @@ -1002,7 +962,7 @@ func (*PredefinedTimestampRuleEdition2023) ProtoMessage() {} func (x *PredefinedTimestampRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1034,11 +994,9 @@ type PredefinedWrappedFloatRuleEdition2023 struct { func (x *PredefinedWrappedFloatRuleEdition2023) Reset() { *x = PredefinedWrappedFloatRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedFloatRuleEdition2023) String() string { @@ -1049,7 +1007,7 @@ func (*PredefinedWrappedFloatRuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1081,11 +1039,9 @@ type PredefinedWrappedDoubleRuleEdition2023 struct { func (x *PredefinedWrappedDoubleRuleEdition2023) Reset() { *x = PredefinedWrappedDoubleRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedDoubleRuleEdition2023) String() string { @@ -1096,7 +1052,7 @@ func (*PredefinedWrappedDoubleRuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1128,11 +1084,9 @@ type PredefinedWrappedInt32RuleEdition2023 struct { func (x *PredefinedWrappedInt32RuleEdition2023) Reset() { *x = PredefinedWrappedInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt32RuleEdition2023) String() string { @@ -1143,7 +1097,7 @@ func (*PredefinedWrappedInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1175,11 +1129,9 @@ type PredefinedWrappedInt64RuleEdition2023 struct { func (x *PredefinedWrappedInt64RuleEdition2023) Reset() { *x = PredefinedWrappedInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedInt64RuleEdition2023) String() string { @@ -1190,7 +1142,7 @@ func (*PredefinedWrappedInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1222,11 +1174,9 @@ type PredefinedWrappedUInt32RuleEdition2023 struct { func (x *PredefinedWrappedUInt32RuleEdition2023) Reset() { *x = PredefinedWrappedUInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt32RuleEdition2023) String() string { @@ -1237,7 +1187,7 @@ func (*PredefinedWrappedUInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1269,11 +1219,9 @@ type PredefinedWrappedUInt64RuleEdition2023 struct { func (x *PredefinedWrappedUInt64RuleEdition2023) Reset() { *x = PredefinedWrappedUInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedUInt64RuleEdition2023) String() string { @@ -1284,7 +1232,7 @@ func (*PredefinedWrappedUInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1316,11 +1264,9 @@ type PredefinedWrappedBoolRuleEdition2023 struct { func (x *PredefinedWrappedBoolRuleEdition2023) Reset() { *x = PredefinedWrappedBoolRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBoolRuleEdition2023) String() string { @@ -1331,7 +1277,7 @@ func (*PredefinedWrappedBoolRuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1363,11 +1309,9 @@ type PredefinedWrappedStringRuleEdition2023 struct { func (x *PredefinedWrappedStringRuleEdition2023) Reset() { *x = PredefinedWrappedStringRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedStringRuleEdition2023) String() string { @@ -1378,7 +1322,7 @@ func (*PredefinedWrappedStringRuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedStringRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1410,11 +1354,9 @@ type PredefinedWrappedBytesRuleEdition2023 struct { func (x *PredefinedWrappedBytesRuleEdition2023) Reset() { *x = PredefinedWrappedBytesRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedWrappedBytesRuleEdition2023) String() string { @@ -1425,7 +1367,7 @@ func (*PredefinedWrappedBytesRuleEdition2023) ProtoMessage() {} func (x *PredefinedWrappedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1457,11 +1399,9 @@ type PredefinedRepeatedWrappedFloatRuleEdition2023 struct { func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedFloatRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) String() string { @@ -1472,7 +1412,7 @@ func (*PredefinedRepeatedWrappedFloatRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1504,11 +1444,9 @@ type PredefinedRepeatedWrappedDoubleRuleEdition2023 struct { func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedDoubleRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) String() string { @@ -1519,7 +1457,7 @@ func (*PredefinedRepeatedWrappedDoubleRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1551,11 +1489,9 @@ type PredefinedRepeatedWrappedInt32RuleEdition2023 struct { func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) String() string { @@ -1566,7 +1502,7 @@ func (*PredefinedRepeatedWrappedInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1598,11 +1534,9 @@ type PredefinedRepeatedWrappedInt64RuleEdition2023 struct { func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) String() string { @@ -1613,7 +1547,7 @@ func (*PredefinedRepeatedWrappedInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1645,11 +1579,9 @@ type PredefinedRepeatedWrappedUInt32RuleEdition2023 struct { func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedUInt32RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) String() string { @@ -1660,7 +1592,7 @@ func (*PredefinedRepeatedWrappedUInt32RuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1692,11 +1624,9 @@ type PredefinedRepeatedWrappedUInt64RuleEdition2023 struct { func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedUInt64RuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) String() string { @@ -1707,7 +1637,7 @@ func (*PredefinedRepeatedWrappedUInt64RuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1739,11 +1669,9 @@ type PredefinedRepeatedWrappedBoolRuleEdition2023 struct { func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedBoolRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) String() string { @@ -1754,7 +1682,7 @@ func (*PredefinedRepeatedWrappedBoolRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1786,11 +1714,9 @@ type PredefinedRepeatedWrappedStringRuleEdition2023 struct { func (x *PredefinedRepeatedWrappedStringRuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedStringRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedStringRuleEdition2023) String() string { @@ -1801,7 +1727,7 @@ func (*PredefinedRepeatedWrappedStringRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedStringRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1833,11 +1759,9 @@ type PredefinedRepeatedWrappedBytesRuleEdition2023 struct { func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) Reset() { *x = PredefinedRepeatedWrappedBytesRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) String() string { @@ -1848,7 +1772,7 @@ func (*PredefinedRepeatedWrappedBytesRuleEdition2023) ProtoMessage() {} func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1881,11 +1805,9 @@ type PredefinedAndCustomRuleEdition2023 struct { func (x *PredefinedAndCustomRuleEdition2023) Reset() { *x = PredefinedAndCustomRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleEdition2023) String() string { @@ -1896,7 +1818,7 @@ func (*PredefinedAndCustomRuleEdition2023) ProtoMessage() {} func (x *PredefinedAndCustomRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1935,11 +1857,9 @@ type StandardPredefinedAndCustomRuleEdition2023 struct { func (x *StandardPredefinedAndCustomRuleEdition2023) Reset() { *x = StandardPredefinedAndCustomRuleEdition2023{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StandardPredefinedAndCustomRuleEdition2023) String() string { @@ -1950,7 +1870,7 @@ func (*StandardPredefinedAndCustomRuleEdition2023) ProtoMessage() {} func (x *StandardPredefinedAndCustomRuleEdition2023) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1982,11 +1902,9 @@ type PredefinedAndCustomRuleEdition2023_Nested struct { func (x *PredefinedAndCustomRuleEdition2023_Nested) Reset() { *x = PredefinedAndCustomRuleEdition2023_Nested{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PredefinedAndCustomRuleEdition2023_Nested) String() string { @@ -1997,7 +1915,7 @@ func (*PredefinedAndCustomRuleEdition2023_Nested) ProtoMessage() {} func (x *PredefinedAndCustomRuleEdition2023_Nested) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2863,7 +2781,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_r var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 42) -var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = []any{ (PredefinedEnumRuleEdition2023_EnumEdition2023)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.EnumEdition2023 (*PredefinedFloatRuleEdition2023)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleEdition2023 (*PredefinedDoubleRuleEdition2023)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023 @@ -2996,500 +2914,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_i if File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFloatRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDoubleRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedUInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedFixed64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedSFixed64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBoolRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedStringRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedBytesRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedEnumRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedMapRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedDurationRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedTimestampRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedFloatRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedDoubleRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedUInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBoolRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedStringRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedWrappedBytesRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedFloatRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedDoubleRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt32RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedUInt64RuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBoolRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedStringRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedRepeatedWrappedBytesRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StandardPredefinedAndCustomRuleEdition2023); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PredefinedAndCustomRuleEdition2023_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/gen/buf/validate/conformance/cases/repeated.pb.go b/internal/gen/buf/validate/conformance/cases/repeated.pb.go index 47f264b..492bd70 100644 --- a/internal/gen/buf/validate/conformance/cases/repeated.pb.go +++ b/internal/gen/buf/validate/conformance/cases/repeated.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/repeated.proto @@ -195,11 +195,9 @@ type Embed struct { func (x *Embed) Reset() { *x = Embed{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Embed) String() string { @@ -210,7 +208,7 @@ func (*Embed) ProtoMessage() {} func (x *Embed) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,11 +240,9 @@ type RepeatedNone struct { func (x *RepeatedNone) Reset() { *x = RepeatedNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedNone) String() string { @@ -257,7 +253,7 @@ func (*RepeatedNone) ProtoMessage() {} func (x *RepeatedNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_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) @@ -289,11 +285,9 @@ type RepeatedEmbedNone struct { func (x *RepeatedEmbedNone) Reset() { *x = RepeatedEmbedNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEmbedNone) String() string { @@ -304,7 +298,7 @@ func (*RepeatedEmbedNone) ProtoMessage() {} func (x *RepeatedEmbedNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_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) @@ -336,11 +330,9 @@ type RepeatedEmbedCrossPackageNone struct { func (x *RepeatedEmbedCrossPackageNone) Reset() { *x = RepeatedEmbedCrossPackageNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEmbedCrossPackageNone) String() string { @@ -351,7 +343,7 @@ func (*RepeatedEmbedCrossPackageNone) ProtoMessage() {} func (x *RepeatedEmbedCrossPackageNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -383,11 +375,9 @@ type RepeatedMin struct { func (x *RepeatedMin) Reset() { *x = RepeatedMin{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMin) String() string { @@ -398,7 +388,7 @@ func (*RepeatedMin) ProtoMessage() {} func (x *RepeatedMin) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,11 +420,9 @@ type RepeatedMax struct { func (x *RepeatedMax) Reset() { *x = RepeatedMax{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMax) String() string { @@ -445,7 +433,7 @@ func (*RepeatedMax) ProtoMessage() {} func (x *RepeatedMax) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,11 +465,9 @@ type RepeatedMinMax struct { func (x *RepeatedMinMax) Reset() { *x = RepeatedMinMax{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMinMax) String() string { @@ -492,7 +478,7 @@ func (*RepeatedMinMax) ProtoMessage() {} func (x *RepeatedMinMax) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,11 +510,9 @@ type RepeatedExact struct { func (x *RepeatedExact) Reset() { *x = RepeatedExact{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedExact) String() string { @@ -539,7 +523,7 @@ func (*RepeatedExact) ProtoMessage() {} func (x *RepeatedExact) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -571,11 +555,9 @@ type RepeatedUnique struct { func (x *RepeatedUnique) Reset() { *x = RepeatedUnique{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedUnique) String() string { @@ -586,7 +568,7 @@ func (*RepeatedUnique) ProtoMessage() {} func (x *RepeatedUnique) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -618,11 +600,9 @@ type RepeatedNotUnique struct { func (x *RepeatedNotUnique) Reset() { *x = RepeatedNotUnique{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedNotUnique) String() string { @@ -633,7 +613,7 @@ func (*RepeatedNotUnique) ProtoMessage() {} func (x *RepeatedNotUnique) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_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) @@ -666,11 +646,9 @@ type RepeatedMultipleUnique struct { func (x *RepeatedMultipleUnique) Reset() { *x = RepeatedMultipleUnique{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMultipleUnique) String() string { @@ -681,7 +659,7 @@ func (*RepeatedMultipleUnique) ProtoMessage() {} func (x *RepeatedMultipleUnique) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -720,11 +698,9 @@ type RepeatedItemRule struct { func (x *RepeatedItemRule) Reset() { *x = RepeatedItemRule{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedItemRule) String() string { @@ -735,7 +711,7 @@ func (*RepeatedItemRule) ProtoMessage() {} func (x *RepeatedItemRule) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -767,11 +743,9 @@ type RepeatedItemPattern struct { func (x *RepeatedItemPattern) Reset() { *x = RepeatedItemPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedItemPattern) String() string { @@ -782,7 +756,7 @@ func (*RepeatedItemPattern) ProtoMessage() {} func (x *RepeatedItemPattern) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -814,11 +788,9 @@ type RepeatedEmbedSkip struct { func (x *RepeatedEmbedSkip) Reset() { *x = RepeatedEmbedSkip{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEmbedSkip) String() string { @@ -829,7 +801,7 @@ func (*RepeatedEmbedSkip) ProtoMessage() {} func (x *RepeatedEmbedSkip) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -861,11 +833,9 @@ type RepeatedItemIn struct { func (x *RepeatedItemIn) Reset() { *x = RepeatedItemIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedItemIn) String() string { @@ -876,7 +846,7 @@ func (*RepeatedItemIn) ProtoMessage() {} func (x *RepeatedItemIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -908,11 +878,9 @@ type RepeatedItemNotIn struct { func (x *RepeatedItemNotIn) Reset() { *x = RepeatedItemNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedItemNotIn) String() string { @@ -923,7 +891,7 @@ func (*RepeatedItemNotIn) ProtoMessage() {} func (x *RepeatedItemNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -955,11 +923,9 @@ type RepeatedEnumIn struct { func (x *RepeatedEnumIn) Reset() { *x = RepeatedEnumIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEnumIn) String() string { @@ -970,7 +936,7 @@ func (*RepeatedEnumIn) ProtoMessage() {} func (x *RepeatedEnumIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1002,11 +968,9 @@ type RepeatedEnumNotIn struct { func (x *RepeatedEnumNotIn) Reset() { *x = RepeatedEnumNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEnumNotIn) String() string { @@ -1017,7 +981,7 @@ func (*RepeatedEnumNotIn) ProtoMessage() {} func (x *RepeatedEnumNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1049,11 +1013,9 @@ type RepeatedEmbeddedEnumIn struct { func (x *RepeatedEmbeddedEnumIn) Reset() { *x = RepeatedEmbeddedEnumIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEmbeddedEnumIn) String() string { @@ -1064,7 +1026,7 @@ func (*RepeatedEmbeddedEnumIn) ProtoMessage() {} func (x *RepeatedEmbeddedEnumIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1096,11 +1058,9 @@ type RepeatedEmbeddedEnumNotIn struct { func (x *RepeatedEmbeddedEnumNotIn) Reset() { *x = RepeatedEmbeddedEnumNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedEmbeddedEnumNotIn) String() string { @@ -1111,7 +1071,7 @@ func (*RepeatedEmbeddedEnumNotIn) ProtoMessage() {} func (x *RepeatedEmbeddedEnumNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1143,11 +1103,9 @@ type RepeatedAnyIn struct { func (x *RepeatedAnyIn) Reset() { *x = RepeatedAnyIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedAnyIn) String() string { @@ -1158,7 +1116,7 @@ func (*RepeatedAnyIn) ProtoMessage() {} func (x *RepeatedAnyIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1190,11 +1148,9 @@ type RepeatedAnyNotIn struct { func (x *RepeatedAnyNotIn) Reset() { *x = RepeatedAnyNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedAnyNotIn) String() string { @@ -1205,7 +1161,7 @@ func (*RepeatedAnyNotIn) ProtoMessage() {} func (x *RepeatedAnyNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1237,11 +1193,9 @@ type RepeatedMinAndItemLen struct { func (x *RepeatedMinAndItemLen) Reset() { *x = RepeatedMinAndItemLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMinAndItemLen) String() string { @@ -1252,7 +1206,7 @@ func (*RepeatedMinAndItemLen) ProtoMessage() {} func (x *RepeatedMinAndItemLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1284,11 +1238,9 @@ type RepeatedMinAndMaxItemLen struct { func (x *RepeatedMinAndMaxItemLen) Reset() { *x = RepeatedMinAndMaxItemLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedMinAndMaxItemLen) String() string { @@ -1299,7 +1251,7 @@ func (*RepeatedMinAndMaxItemLen) ProtoMessage() {} func (x *RepeatedMinAndMaxItemLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1331,11 +1283,9 @@ type RepeatedDuration struct { func (x *RepeatedDuration) Reset() { *x = RepeatedDuration{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedDuration) String() string { @@ -1346,7 +1296,7 @@ func (*RepeatedDuration) ProtoMessage() {} func (x *RepeatedDuration) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1378,11 +1328,9 @@ type RepeatedExactIgnore struct { func (x *RepeatedExactIgnore) Reset() { *x = RepeatedExactIgnore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedExactIgnore) String() string { @@ -1393,7 +1341,7 @@ func (*RepeatedExactIgnore) ProtoMessage() {} func (x *RepeatedExactIgnore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1605,7 +1553,7 @@ func file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP() []byte { var file_buf_validate_conformance_cases_repeated_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_buf_validate_conformance_cases_repeated_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_buf_validate_conformance_cases_repeated_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_repeated_proto_goTypes = []any{ (AnEnum)(0), // 0: buf.validate.conformance.cases.AnEnum (RepeatedEmbeddedEnumIn_AnotherInEnum)(0), // 1: buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnum (RepeatedEmbeddedEnumNotIn_AnotherNotInEnum)(0), // 2: buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnum @@ -1663,320 +1611,6 @@ func file_buf_validate_conformance_cases_repeated_proto_init() { if File_buf_validate_conformance_cases_repeated_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_repeated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Embed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEmbedNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEmbedCrossPackageNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMax); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMinMax); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedExact); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedUnique); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedNotUnique); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMultipleUnique); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedItemRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedItemPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEmbedSkip); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedItemIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedItemNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEnumIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEnumNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEmbeddedEnumIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedEmbeddedEnumNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedAnyIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedAnyNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMinAndItemLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedMinAndMaxItemLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedDuration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_repeated_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedExactIgnore); 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/gen/buf/validate/conformance/cases/required_field_proto2.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto2.pb.go index 982544d..9383ab9 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto2.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto2.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto2.proto @@ -45,11 +45,9 @@ type RequiredProto2ScalarOptional struct { func (x *RequiredProto2ScalarOptional) Reset() { *x = RequiredProto2ScalarOptional{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2ScalarOptional) String() string { @@ -60,7 +58,7 @@ func (*RequiredProto2ScalarOptional) ProtoMessage() {} func (x *RequiredProto2ScalarOptional) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_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) @@ -97,11 +95,9 @@ const ( func (x *RequiredProto2ScalarOptionalDefault) Reset() { *x = RequiredProto2ScalarOptionalDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2ScalarOptionalDefault) String() string { @@ -112,7 +108,7 @@ func (*RequiredProto2ScalarOptionalDefault) ProtoMessage() {} func (x *RequiredProto2ScalarOptionalDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_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) @@ -144,11 +140,9 @@ type RequiredProto2ScalarRequired struct { func (x *RequiredProto2ScalarRequired) Reset() { *x = RequiredProto2ScalarRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2ScalarRequired) String() string { @@ -159,7 +153,7 @@ func (*RequiredProto2ScalarRequired) ProtoMessage() {} func (x *RequiredProto2ScalarRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_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) @@ -191,11 +185,9 @@ type RequiredProto2Message struct { func (x *RequiredProto2Message) Reset() { *x = RequiredProto2Message{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2Message) String() string { @@ -206,7 +198,7 @@ func (*RequiredProto2Message) ProtoMessage() {} func (x *RequiredProto2Message) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,11 +234,9 @@ type RequiredProto2Oneof struct { func (x *RequiredProto2Oneof) Reset() { *x = RequiredProto2Oneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2Oneof) String() string { @@ -257,7 +247,7 @@ func (*RequiredProto2Oneof) ProtoMessage() {} func (x *RequiredProto2Oneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -319,11 +309,9 @@ type RequiredProto2Repeated struct { func (x *RequiredProto2Repeated) Reset() { *x = RequiredProto2Repeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2Repeated) String() string { @@ -334,7 +322,7 @@ func (*RequiredProto2Repeated) ProtoMessage() {} func (x *RequiredProto2Repeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -366,11 +354,9 @@ type RequiredProto2Map struct { func (x *RequiredProto2Map) Reset() { *x = RequiredProto2Map{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2Map) String() string { @@ -381,7 +367,7 @@ func (*RequiredProto2Map) ProtoMessage() {} func (x *RequiredProto2Map) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,11 +399,9 @@ type RequiredProto2Message_Msg struct { func (x *RequiredProto2Message_Msg) Reset() { *x = RequiredProto2Message_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto2Message_Msg) String() string { @@ -428,7 +412,7 @@ func (*RequiredProto2Message_Msg) ProtoMessage() {} func (x *RequiredProto2Message_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -533,7 +517,7 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP } var file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = []any{ (*RequiredProto2ScalarOptional)(nil), // 0: buf.validate.conformance.cases.RequiredProto2ScalarOptional (*RequiredProto2ScalarOptionalDefault)(nil), // 1: buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault (*RequiredProto2ScalarRequired)(nil), // 2: buf.validate.conformance.cases.RequiredProto2ScalarRequired @@ -559,105 +543,7 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { if File_buf_validate_conformance_cases_required_field_proto2_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2ScalarOptional); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2ScalarOptionalDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2ScalarRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2Oneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2Repeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2Map); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto2Message_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4].OneofWrappers = []any{ (*RequiredProto2Oneof_A)(nil), (*RequiredProto2Oneof_B)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/required_field_proto3.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto3.pb.go index 18df119..d88dc64 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto3.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto3.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto3.proto @@ -45,11 +45,9 @@ type RequiredProto3Scalar struct { func (x *RequiredProto3Scalar) Reset() { *x = RequiredProto3Scalar{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3Scalar) String() string { @@ -60,7 +58,7 @@ func (*RequiredProto3Scalar) ProtoMessage() {} func (x *RequiredProto3Scalar) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_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) @@ -92,11 +90,9 @@ type RequiredProto3OptionalScalar struct { func (x *RequiredProto3OptionalScalar) Reset() { *x = RequiredProto3OptionalScalar{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3OptionalScalar) String() string { @@ -107,7 +103,7 @@ func (*RequiredProto3OptionalScalar) ProtoMessage() {} func (x *RequiredProto3OptionalScalar) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type RequiredProto3Message struct { func (x *RequiredProto3Message) Reset() { *x = RequiredProto3Message{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3Message) String() string { @@ -154,7 +148,7 @@ func (*RequiredProto3Message) ProtoMessage() {} func (x *RequiredProto3Message) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_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) @@ -190,11 +184,9 @@ type RequiredProto3OneOf struct { func (x *RequiredProto3OneOf) Reset() { *x = RequiredProto3OneOf{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3OneOf) String() string { @@ -205,7 +197,7 @@ func (*RequiredProto3OneOf) ProtoMessage() {} func (x *RequiredProto3OneOf) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -267,11 +259,9 @@ type RequiredProto3Repeated struct { func (x *RequiredProto3Repeated) Reset() { *x = RequiredProto3Repeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3Repeated) String() string { @@ -282,7 +272,7 @@ func (*RequiredProto3Repeated) ProtoMessage() {} func (x *RequiredProto3Repeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,11 +304,9 @@ type RequiredProto3Map struct { func (x *RequiredProto3Map) Reset() { *x = RequiredProto3Map{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3Map) String() string { @@ -329,7 +317,7 @@ func (*RequiredProto3Map) ProtoMessage() {} func (x *RequiredProto3Map) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,11 +349,9 @@ type RequiredProto3Message_Msg struct { func (x *RequiredProto3Message_Msg) Reset() { *x = RequiredProto3Message_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredProto3Message_Msg) String() string { @@ -376,7 +362,7 @@ func (*RequiredProto3Message_Msg) ProtoMessage() {} func (x *RequiredProto3Message_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,7 +463,7 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP } var file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = []any{ (*RequiredProto3Scalar)(nil), // 0: buf.validate.conformance.cases.RequiredProto3Scalar (*RequiredProto3OptionalScalar)(nil), // 1: buf.validate.conformance.cases.RequiredProto3OptionalScalar (*RequiredProto3Message)(nil), // 2: buf.validate.conformance.cases.RequiredProto3Message @@ -502,94 +488,8 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { if File_buf_validate_conformance_cases_required_field_proto3_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3Scalar); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3OptionalScalar); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3OneOf); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3Repeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3Map); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredProto3Message_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1].OneofWrappers = []any{} + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3].OneofWrappers = []any{ (*RequiredProto3OneOf_A)(nil), (*RequiredProto3OneOf_B)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/required_field_proto_editions.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto_editions.pb.go index 04f94f9..4241a85 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto_editions.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto_editions.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto_editions.proto @@ -45,11 +45,9 @@ type RequiredEditionsScalarExplicitPresence struct { func (x *RequiredEditionsScalarExplicitPresence) Reset() { *x = RequiredEditionsScalarExplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsScalarExplicitPresence) String() string { @@ -60,7 +58,7 @@ func (*RequiredEditionsScalarExplicitPresence) ProtoMessage() {} func (x *RequiredEditionsScalarExplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_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) @@ -97,11 +95,9 @@ const ( func (x *RequiredEditionsScalarExplicitPresenceDefault) Reset() { *x = RequiredEditionsScalarExplicitPresenceDefault{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsScalarExplicitPresenceDefault) String() string { @@ -112,7 +108,7 @@ func (*RequiredEditionsScalarExplicitPresenceDefault) ProtoMessage() {} func (x *RequiredEditionsScalarExplicitPresenceDefault) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_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) @@ -144,11 +140,9 @@ type RequiredEditionsScalarImplicitPresence struct { func (x *RequiredEditionsScalarImplicitPresence) Reset() { *x = RequiredEditionsScalarImplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsScalarImplicitPresence) String() string { @@ -159,7 +153,7 @@ func (*RequiredEditionsScalarImplicitPresence) ProtoMessage() {} func (x *RequiredEditionsScalarImplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_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) @@ -191,11 +185,9 @@ type RequiredEditionsScalarLegacyRequired struct { func (x *RequiredEditionsScalarLegacyRequired) Reset() { *x = RequiredEditionsScalarLegacyRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsScalarLegacyRequired) String() string { @@ -206,7 +198,7 @@ func (*RequiredEditionsScalarLegacyRequired) ProtoMessage() {} func (x *RequiredEditionsScalarLegacyRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,11 +230,9 @@ type RequiredEditionsMessageExplicitPresence struct { func (x *RequiredEditionsMessageExplicitPresence) Reset() { *x = RequiredEditionsMessageExplicitPresence{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageExplicitPresence) String() string { @@ -253,7 +243,7 @@ func (*RequiredEditionsMessageExplicitPresence) ProtoMessage() {} func (x *RequiredEditionsMessageExplicitPresence) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -285,11 +275,9 @@ type RequiredEditionsMessageExplicitPresenceDelimited struct { func (x *RequiredEditionsMessageExplicitPresenceDelimited) Reset() { *x = RequiredEditionsMessageExplicitPresenceDelimited{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageExplicitPresenceDelimited) String() string { @@ -300,7 +288,7 @@ func (*RequiredEditionsMessageExplicitPresenceDelimited) ProtoMessage() {} func (x *RequiredEditionsMessageExplicitPresenceDelimited) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -332,11 +320,9 @@ type RequiredEditionsMessageLegacyRequired struct { func (x *RequiredEditionsMessageLegacyRequired) Reset() { *x = RequiredEditionsMessageLegacyRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageLegacyRequired) String() string { @@ -347,7 +333,7 @@ func (*RequiredEditionsMessageLegacyRequired) ProtoMessage() {} func (x *RequiredEditionsMessageLegacyRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -379,11 +365,9 @@ type RequiredEditionsMessageLegacyRequiredDelimited struct { func (x *RequiredEditionsMessageLegacyRequiredDelimited) Reset() { *x = RequiredEditionsMessageLegacyRequiredDelimited{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageLegacyRequiredDelimited) String() string { @@ -394,7 +378,7 @@ func (*RequiredEditionsMessageLegacyRequiredDelimited) ProtoMessage() {} func (x *RequiredEditionsMessageLegacyRequiredDelimited) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,11 +414,9 @@ type RequiredEditionsOneof struct { func (x *RequiredEditionsOneof) Reset() { *x = RequiredEditionsOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsOneof) String() string { @@ -445,7 +427,7 @@ func (*RequiredEditionsOneof) ProtoMessage() {} func (x *RequiredEditionsOneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -507,11 +489,9 @@ type RequiredEditionsRepeated struct { func (x *RequiredEditionsRepeated) Reset() { *x = RequiredEditionsRepeated{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsRepeated) String() string { @@ -522,7 +502,7 @@ func (*RequiredEditionsRepeated) ProtoMessage() {} func (x *RequiredEditionsRepeated) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_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) @@ -554,11 +534,9 @@ type RequiredEditionsRepeatedExpanded struct { func (x *RequiredEditionsRepeatedExpanded) Reset() { *x = RequiredEditionsRepeatedExpanded{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsRepeatedExpanded) String() string { @@ -569,7 +547,7 @@ func (*RequiredEditionsRepeatedExpanded) ProtoMessage() {} func (x *RequiredEditionsRepeatedExpanded) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -601,11 +579,9 @@ type RequiredEditionsMap struct { func (x *RequiredEditionsMap) Reset() { *x = RequiredEditionsMap{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMap) String() string { @@ -616,7 +592,7 @@ func (*RequiredEditionsMap) ProtoMessage() {} func (x *RequiredEditionsMap) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -648,11 +624,9 @@ type RequiredEditionsMessageExplicitPresence_Msg struct { func (x *RequiredEditionsMessageExplicitPresence_Msg) Reset() { *x = RequiredEditionsMessageExplicitPresence_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageExplicitPresence_Msg) String() string { @@ -663,7 +637,7 @@ func (*RequiredEditionsMessageExplicitPresence_Msg) ProtoMessage() {} func (x *RequiredEditionsMessageExplicitPresence_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -695,11 +669,9 @@ type RequiredEditionsMessageExplicitPresenceDelimited_Msg struct { func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) Reset() { *x = RequiredEditionsMessageExplicitPresenceDelimited_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) String() string { @@ -710,7 +682,7 @@ func (*RequiredEditionsMessageExplicitPresenceDelimited_Msg) ProtoMessage() {} func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -742,11 +714,9 @@ type RequiredEditionsMessageLegacyRequired_Msg struct { func (x *RequiredEditionsMessageLegacyRequired_Msg) Reset() { *x = RequiredEditionsMessageLegacyRequired_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageLegacyRequired_Msg) String() string { @@ -757,7 +727,7 @@ func (*RequiredEditionsMessageLegacyRequired_Msg) ProtoMessage() {} func (x *RequiredEditionsMessageLegacyRequired_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -789,11 +759,9 @@ type RequiredEditionsMessageLegacyRequiredDelimited_Msg struct { func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) Reset() { *x = RequiredEditionsMessageLegacyRequiredDelimited_Msg{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) String() string { @@ -804,7 +772,7 @@ func (*RequiredEditionsMessageLegacyRequiredDelimited_Msg) ProtoMessage() {} func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -959,7 +927,7 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_raw } var file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes = []any{ (*RequiredEditionsScalarExplicitPresence)(nil), // 0: buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence (*RequiredEditionsScalarExplicitPresenceDefault)(nil), // 1: buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault (*RequiredEditionsScalarImplicitPresence)(nil), // 2: buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence @@ -996,201 +964,7 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_ini if File_buf_validate_conformance_cases_required_field_proto_editions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsScalarExplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsScalarExplicitPresenceDefault); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsScalarImplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsScalarLegacyRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageExplicitPresence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageExplicitPresenceDelimited); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageLegacyRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageLegacyRequiredDelimited); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsRepeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsRepeatedExpanded); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageExplicitPresence_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageExplicitPresenceDelimited_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageLegacyRequired_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequiredEditionsMessageLegacyRequiredDelimited_Msg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8].OneofWrappers = []any{ (*RequiredEditionsOneof_A)(nil), (*RequiredEditionsOneof_B)(nil), } diff --git a/internal/gen/buf/validate/conformance/cases/strings.pb.go b/internal/gen/buf/validate/conformance/cases/strings.pb.go index 538758e..8411a98 100644 --- a/internal/gen/buf/validate/conformance/cases/strings.pb.go +++ b/internal/gen/buf/validate/conformance/cases/strings.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/strings.proto @@ -45,11 +45,9 @@ type StringNone struct { func (x *StringNone) Reset() { *x = StringNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNone) String() string { @@ -60,7 +58,7 @@ func (*StringNone) ProtoMessage() {} func (x *StringNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_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) @@ -92,11 +90,9 @@ type StringConst struct { func (x *StringConst) Reset() { *x = StringConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringConst) String() string { @@ -107,7 +103,7 @@ func (*StringConst) ProtoMessage() {} func (x *StringConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type StringIn struct { func (x *StringIn) Reset() { *x = StringIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIn) String() string { @@ -154,7 +148,7 @@ func (*StringIn) ProtoMessage() {} func (x *StringIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_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) @@ -186,11 +180,9 @@ type StringNotIn struct { func (x *StringNotIn) Reset() { *x = StringNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIn) String() string { @@ -201,7 +193,7 @@ func (*StringNotIn) ProtoMessage() {} func (x *StringNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,11 +225,9 @@ type StringLen struct { func (x *StringLen) Reset() { *x = StringLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringLen) String() string { @@ -248,7 +238,7 @@ func (*StringLen) ProtoMessage() {} func (x *StringLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type StringMinLen struct { func (x *StringMinLen) Reset() { *x = StringMinLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMinLen) String() string { @@ -295,7 +283,7 @@ func (*StringMinLen) ProtoMessage() {} func (x *StringMinLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type StringMaxLen struct { func (x *StringMaxLen) Reset() { *x = StringMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMaxLen) String() string { @@ -342,7 +328,7 @@ func (*StringMaxLen) ProtoMessage() {} func (x *StringMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,11 +360,9 @@ type StringMinMaxLen struct { func (x *StringMinMaxLen) Reset() { *x = StringMinMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMinMaxLen) String() string { @@ -389,7 +373,7 @@ func (*StringMinMaxLen) ProtoMessage() {} func (x *StringMinMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type StringEqualMinMaxLen struct { func (x *StringEqualMinMaxLen) Reset() { *x = StringEqualMinMaxLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringEqualMinMaxLen) String() string { @@ -436,7 +418,7 @@ func (*StringEqualMinMaxLen) ProtoMessage() {} func (x *StringEqualMinMaxLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,11 +450,9 @@ type StringLenBytes struct { func (x *StringLenBytes) Reset() { *x = StringLenBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringLenBytes) String() string { @@ -483,7 +463,7 @@ func (*StringLenBytes) ProtoMessage() {} func (x *StringLenBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_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) @@ -515,11 +495,9 @@ type StringMinBytes struct { func (x *StringMinBytes) Reset() { *x = StringMinBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMinBytes) String() string { @@ -530,7 +508,7 @@ func (*StringMinBytes) ProtoMessage() {} func (x *StringMinBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,11 +540,9 @@ type StringMaxBytes struct { func (x *StringMaxBytes) Reset() { *x = StringMaxBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMaxBytes) String() string { @@ -577,7 +553,7 @@ func (*StringMaxBytes) ProtoMessage() {} func (x *StringMaxBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,11 +585,9 @@ type StringMinMaxBytes struct { func (x *StringMinMaxBytes) Reset() { *x = StringMinMaxBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringMinMaxBytes) String() string { @@ -624,7 +598,7 @@ func (*StringMinMaxBytes) ProtoMessage() {} func (x *StringMinMaxBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -656,11 +630,9 @@ type StringEqualMinMaxBytes struct { func (x *StringEqualMinMaxBytes) Reset() { *x = StringEqualMinMaxBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringEqualMinMaxBytes) String() string { @@ -671,7 +643,7 @@ func (*StringEqualMinMaxBytes) ProtoMessage() {} func (x *StringEqualMinMaxBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -703,11 +675,9 @@ type StringPattern struct { func (x *StringPattern) Reset() { *x = StringPattern{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringPattern) String() string { @@ -718,7 +688,7 @@ func (*StringPattern) ProtoMessage() {} func (x *StringPattern) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -750,11 +720,9 @@ type StringPatternEscapes struct { func (x *StringPatternEscapes) Reset() { *x = StringPatternEscapes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringPatternEscapes) String() string { @@ -765,7 +733,7 @@ func (*StringPatternEscapes) ProtoMessage() {} func (x *StringPatternEscapes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -797,11 +765,9 @@ type StringPrefix struct { func (x *StringPrefix) Reset() { *x = StringPrefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringPrefix) String() string { @@ -812,7 +778,7 @@ func (*StringPrefix) ProtoMessage() {} func (x *StringPrefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -844,11 +810,9 @@ type StringContains struct { func (x *StringContains) Reset() { *x = StringContains{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringContains) String() string { @@ -859,7 +823,7 @@ func (*StringContains) ProtoMessage() {} func (x *StringContains) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -891,11 +855,9 @@ type StringNotContains struct { func (x *StringNotContains) Reset() { *x = StringNotContains{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotContains) String() string { @@ -906,7 +868,7 @@ func (*StringNotContains) ProtoMessage() {} func (x *StringNotContains) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -938,11 +900,9 @@ type StringSuffix struct { func (x *StringSuffix) Reset() { *x = StringSuffix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringSuffix) String() string { @@ -953,7 +913,7 @@ func (*StringSuffix) ProtoMessage() {} func (x *StringSuffix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -985,11 +945,9 @@ type StringEmail struct { func (x *StringEmail) Reset() { *x = StringEmail{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringEmail) String() string { @@ -1000,7 +958,7 @@ func (*StringEmail) ProtoMessage() {} func (x *StringEmail) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1032,11 +990,9 @@ type StringNotEmail struct { func (x *StringNotEmail) Reset() { *x = StringNotEmail{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotEmail) String() string { @@ -1047,7 +1003,7 @@ func (*StringNotEmail) ProtoMessage() {} func (x *StringNotEmail) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1079,11 +1035,9 @@ type StringAddress struct { func (x *StringAddress) Reset() { *x = StringAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringAddress) String() string { @@ -1094,7 +1048,7 @@ func (*StringAddress) ProtoMessage() {} func (x *StringAddress) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1126,11 +1080,9 @@ type StringNotAddress struct { func (x *StringNotAddress) Reset() { *x = StringNotAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotAddress) String() string { @@ -1141,7 +1093,7 @@ func (*StringNotAddress) ProtoMessage() {} func (x *StringNotAddress) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1173,11 +1125,9 @@ type StringHostname struct { func (x *StringHostname) Reset() { *x = StringHostname{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHostname) String() string { @@ -1188,7 +1138,7 @@ func (*StringHostname) ProtoMessage() {} func (x *StringHostname) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1220,11 +1170,9 @@ type StringNotHostname struct { func (x *StringNotHostname) Reset() { *x = StringNotHostname{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotHostname) String() string { @@ -1235,7 +1183,7 @@ func (*StringNotHostname) ProtoMessage() {} func (x *StringNotHostname) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1267,11 +1215,9 @@ type StringIP struct { func (x *StringIP) Reset() { *x = StringIP{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIP) String() string { @@ -1282,7 +1228,7 @@ func (*StringIP) ProtoMessage() {} func (x *StringIP) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1314,11 +1260,9 @@ type StringNotIP struct { func (x *StringNotIP) Reset() { *x = StringNotIP{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIP) String() string { @@ -1329,7 +1273,7 @@ func (*StringNotIP) ProtoMessage() {} func (x *StringNotIP) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,11 +1305,9 @@ type StringIPv4 struct { func (x *StringIPv4) Reset() { *x = StringIPv4{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv4) String() string { @@ -1376,7 +1318,7 @@ func (*StringIPv4) ProtoMessage() {} func (x *StringIPv4) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1408,11 +1350,9 @@ type StringNotIPv4 struct { func (x *StringNotIPv4) Reset() { *x = StringNotIPv4{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv4) String() string { @@ -1423,7 +1363,7 @@ func (*StringNotIPv4) ProtoMessage() {} func (x *StringNotIPv4) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1455,11 +1395,9 @@ type StringIPv6 struct { func (x *StringIPv6) Reset() { *x = StringIPv6{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv6) String() string { @@ -1470,7 +1408,7 @@ func (*StringIPv6) ProtoMessage() {} func (x *StringIPv6) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1502,11 +1440,9 @@ type StringNotIPv6 struct { func (x *StringNotIPv6) Reset() { *x = StringNotIPv6{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv6) String() string { @@ -1517,7 +1453,7 @@ func (*StringNotIPv6) ProtoMessage() {} func (x *StringNotIPv6) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1549,11 +1485,9 @@ type StringIPWithPrefixLen struct { func (x *StringIPWithPrefixLen) Reset() { *x = StringIPWithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPWithPrefixLen) String() string { @@ -1564,7 +1498,7 @@ func (*StringIPWithPrefixLen) ProtoMessage() {} func (x *StringIPWithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1596,11 +1530,9 @@ type StringNotIPWithPrefixLen struct { func (x *StringNotIPWithPrefixLen) Reset() { *x = StringNotIPWithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPWithPrefixLen) String() string { @@ -1611,7 +1543,7 @@ func (*StringNotIPWithPrefixLen) ProtoMessage() {} func (x *StringNotIPWithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1643,11 +1575,9 @@ type StringIPv4WithPrefixLen struct { func (x *StringIPv4WithPrefixLen) Reset() { *x = StringIPv4WithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv4WithPrefixLen) String() string { @@ -1658,7 +1588,7 @@ func (*StringIPv4WithPrefixLen) ProtoMessage() {} func (x *StringIPv4WithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1690,11 +1620,9 @@ type StringNotIPv4WithPrefixLen struct { func (x *StringNotIPv4WithPrefixLen) Reset() { *x = StringNotIPv4WithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv4WithPrefixLen) String() string { @@ -1705,7 +1633,7 @@ func (*StringNotIPv4WithPrefixLen) ProtoMessage() {} func (x *StringNotIPv4WithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1737,11 +1665,9 @@ type StringIPv6WithPrefixLen struct { func (x *StringIPv6WithPrefixLen) Reset() { *x = StringIPv6WithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv6WithPrefixLen) String() string { @@ -1752,7 +1678,7 @@ func (*StringIPv6WithPrefixLen) ProtoMessage() {} func (x *StringIPv6WithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1784,11 +1710,9 @@ type StringNotIPv6WithPrefixLen struct { func (x *StringNotIPv6WithPrefixLen) Reset() { *x = StringNotIPv6WithPrefixLen{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv6WithPrefixLen) String() string { @@ -1799,7 +1723,7 @@ func (*StringNotIPv6WithPrefixLen) ProtoMessage() {} func (x *StringNotIPv6WithPrefixLen) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1831,11 +1755,9 @@ type StringIPPrefix struct { func (x *StringIPPrefix) Reset() { *x = StringIPPrefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPPrefix) String() string { @@ -1846,7 +1768,7 @@ func (*StringIPPrefix) ProtoMessage() {} func (x *StringIPPrefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1878,11 +1800,9 @@ type StringNotIPPrefix struct { func (x *StringNotIPPrefix) Reset() { *x = StringNotIPPrefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPPrefix) String() string { @@ -1893,7 +1813,7 @@ func (*StringNotIPPrefix) ProtoMessage() {} func (x *StringNotIPPrefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1925,11 +1845,9 @@ type StringIPv4Prefix struct { func (x *StringIPv4Prefix) Reset() { *x = StringIPv4Prefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv4Prefix) String() string { @@ -1940,7 +1858,7 @@ func (*StringIPv4Prefix) ProtoMessage() {} func (x *StringIPv4Prefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1972,11 +1890,9 @@ type StringNotIPv4Prefix struct { func (x *StringNotIPv4Prefix) Reset() { *x = StringNotIPv4Prefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv4Prefix) String() string { @@ -1987,7 +1903,7 @@ func (*StringNotIPv4Prefix) ProtoMessage() {} func (x *StringNotIPv4Prefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2019,11 +1935,9 @@ type StringIPv6Prefix struct { func (x *StringIPv6Prefix) Reset() { *x = StringIPv6Prefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringIPv6Prefix) String() string { @@ -2034,7 +1948,7 @@ func (*StringIPv6Prefix) ProtoMessage() {} func (x *StringIPv6Prefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2066,11 +1980,9 @@ type StringNotIPv6Prefix struct { func (x *StringNotIPv6Prefix) Reset() { *x = StringNotIPv6Prefix{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotIPv6Prefix) String() string { @@ -2081,7 +1993,7 @@ func (*StringNotIPv6Prefix) ProtoMessage() {} func (x *StringNotIPv6Prefix) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2113,11 +2025,9 @@ type StringURI struct { func (x *StringURI) Reset() { *x = StringURI{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringURI) String() string { @@ -2128,7 +2038,7 @@ func (*StringURI) ProtoMessage() {} func (x *StringURI) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2160,11 +2070,9 @@ type StringNotURI struct { func (x *StringNotURI) Reset() { *x = StringNotURI{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotURI) String() string { @@ -2175,7 +2083,7 @@ func (*StringNotURI) ProtoMessage() {} func (x *StringNotURI) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2207,11 +2115,9 @@ type StringURIRef struct { func (x *StringURIRef) Reset() { *x = StringURIRef{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringURIRef) String() string { @@ -2222,7 +2128,7 @@ func (*StringURIRef) ProtoMessage() {} func (x *StringURIRef) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2254,11 +2160,9 @@ type StringNotURIRef struct { func (x *StringNotURIRef) Reset() { *x = StringNotURIRef{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotURIRef) String() string { @@ -2269,7 +2173,7 @@ func (*StringNotURIRef) ProtoMessage() {} func (x *StringNotURIRef) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2301,11 +2205,9 @@ type StringUUID struct { func (x *StringUUID) Reset() { *x = StringUUID{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringUUID) String() string { @@ -2316,7 +2218,7 @@ func (*StringUUID) ProtoMessage() {} func (x *StringUUID) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2348,11 +2250,9 @@ type StringNotUUID struct { func (x *StringNotUUID) Reset() { *x = StringNotUUID{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotUUID) String() string { @@ -2363,7 +2263,7 @@ func (*StringNotUUID) ProtoMessage() {} func (x *StringNotUUID) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2395,11 +2295,9 @@ type StringTUUID struct { func (x *StringTUUID) Reset() { *x = StringTUUID{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringTUUID) String() string { @@ -2410,7 +2308,7 @@ func (*StringTUUID) ProtoMessage() {} func (x *StringTUUID) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2442,11 +2340,9 @@ type StringNotTUUID struct { func (x *StringNotTUUID) Reset() { *x = StringNotTUUID{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringNotTUUID) String() string { @@ -2457,7 +2353,7 @@ func (*StringNotTUUID) ProtoMessage() {} func (x *StringNotTUUID) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2489,11 +2385,9 @@ type StringHttpHeaderName struct { func (x *StringHttpHeaderName) Reset() { *x = StringHttpHeaderName{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHttpHeaderName) String() string { @@ -2504,7 +2398,7 @@ func (*StringHttpHeaderName) ProtoMessage() {} func (x *StringHttpHeaderName) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2536,11 +2430,9 @@ type StringHttpHeaderValue struct { func (x *StringHttpHeaderValue) Reset() { *x = StringHttpHeaderValue{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHttpHeaderValue) String() string { @@ -2551,7 +2443,7 @@ func (*StringHttpHeaderValue) ProtoMessage() {} func (x *StringHttpHeaderValue) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2583,11 +2475,9 @@ type StringHttpHeaderNameLoose struct { func (x *StringHttpHeaderNameLoose) Reset() { *x = StringHttpHeaderNameLoose{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHttpHeaderNameLoose) String() string { @@ -2598,7 +2488,7 @@ func (*StringHttpHeaderNameLoose) ProtoMessage() {} func (x *StringHttpHeaderNameLoose) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2630,11 +2520,9 @@ type StringHttpHeaderValueLoose struct { func (x *StringHttpHeaderValueLoose) Reset() { *x = StringHttpHeaderValueLoose{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHttpHeaderValueLoose) String() string { @@ -2645,7 +2533,7 @@ func (*StringHttpHeaderValueLoose) ProtoMessage() {} func (x *StringHttpHeaderValueLoose) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2677,11 +2565,9 @@ type StringUUIDIgnore struct { func (x *StringUUIDIgnore) Reset() { *x = StringUUIDIgnore{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringUUIDIgnore) String() string { @@ -2692,7 +2578,7 @@ func (*StringUUIDIgnore) ProtoMessage() {} func (x *StringUUIDIgnore) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2727,11 +2613,9 @@ type StringInOneof struct { func (x *StringInOneof) Reset() { *x = StringInOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringInOneof) String() string { @@ -2742,7 +2626,7 @@ func (*StringInOneof) ProtoMessage() {} func (x *StringInOneof) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2791,11 +2675,9 @@ type StringHostAndPort struct { func (x *StringHostAndPort) Reset() { *x = StringHostAndPort{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHostAndPort) String() string { @@ -2806,7 +2688,7 @@ func (*StringHostAndPort) ProtoMessage() {} func (x *StringHostAndPort) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2838,11 +2720,9 @@ type StringHostAndOptionalPort struct { func (x *StringHostAndOptionalPort) Reset() { *x = StringHostAndOptionalPort{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringHostAndOptionalPort) String() string { @@ -2853,7 +2733,7 @@ func (*StringHostAndOptionalPort) ProtoMessage() {} func (x *StringHostAndOptionalPort) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2885,11 +2765,9 @@ type StringExample struct { func (x *StringExample) Reset() { *x = StringExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StringExample) String() string { @@ -2900,7 +2778,7 @@ func (*StringExample) ProtoMessage() {} func (x *StringExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3157,7 +3035,7 @@ func file_buf_validate_conformance_cases_strings_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_strings_proto_msgTypes = make([]protoimpl.MessageInfo, 61) -var file_buf_validate_conformance_cases_strings_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_strings_proto_goTypes = []any{ (*StringNone)(nil), // 0: buf.validate.conformance.cases.StringNone (*StringConst)(nil), // 1: buf.validate.conformance.cases.StringConst (*StringIn)(nil), // 2: buf.validate.conformance.cases.StringIn @@ -3233,741 +3111,7 @@ func file_buf_validate_conformance_cases_strings_proto_init() { if File_buf_validate_conformance_cases_strings_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_strings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMinLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMinMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringEqualMinMaxLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringLenBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMinBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMaxBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringMinMaxBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringEqualMinMaxBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringPattern); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringPatternEscapes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringPrefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringContains); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotContains); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringSuffix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringEmail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotEmail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHostname); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotHostname); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv4); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv4); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv6); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv6); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPWithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPWithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv4WithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv4WithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv6WithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv6WithPrefixLen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPPrefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPPrefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv4Prefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv4Prefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringIPv6Prefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotIPv6Prefix); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringURI); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotURI); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringURIRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotURIRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringUUID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotUUID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringTUUID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringNotTUUID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHttpHeaderName); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHttpHeaderValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHttpHeaderNameLoose); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHttpHeaderValueLoose); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringUUIDIgnore); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringInOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHostAndPort); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringHostAndOptionalPort); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringExample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_cases_strings_proto_msgTypes[57].OneofWrappers = []interface{}{ + file_buf_validate_conformance_cases_strings_proto_msgTypes[57].OneofWrappers = []any{ (*StringInOneof_Bar)(nil), } type x struct{} diff --git a/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go b/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go index 729f023..fcc2880 100644 --- a/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go +++ b/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/subdirectory/in_subdirectory.proto @@ -72,7 +72,7 @@ var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDe 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = []interface{}{} +var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = []any{} var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_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 diff --git a/internal/gen/buf/validate/conformance/cases/wkt_any.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_any.pb.go index 21501cb..6927c08 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_any.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_any.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_any.proto @@ -46,11 +46,9 @@ type AnyNone struct { func (x *AnyNone) Reset() { *x = AnyNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnyNone) String() string { @@ -61,7 +59,7 @@ func (*AnyNone) ProtoMessage() {} func (x *AnyNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_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) @@ -93,11 +91,9 @@ type AnyRequired struct { func (x *AnyRequired) Reset() { *x = AnyRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnyRequired) String() string { @@ -108,7 +104,7 @@ func (*AnyRequired) ProtoMessage() {} func (x *AnyRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_any_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) @@ -140,11 +136,9 @@ type AnyIn struct { func (x *AnyIn) Reset() { *x = AnyIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnyIn) String() string { @@ -155,7 +149,7 @@ func (*AnyIn) ProtoMessage() {} func (x *AnyIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_any_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) @@ -187,11 +181,9 @@ type AnyNotIn struct { func (x *AnyNotIn) Reset() { *x = AnyNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnyNotIn) String() string { @@ -202,7 +194,7 @@ func (*AnyNotIn) ProtoMessage() {} func (x *AnyNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,7 +282,7 @@ func file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_wkt_any_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_validate_conformance_cases_wkt_any_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_wkt_any_proto_goTypes = []any{ (*AnyNone)(nil), // 0: buf.validate.conformance.cases.AnyNone (*AnyRequired)(nil), // 1: buf.validate.conformance.cases.AnyRequired (*AnyIn)(nil), // 2: buf.validate.conformance.cases.AnyIn @@ -314,56 +306,6 @@ func file_buf_validate_conformance_cases_wkt_any_proto_init() { if File_buf_validate_conformance_cases_wkt_any_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnyNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnyRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnyIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnyNotIn); 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/gen/buf/validate/conformance/cases/wkt_duration.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_duration.pb.go index 9064b3d..f99f998 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_duration.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_duration.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_duration.proto @@ -46,11 +46,9 @@ type DurationNone struct { func (x *DurationNone) Reset() { *x = DurationNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationNone) String() string { @@ -61,7 +59,7 @@ func (*DurationNone) ProtoMessage() {} func (x *DurationNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_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) @@ -93,11 +91,9 @@ type DurationRequired struct { func (x *DurationRequired) Reset() { *x = DurationRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationRequired) String() string { @@ -108,7 +104,7 @@ func (*DurationRequired) ProtoMessage() {} func (x *DurationRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_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) @@ -140,11 +136,9 @@ type DurationConst struct { func (x *DurationConst) Reset() { *x = DurationConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationConst) String() string { @@ -155,7 +149,7 @@ func (*DurationConst) ProtoMessage() {} func (x *DurationConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_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) @@ -187,11 +181,9 @@ type DurationIn struct { func (x *DurationIn) Reset() { *x = DurationIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationIn) String() string { @@ -202,7 +194,7 @@ func (*DurationIn) ProtoMessage() {} func (x *DurationIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -234,11 +226,9 @@ type DurationNotIn struct { func (x *DurationNotIn) Reset() { *x = DurationNotIn{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationNotIn) String() string { @@ -249,7 +239,7 @@ func (*DurationNotIn) ProtoMessage() {} func (x *DurationNotIn) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,11 +271,9 @@ type DurationLT struct { func (x *DurationLT) Reset() { *x = DurationLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationLT) String() string { @@ -296,7 +284,7 @@ func (*DurationLT) ProtoMessage() {} func (x *DurationLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +316,9 @@ type DurationLTE struct { func (x *DurationLTE) Reset() { *x = DurationLTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationLTE) String() string { @@ -343,7 +329,7 @@ func (*DurationLTE) ProtoMessage() {} func (x *DurationLTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,11 +361,9 @@ type DurationGT struct { func (x *DurationGT) Reset() { *x = DurationGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationGT) String() string { @@ -390,7 +374,7 @@ func (*DurationGT) ProtoMessage() {} func (x *DurationGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -422,11 +406,9 @@ type DurationGTE struct { func (x *DurationGTE) Reset() { *x = DurationGTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationGTE) String() string { @@ -437,7 +419,7 @@ func (*DurationGTE) ProtoMessage() {} func (x *DurationGTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,11 +451,9 @@ type DurationGTLT struct { func (x *DurationGTLT) Reset() { *x = DurationGTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationGTLT) String() string { @@ -484,7 +464,7 @@ func (*DurationGTLT) ProtoMessage() {} func (x *DurationGTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_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) @@ -516,11 +496,9 @@ type DurationExLTGT struct { func (x *DurationExLTGT) Reset() { *x = DurationExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationExLTGT) String() string { @@ -531,7 +509,7 @@ func (*DurationExLTGT) ProtoMessage() {} func (x *DurationExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -563,11 +541,9 @@ type DurationGTELTE struct { func (x *DurationGTELTE) Reset() { *x = DurationGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationGTELTE) String() string { @@ -578,7 +554,7 @@ func (*DurationGTELTE) ProtoMessage() {} func (x *DurationGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -610,11 +586,9 @@ type DurationExGTELTE struct { func (x *DurationExGTELTE) Reset() { *x = DurationExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationExGTELTE) String() string { @@ -625,7 +599,7 @@ func (*DurationExGTELTE) ProtoMessage() {} func (x *DurationExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -660,11 +634,9 @@ type DurationFieldWithOtherFields struct { func (x *DurationFieldWithOtherFields) Reset() { *x = DurationFieldWithOtherFields{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationFieldWithOtherFields) String() string { @@ -675,7 +647,7 @@ func (*DurationFieldWithOtherFields) ProtoMessage() {} func (x *DurationFieldWithOtherFields) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -714,11 +686,9 @@ type DurationExample struct { func (x *DurationExample) Reset() { *x = DurationExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationExample) String() string { @@ -729,7 +699,7 @@ func (*DurationExample) ProtoMessage() {} func (x *DurationExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -871,7 +841,7 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP() []byte } var file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = []any{ (*DurationNone)(nil), // 0: buf.validate.conformance.cases.DurationNone (*DurationRequired)(nil), // 1: buf.validate.conformance.cases.DurationRequired (*DurationConst)(nil), // 2: buf.validate.conformance.cases.DurationConst @@ -917,188 +887,6 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_init() { if File_buf_validate_conformance_cases_wkt_duration_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationNotIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationLTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationGTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationGTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationFieldWithOtherFields); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DurationExample); 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/gen/buf/validate/conformance/cases/wkt_nested.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_nested.pb.go index 0858208..6a45743 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_nested.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_nested.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_nested.proto @@ -45,11 +45,9 @@ type WktLevelOne struct { func (x *WktLevelOne) Reset() { *x = WktLevelOne{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WktLevelOne) String() string { @@ -60,7 +58,7 @@ func (*WktLevelOne) ProtoMessage() {} func (x *WktLevelOne) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_nested_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) @@ -92,11 +90,9 @@ type WktLevelOne_WktLevelTwo struct { func (x *WktLevelOne_WktLevelTwo) Reset() { *x = WktLevelOne_WktLevelTwo{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WktLevelOne_WktLevelTwo) String() string { @@ -107,7 +103,7 @@ func (*WktLevelOne_WktLevelTwo) ProtoMessage() {} func (x *WktLevelOne_WktLevelTwo) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,11 +135,9 @@ type WktLevelOne_WktLevelTwo_WktLevelThree struct { func (x *WktLevelOne_WktLevelTwo_WktLevelThree) Reset() { *x = WktLevelOne_WktLevelTwo_WktLevelThree{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WktLevelOne_WktLevelTwo_WktLevelThree) String() string { @@ -154,7 +148,7 @@ func (*WktLevelOne_WktLevelTwo_WktLevelThree) ProtoMessage() {} func (x *WktLevelOne_WktLevelTwo_WktLevelThree) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_nested_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) @@ -237,7 +231,7 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []any{ (*WktLevelOne)(nil), // 0: buf.validate.conformance.cases.WktLevelOne (*WktLevelOne_WktLevelTwo)(nil), // 1: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo (*WktLevelOne_WktLevelTwo_WktLevelThree)(nil), // 2: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree @@ -257,44 +251,6 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_init() { if File_buf_validate_conformance_cases_wkt_nested_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WktLevelOne); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WktLevelOne_WktLevelTwo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WktLevelOne_WktLevelTwo_WktLevelThree); 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/gen/buf/validate/conformance/cases/wkt_timestamp.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_timestamp.pb.go index 3988ecf..a1e5317 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_timestamp.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_timestamp.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_timestamp.proto @@ -46,11 +46,9 @@ type TimestampNone struct { func (x *TimestampNone) Reset() { *x = TimestampNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampNone) String() string { @@ -61,7 +59,7 @@ func (*TimestampNone) ProtoMessage() {} func (x *TimestampNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_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) @@ -93,11 +91,9 @@ type TimestampRequired struct { func (x *TimestampRequired) Reset() { *x = TimestampRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampRequired) String() string { @@ -108,7 +104,7 @@ func (*TimestampRequired) ProtoMessage() {} func (x *TimestampRequired) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_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) @@ -140,11 +136,9 @@ type TimestampConst struct { func (x *TimestampConst) Reset() { *x = TimestampConst{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampConst) String() string { @@ -155,7 +149,7 @@ func (*TimestampConst) ProtoMessage() {} func (x *TimestampConst) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_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) @@ -187,11 +181,9 @@ type TimestampLT struct { func (x *TimestampLT) Reset() { *x = TimestampLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampLT) String() string { @@ -202,7 +194,7 @@ func (*TimestampLT) ProtoMessage() {} func (x *TimestampLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -234,11 +226,9 @@ type TimestampLTE struct { func (x *TimestampLTE) Reset() { *x = TimestampLTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampLTE) String() string { @@ -249,7 +239,7 @@ func (*TimestampLTE) ProtoMessage() {} func (x *TimestampLTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,11 +271,9 @@ type TimestampGT struct { func (x *TimestampGT) Reset() { *x = TimestampGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGT) String() string { @@ -296,7 +284,7 @@ func (*TimestampGT) ProtoMessage() {} func (x *TimestampGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +316,9 @@ type TimestampGTE struct { func (x *TimestampGTE) Reset() { *x = TimestampGTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGTE) String() string { @@ -343,7 +329,7 @@ func (*TimestampGTE) ProtoMessage() {} func (x *TimestampGTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,11 +361,9 @@ type TimestampGTLT struct { func (x *TimestampGTLT) Reset() { *x = TimestampGTLT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGTLT) String() string { @@ -390,7 +374,7 @@ func (*TimestampGTLT) ProtoMessage() {} func (x *TimestampGTLT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -422,11 +406,9 @@ type TimestampExLTGT struct { func (x *TimestampExLTGT) Reset() { *x = TimestampExLTGT{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampExLTGT) String() string { @@ -437,7 +419,7 @@ func (*TimestampExLTGT) ProtoMessage() {} func (x *TimestampExLTGT) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,11 +451,9 @@ type TimestampGTELTE struct { func (x *TimestampGTELTE) Reset() { *x = TimestampGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGTELTE) String() string { @@ -484,7 +464,7 @@ func (*TimestampGTELTE) ProtoMessage() {} func (x *TimestampGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_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) @@ -516,11 +496,9 @@ type TimestampExGTELTE struct { func (x *TimestampExGTELTE) Reset() { *x = TimestampExGTELTE{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampExGTELTE) String() string { @@ -531,7 +509,7 @@ func (*TimestampExGTELTE) ProtoMessage() {} func (x *TimestampExGTELTE) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -563,11 +541,9 @@ type TimestampLTNow struct { func (x *TimestampLTNow) Reset() { *x = TimestampLTNow{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampLTNow) String() string { @@ -578,7 +554,7 @@ func (*TimestampLTNow) ProtoMessage() {} func (x *TimestampLTNow) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -610,11 +586,9 @@ type TimestampNotLTNow struct { func (x *TimestampNotLTNow) Reset() { *x = TimestampNotLTNow{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampNotLTNow) String() string { @@ -625,7 +599,7 @@ func (*TimestampNotLTNow) ProtoMessage() {} func (x *TimestampNotLTNow) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,11 +631,9 @@ type TimestampGTNow struct { func (x *TimestampGTNow) Reset() { *x = TimestampGTNow{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGTNow) String() string { @@ -672,7 +644,7 @@ func (*TimestampGTNow) ProtoMessage() {} func (x *TimestampGTNow) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -704,11 +676,9 @@ type TimestampNotGTNow struct { func (x *TimestampNotGTNow) Reset() { *x = TimestampNotGTNow{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampNotGTNow) String() string { @@ -719,7 +689,7 @@ func (*TimestampNotGTNow) ProtoMessage() {} func (x *TimestampNotGTNow) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -751,11 +721,9 @@ type TimestampWithin struct { func (x *TimestampWithin) Reset() { *x = TimestampWithin{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampWithin) String() string { @@ -766,7 +734,7 @@ func (*TimestampWithin) ProtoMessage() {} func (x *TimestampWithin) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -798,11 +766,9 @@ type TimestampLTNowWithin struct { func (x *TimestampLTNowWithin) Reset() { *x = TimestampLTNowWithin{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampLTNowWithin) String() string { @@ -813,7 +779,7 @@ func (*TimestampLTNowWithin) ProtoMessage() {} func (x *TimestampLTNowWithin) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -845,11 +811,9 @@ type TimestampGTNowWithin struct { func (x *TimestampGTNowWithin) Reset() { *x = TimestampGTNowWithin{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampGTNowWithin) String() string { @@ -860,7 +824,7 @@ func (*TimestampGTNowWithin) ProtoMessage() {} func (x *TimestampGTNowWithin) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -892,11 +856,9 @@ type TimestampExample struct { func (x *TimestampExample) Reset() { *x = TimestampExample{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampExample) String() string { @@ -907,7 +869,7 @@ func (*TimestampExample) ProtoMessage() {} func (x *TimestampExample) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1067,7 +1029,7 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP() []byt } var file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = []any{ (*TimestampNone)(nil), // 0: buf.validate.conformance.cases.TimestampNone (*TimestampRequired)(nil), // 1: buf.validate.conformance.cases.TimestampRequired (*TimestampConst)(nil), // 2: buf.validate.conformance.cases.TimestampConst @@ -1121,236 +1083,6 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { if File_buf_validate_conformance_cases_wkt_timestamp_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampConst); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampLTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGTLT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampExLTGT); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampExGTELTE); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampLTNow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampNotLTNow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGTNow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampNotGTNow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampWithin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampLTNowWithin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampGTNowWithin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampExample); 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/gen/buf/validate/conformance/cases/wkt_wrappers.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_wrappers.pb.go index cadb9c7..072458d 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_wrappers.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_wrappers.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_wrappers.proto @@ -46,11 +46,9 @@ type WrapperNone struct { func (x *WrapperNone) Reset() { *x = WrapperNone{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperNone) String() string { @@ -61,7 +59,7 @@ func (*WrapperNone) ProtoMessage() {} func (x *WrapperNone) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_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) @@ -93,11 +91,9 @@ type WrapperFloat struct { func (x *WrapperFloat) Reset() { *x = WrapperFloat{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperFloat) String() string { @@ -108,7 +104,7 @@ func (*WrapperFloat) ProtoMessage() {} func (x *WrapperFloat) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_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) @@ -140,11 +136,9 @@ type WrapperDouble struct { func (x *WrapperDouble) Reset() { *x = WrapperDouble{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperDouble) String() string { @@ -155,7 +149,7 @@ func (*WrapperDouble) ProtoMessage() {} func (x *WrapperDouble) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_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) @@ -187,11 +181,9 @@ type WrapperInt64 struct { func (x *WrapperInt64) Reset() { *x = WrapperInt64{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperInt64) String() string { @@ -202,7 +194,7 @@ func (*WrapperInt64) ProtoMessage() {} func (x *WrapperInt64) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -234,11 +226,9 @@ type WrapperInt32 struct { func (x *WrapperInt32) Reset() { *x = WrapperInt32{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperInt32) String() string { @@ -249,7 +239,7 @@ func (*WrapperInt32) ProtoMessage() {} func (x *WrapperInt32) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,11 +271,9 @@ type WrapperUInt64 struct { func (x *WrapperUInt64) Reset() { *x = WrapperUInt64{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperUInt64) String() string { @@ -296,7 +284,7 @@ func (*WrapperUInt64) ProtoMessage() {} func (x *WrapperUInt64) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +316,9 @@ type WrapperUInt32 struct { func (x *WrapperUInt32) Reset() { *x = WrapperUInt32{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperUInt32) String() string { @@ -343,7 +329,7 @@ func (*WrapperUInt32) ProtoMessage() {} func (x *WrapperUInt32) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,11 +361,9 @@ type WrapperBool struct { func (x *WrapperBool) Reset() { *x = WrapperBool{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperBool) String() string { @@ -390,7 +374,7 @@ func (*WrapperBool) ProtoMessage() {} func (x *WrapperBool) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -422,11 +406,9 @@ type WrapperString struct { func (x *WrapperString) Reset() { *x = WrapperString{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperString) String() string { @@ -437,7 +419,7 @@ func (*WrapperString) ProtoMessage() {} func (x *WrapperString) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,11 +451,9 @@ type WrapperBytes struct { func (x *WrapperBytes) Reset() { *x = WrapperBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperBytes) String() string { @@ -484,7 +464,7 @@ func (*WrapperBytes) ProtoMessage() {} func (x *WrapperBytes) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_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) @@ -516,11 +496,9 @@ type WrapperRequiredString struct { func (x *WrapperRequiredString) Reset() { *x = WrapperRequiredString{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperRequiredString) String() string { @@ -531,7 +509,7 @@ func (*WrapperRequiredString) ProtoMessage() {} func (x *WrapperRequiredString) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -563,11 +541,9 @@ type WrapperRequiredEmptyString struct { func (x *WrapperRequiredEmptyString) Reset() { *x = WrapperRequiredEmptyString{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperRequiredEmptyString) String() string { @@ -578,7 +554,7 @@ func (*WrapperRequiredEmptyString) ProtoMessage() {} func (x *WrapperRequiredEmptyString) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -610,11 +586,9 @@ type WrapperOptionalUuidString struct { func (x *WrapperOptionalUuidString) Reset() { *x = WrapperOptionalUuidString{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperOptionalUuidString) String() string { @@ -625,7 +599,7 @@ func (*WrapperOptionalUuidString) ProtoMessage() {} func (x *WrapperOptionalUuidString) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,11 +631,9 @@ type WrapperRequiredFloat struct { func (x *WrapperRequiredFloat) Reset() { *x = WrapperRequiredFloat{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WrapperRequiredFloat) String() string { @@ -672,7 +644,7 @@ func (*WrapperRequiredFloat) ProtoMessage() {} func (x *WrapperRequiredFloat) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -808,7 +780,7 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP() []byte } var file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = []any{ (*WrapperNone)(nil), // 0: buf.validate.conformance.cases.WrapperNone (*WrapperFloat)(nil), // 1: buf.validate.conformance.cases.WrapperFloat (*WrapperDouble)(nil), // 2: buf.validate.conformance.cases.WrapperDouble @@ -860,176 +832,6 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { if File_buf_validate_conformance_cases_wkt_wrappers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperFloat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperDouble); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperInt64); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperInt32); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperUInt64); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperUInt32); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperBool); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperBytes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperRequiredString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperRequiredEmptyString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperOptionalUuidString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WrapperRequiredFloat); 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/gen/buf/validate/conformance/cases/yet_another_package/embed2.pb.go b/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2.pb.go index 9745781..fb0823f 100644 --- a/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2.pb.go +++ b/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/cases/yet_another_package/embed2.proto @@ -92,11 +92,9 @@ type Embed struct { func (x *Embed) Reset() { *x = Embed{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Embed) String() string { @@ -107,7 +105,7 @@ func (*Embed) ProtoMessage() {} func (x *Embed) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_cases_yet_another_package_embed2_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) @@ -190,7 +188,7 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDes var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_goTypes = []any{ (Embed_Enumerated)(0), // 0: buf.validate.conformance.cases.yet_another_package.Embed.Enumerated (*Embed)(nil), // 1: buf.validate.conformance.cases.yet_another_package.Embed } @@ -207,20 +205,6 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_init() if File_buf_validate_conformance_cases_yet_another_package_embed2_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Embed); 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/gen/buf/validate/conformance/harness/harness.pb.go b/internal/gen/buf/validate/conformance/harness/harness.pb.go index 6702ede..0987257 100644 --- a/internal/gen/buf/validate/conformance/harness/harness.pb.go +++ b/internal/gen/buf/validate/conformance/harness/harness.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/harness/harness.proto @@ -51,11 +51,9 @@ type TestConformanceRequest struct { func (x *TestConformanceRequest) Reset() { *x = TestConformanceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestConformanceRequest) String() string { @@ -66,7 +64,7 @@ func (*TestConformanceRequest) ProtoMessage() {} func (x *TestConformanceRequest) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_harness_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) @@ -107,11 +105,9 @@ type TestConformanceResponse struct { func (x *TestConformanceResponse) Reset() { *x = TestConformanceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestConformanceResponse) String() string { @@ -122,7 +118,7 @@ func (*TestConformanceResponse) ProtoMessage() {} func (x *TestConformanceResponse) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_harness_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) @@ -162,11 +158,9 @@ type TestResult struct { func (x *TestResult) Reset() { *x = TestResult{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_harness_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestResult) String() string { @@ -177,7 +171,7 @@ func (*TestResult) ProtoMessage() {} func (x *TestResult) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_harness_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) @@ -368,7 +362,7 @@ func file_buf_validate_conformance_harness_harness_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_harness_harness_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_buf_validate_conformance_harness_harness_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_harness_harness_proto_goTypes = []any{ (*TestConformanceRequest)(nil), // 0: buf.validate.conformance.harness.TestConformanceRequest (*TestConformanceResponse)(nil), // 1: buf.validate.conformance.harness.TestConformanceResponse (*TestResult)(nil), // 2: buf.validate.conformance.harness.TestResult @@ -397,45 +391,7 @@ func file_buf_validate_conformance_harness_harness_proto_init() { if File_buf_validate_conformance_harness_harness_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_harness_harness_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestConformanceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_harness_harness_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestConformanceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_harness_harness_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_buf_validate_conformance_harness_harness_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_buf_validate_conformance_harness_harness_proto_msgTypes[2].OneofWrappers = []any{ (*TestResult_Success)(nil), (*TestResult_ValidationError)(nil), (*TestResult_CompilationError)(nil), diff --git a/internal/gen/buf/validate/conformance/harness/results.pb.go b/internal/gen/buf/validate/conformance/harness/results.pb.go index 44c92b3..061ef2e 100644 --- a/internal/gen/buf/validate/conformance/harness/results.pb.go +++ b/internal/gen/buf/validate/conformance/harness/results.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: buf/validate/conformance/harness/results.proto @@ -59,11 +59,9 @@ type ResultOptions struct { func (x *ResultOptions) Reset() { *x = ResultOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultOptions) String() string { @@ -74,7 +72,7 @@ func (*ResultOptions) ProtoMessage() {} func (x *ResultOptions) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_results_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 ResultSet struct { func (x *ResultSet) Reset() { *x = ResultSet{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultSet) String() string { @@ -166,7 +162,7 @@ func (*ResultSet) ProtoMessage() {} func (x *ResultSet) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_results_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) @@ -238,11 +234,9 @@ type SuiteResults struct { func (x *SuiteResults) Reset() { *x = SuiteResults{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SuiteResults) String() string { @@ -253,7 +247,7 @@ func (*SuiteResults) ProtoMessage() {} func (x *SuiteResults) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_results_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) @@ -332,11 +326,9 @@ type CaseResult struct { func (x *CaseResult) Reset() { *x = CaseResult{} - if protoimpl.UnsafeEnabled { - mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaseResult) String() string { @@ -347,7 +339,7 @@ func (*CaseResult) ProtoMessage() {} func (x *CaseResult) ProtoReflect() protoreflect.Message { mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -518,7 +510,7 @@ func file_buf_validate_conformance_harness_results_proto_rawDescGZIP() []byte { } var file_buf_validate_conformance_harness_results_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_validate_conformance_harness_results_proto_goTypes = []interface{}{ +var file_buf_validate_conformance_harness_results_proto_goTypes = []any{ (*ResultOptions)(nil), // 0: buf.validate.conformance.harness.ResultOptions (*ResultSet)(nil), // 1: buf.validate.conformance.harness.ResultSet (*SuiteResults)(nil), // 2: buf.validate.conformance.harness.SuiteResults @@ -548,56 +540,6 @@ func file_buf_validate_conformance_harness_results_proto_init() { return } file_buf_validate_conformance_harness_harness_proto_init() - if !protoimpl.UnsafeEnabled { - file_buf_validate_conformance_harness_results_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_harness_results_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_harness_results_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SuiteResults); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_buf_validate_conformance_harness_results_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaseResult); 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/gen/tests/example/v1/example.pb.go b/internal/gen/tests/example/v1/example.pb.go index 6a55af3..c6b7a46 100644 --- a/internal/gen/tests/example/v1/example.pb.go +++ b/internal/gen/tests/example/v1/example.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: tests/example/v1/example.proto @@ -48,11 +48,9 @@ type Person struct { func (x *Person) Reset() { *x = Person{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_example_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_example_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Person) String() string { @@ -63,7 +61,7 @@ func (*Person) ProtoMessage() {} func (x *Person) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_example_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) @@ -117,11 +115,9 @@ type Coordinates struct { func (x *Coordinates) Reset() { *x = Coordinates{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_example_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_example_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Coordinates) String() string { @@ -132,7 +128,7 @@ func (*Coordinates) ProtoMessage() {} func (x *Coordinates) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_example_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) @@ -216,7 +212,7 @@ func file_tests_example_v1_example_proto_rawDescGZIP() []byte { } var file_tests_example_v1_example_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_tests_example_v1_example_proto_goTypes = []interface{}{ +var file_tests_example_v1_example_proto_goTypes = []any{ (*Person)(nil), // 0: tests.example.v1.Person (*Coordinates)(nil), // 1: tests.example.v1.Coordinates } @@ -234,32 +230,6 @@ func file_tests_example_v1_example_proto_init() { if File_tests_example_v1_example_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tests_example_v1_example_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Person); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_example_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Coordinates); 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/gen/tests/example/v1/legacy.pb.go b/internal/gen/tests/example/v1/legacy.pb.go index 0ecd835..1c5ea3a 100644 --- a/internal/gen/tests/example/v1/legacy.pb.go +++ b/internal/gen/tests/example/v1/legacy.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: tests/example/v1/legacy.proto @@ -52,11 +52,9 @@ type LegacyNone struct { func (x *LegacyNone) Reset() { *x = LegacyNone{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyNone) String() string { @@ -67,7 +65,7 @@ func (*LegacyNone) ProtoMessage() {} func (x *LegacyNone) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_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) @@ -116,11 +114,9 @@ type LegacyDisabled struct { func (x *LegacyDisabled) Reset() { *x = LegacyDisabled{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyDisabled) String() string { @@ -131,7 +127,7 @@ func (*LegacyDisabled) ProtoMessage() {} func (x *LegacyDisabled) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_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) @@ -163,11 +159,9 @@ type LegacyIgnored struct { func (x *LegacyIgnored) Reset() { *x = LegacyIgnored{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyIgnored) String() string { @@ -178,7 +172,7 @@ func (*LegacyIgnored) ProtoMessage() {} func (x *LegacyIgnored) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_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) @@ -213,11 +207,9 @@ type LegacyOneofRequired struct { func (x *LegacyOneofRequired) Reset() { *x = LegacyOneofRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyOneofRequired) String() string { @@ -228,7 +220,7 @@ func (*LegacyOneofRequired) ProtoMessage() {} func (x *LegacyOneofRequired) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -277,11 +269,9 @@ type LegacySimple struct { func (x *LegacySimple) Reset() { *x = LegacySimple{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacySimple) String() string { @@ -292,7 +282,7 @@ func (*LegacySimple) ProtoMessage() {} func (x *LegacySimple) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -324,11 +314,9 @@ type LegacySkipped struct { func (x *LegacySkipped) Reset() { *x = LegacySkipped{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacySkipped) String() string { @@ -339,7 +327,7 @@ func (*LegacySkipped) ProtoMessage() {} func (x *LegacySkipped) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -371,11 +359,9 @@ type LegacyMessageRequired struct { func (x *LegacyMessageRequired) Reset() { *x = LegacyMessageRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyMessageRequired) String() string { @@ -386,7 +372,7 @@ func (*LegacyMessageRequired) ProtoMessage() {} func (x *LegacyMessageRequired) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -418,11 +404,9 @@ type LegacyIn struct { func (x *LegacyIn) Reset() { *x = LegacyIn{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyIn) String() string { @@ -433,7 +417,7 @@ func (*LegacyIn) ProtoMessage() {} func (x *LegacyIn) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -465,11 +449,9 @@ type LegacyRepeated struct { func (x *LegacyRepeated) Reset() { *x = LegacyRepeated{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyRepeated) String() string { @@ -480,7 +462,7 @@ func (*LegacyRepeated) ProtoMessage() {} func (x *LegacyRepeated) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,11 +494,9 @@ type LegacyMap struct { func (x *LegacyMap) Reset() { *x = LegacyMap{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyMap) String() string { @@ -527,7 +507,7 @@ func (*LegacyMap) ProtoMessage() {} func (x *LegacyMap) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_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) @@ -559,11 +539,9 @@ type LegacyEnum struct { func (x *LegacyEnum) Reset() { *x = LegacyEnum{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyEnum) String() string { @@ -574,7 +552,7 @@ func (*LegacyEnum) ProtoMessage() {} func (x *LegacyEnum) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -608,11 +586,9 @@ type LegacyWKTRequired struct { func (x *LegacyWKTRequired) Reset() { *x = LegacyWKTRequired{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyWKTRequired) String() string { @@ -623,7 +599,7 @@ func (*LegacyWKTRequired) ProtoMessage() {} func (x *LegacyWKTRequired) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -669,11 +645,9 @@ type LegacyMixedMessage struct { func (x *LegacyMixedMessage) Reset() { *x = LegacyMixedMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyMixedMessage) String() string { @@ -684,7 +658,7 @@ func (*LegacyMixedMessage) ProtoMessage() {} func (x *LegacyMixedMessage) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -719,11 +693,9 @@ type LegacyMixedOneof struct { func (x *LegacyMixedOneof) Reset() { *x = LegacyMixedOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyMixedOneof) String() string { @@ -734,7 +706,7 @@ func (*LegacyMixedOneof) ProtoMessage() {} func (x *LegacyMixedOneof) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,11 +755,9 @@ type LegacyMixedFields struct { func (x *LegacyMixedFields) Reset() { *x = LegacyMixedFields{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyMixedFields) String() string { @@ -798,7 +768,7 @@ func (*LegacyMixedFields) ProtoMessage() {} func (x *LegacyMixedFields) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,11 +800,9 @@ type LegacyIgnoreEmpty struct { func (x *LegacyIgnoreEmpty) Reset() { *x = LegacyIgnoreEmpty{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_legacy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_legacy_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LegacyIgnoreEmpty) String() string { @@ -845,7 +813,7 @@ func (*LegacyIgnoreEmpty) ProtoMessage() {} func (x *LegacyIgnoreEmpty) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_legacy_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -975,7 +943,7 @@ func file_tests_example_v1_legacy_proto_rawDescGZIP() []byte { } var file_tests_example_v1_legacy_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_tests_example_v1_legacy_proto_goTypes = []interface{}{ +var file_tests_example_v1_legacy_proto_goTypes = []any{ (*LegacyNone)(nil), // 0: tests.example.v1.LegacyNone (*LegacyDisabled)(nil), // 1: tests.example.v1.LegacyDisabled (*LegacyIgnored)(nil), // 2: tests.example.v1.LegacyIgnored @@ -1016,207 +984,13 @@ func file_tests_example_v1_legacy_proto_init() { if File_tests_example_v1_legacy_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tests_example_v1_legacy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyNone); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyDisabled); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyIgnored); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyOneofRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacySimple); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacySkipped); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyMessageRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyIn); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyRepeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyEnum); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyWKTRequired); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyMixedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyMixedOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyMixedFields); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_legacy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LegacyIgnoreEmpty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_tests_example_v1_legacy_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_tests_example_v1_legacy_proto_msgTypes[0].OneofWrappers = []any{ (*LegacyNone_X)(nil), } - file_tests_example_v1_legacy_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_tests_example_v1_legacy_proto_msgTypes[3].OneofWrappers = []any{ (*LegacyOneofRequired_X)(nil), } - file_tests_example_v1_legacy_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_tests_example_v1_legacy_proto_msgTypes[13].OneofWrappers = []any{ (*LegacyMixedOneof_X)(nil), } type x struct{} diff --git a/internal/gen/tests/example/v1/predefined.pb.go b/internal/gen/tests/example/v1/predefined.pb.go index 3a19e3e..95f6f21 100644 --- a/internal/gen/tests/example/v1/predefined.pb.go +++ b/internal/gen/tests/example/v1/predefined.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: tests/example/v1/predefined.proto @@ -46,11 +46,9 @@ type Issue148 struct { func (x *Issue148) Reset() { *x = Issue148{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_predefined_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_predefined_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Issue148) String() string { @@ -61,7 +59,7 @@ func (*Issue148) ProtoMessage() {} func (x *Issue148) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_predefined_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,7 +149,7 @@ func file_tests_example_v1_predefined_proto_rawDescGZIP() []byte { } var file_tests_example_v1_predefined_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_tests_example_v1_predefined_proto_goTypes = []interface{}{ +var file_tests_example_v1_predefined_proto_goTypes = []any{ (*Issue148)(nil), // 0: tests.example.v1.Issue148 (*validate.Int32Rules)(nil), // 1: buf.validate.Int32Rules } @@ -169,20 +167,6 @@ func file_tests_example_v1_predefined_proto_init() { if File_tests_example_v1_predefined_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tests_example_v1_predefined_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Issue148); 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/gen/tests/example/v1/validations.pb.go b/internal/gen/tests/example/v1/validations.pb.go index 38a848a..7b8b379 100644 --- a/internal/gen/tests/example/v1/validations.pb.go +++ b/internal/gen/tests/example/v1/validations.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.35.2 // protoc (unknown) // source: tests/example/v1/validations.proto @@ -49,11 +49,9 @@ type HasMsgExprs struct { func (x *HasMsgExprs) Reset() { *x = HasMsgExprs{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HasMsgExprs) String() string { @@ -64,7 +62,7 @@ func (*HasMsgExprs) ProtoMessage() {} func (x *HasMsgExprs) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_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) @@ -104,11 +102,9 @@ type SelfRecursive struct { func (x *SelfRecursive) Reset() { *x = SelfRecursive{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SelfRecursive) String() string { @@ -119,7 +115,7 @@ func (*SelfRecursive) ProtoMessage() {} func (x *SelfRecursive) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_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) @@ -158,11 +154,9 @@ type LoopRecursiveA struct { func (x *LoopRecursiveA) Reset() { *x = LoopRecursiveA{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoopRecursiveA) String() string { @@ -173,7 +167,7 @@ func (*LoopRecursiveA) ProtoMessage() {} func (x *LoopRecursiveA) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_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) @@ -205,11 +199,9 @@ type LoopRecursiveB struct { func (x *LoopRecursiveB) Reset() { *x = LoopRecursiveB{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoopRecursiveB) String() string { @@ -220,7 +212,7 @@ func (*LoopRecursiveB) ProtoMessage() {} func (x *LoopRecursiveB) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,11 +249,9 @@ type MsgHasOneof struct { func (x *MsgHasOneof) Reset() { *x = MsgHasOneof{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MsgHasOneof) String() string { @@ -272,7 +262,7 @@ func (*MsgHasOneof) ProtoMessage() {} func (x *MsgHasOneof) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,11 +339,9 @@ type MsgHasRepeated struct { func (x *MsgHasRepeated) Reset() { *x = MsgHasRepeated{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MsgHasRepeated) String() string { @@ -364,7 +352,7 @@ func (*MsgHasRepeated) ProtoMessage() {} func (x *MsgHasRepeated) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,11 +400,9 @@ type MsgHasMap struct { func (x *MsgHasMap) Reset() { *x = MsgHasMap{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MsgHasMap) String() string { @@ -427,7 +413,7 @@ func (*MsgHasMap) ProtoMessage() {} func (x *MsgHasMap) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,11 +459,9 @@ type TransitiveFieldConstraint struct { func (x *TransitiveFieldConstraint) Reset() { *x = TransitiveFieldConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransitiveFieldConstraint) String() string { @@ -488,7 +472,7 @@ func (*TransitiveFieldConstraint) ProtoMessage() {} func (x *TransitiveFieldConstraint) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -520,11 +504,9 @@ type MultipleStepsTransitiveFieldConstraints struct { func (x *MultipleStepsTransitiveFieldConstraints) Reset() { *x = MultipleStepsTransitiveFieldConstraints{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MultipleStepsTransitiveFieldConstraints) String() string { @@ -535,7 +517,7 @@ func (*MultipleStepsTransitiveFieldConstraints) ProtoMessage() {} func (x *MultipleStepsTransitiveFieldConstraints) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -567,11 +549,9 @@ type Simple struct { func (x *Simple) Reset() { *x = Simple{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Simple) String() string { @@ -582,7 +562,7 @@ func (*Simple) ProtoMessage() {} func (x *Simple) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_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) @@ -614,11 +594,9 @@ type FieldOfTypeAny struct { func (x *FieldOfTypeAny) Reset() { *x = FieldOfTypeAny{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldOfTypeAny) String() string { @@ -629,7 +607,7 @@ func (*FieldOfTypeAny) ProtoMessage() {} func (x *FieldOfTypeAny) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -662,11 +640,9 @@ type CelMapOnARepeated struct { func (x *CelMapOnARepeated) Reset() { *x = CelMapOnARepeated{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CelMapOnARepeated) String() string { @@ -677,7 +653,7 @@ func (*CelMapOnARepeated) ProtoMessage() {} func (x *CelMapOnARepeated) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,11 +685,9 @@ type RepeatedItemCel struct { func (x *RepeatedItemCel) Reset() { *x = RepeatedItemCel{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepeatedItemCel) String() string { @@ -724,7 +698,7 @@ func (*RepeatedItemCel) ProtoMessage() {} func (x *RepeatedItemCel) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -757,11 +731,9 @@ type OneTwo struct { func (x *OneTwo) Reset() { *x = OneTwo{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OneTwo) String() string { @@ -772,7 +744,7 @@ func (*OneTwo) ProtoMessage() {} func (x *OneTwo) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -812,11 +784,9 @@ type TwoOne struct { func (x *TwoOne) Reset() { *x = TwoOne{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TwoOne) String() string { @@ -827,7 +797,7 @@ func (*TwoOne) ProtoMessage() {} func (x *TwoOne) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -867,11 +837,9 @@ type F1 struct { func (x *F1) Reset() { *x = F1{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *F1) String() string { @@ -882,7 +850,7 @@ func (*F1) ProtoMessage() {} func (x *F1) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -921,11 +889,9 @@ type F2 struct { func (x *F2) Reset() { *x = F2{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *F2) String() string { @@ -936,7 +902,7 @@ func (*F2) ProtoMessage() {} func (x *F2) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -969,11 +935,9 @@ type FieldWithIssue struct { func (x *FieldWithIssue) Reset() { *x = FieldWithIssue{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldWithIssue) String() string { @@ -984,7 +948,7 @@ func (*FieldWithIssue) ProtoMessage() {} func (x *FieldWithIssue) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,11 +987,9 @@ type CelMapOnARepeated_Value struct { func (x *CelMapOnARepeated_Value) Reset() { *x = CelMapOnARepeated_Value{} - if protoimpl.UnsafeEnabled { - mi := &file_tests_example_v1_validations_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tests_example_v1_validations_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CelMapOnARepeated_Value) String() string { @@ -1038,7 +1000,7 @@ func (*CelMapOnARepeated_Value) ProtoMessage() {} func (x *CelMapOnARepeated_Value) ProtoReflect() protoreflect.Message { mi := &file_tests_example_v1_validations_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1279,7 +1241,7 @@ func file_tests_example_v1_validations_proto_rawDescGZIP() []byte { } var file_tests_example_v1_validations_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_tests_example_v1_validations_proto_goTypes = []interface{}{ +var file_tests_example_v1_validations_proto_goTypes = []any{ (*HasMsgExprs)(nil), // 0: tests.example.v1.HasMsgExprs (*SelfRecursive)(nil), // 1: tests.example.v1.SelfRecursive (*LoopRecursiveA)(nil), // 2: tests.example.v1.LoopRecursiveA @@ -1339,237 +1301,7 @@ func file_tests_example_v1_validations_proto_init() { if File_tests_example_v1_validations_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tests_example_v1_validations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HasMsgExprs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SelfRecursive); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoopRecursiveA); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoopRecursiveB); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgHasOneof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgHasRepeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgHasMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransitiveFieldConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultipleStepsTransitiveFieldConstraints); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Simple); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldOfTypeAny); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CelMapOnARepeated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepeatedItemCel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OneTwo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TwoOne); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*F1); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*F2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldWithIssue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tests_example_v1_validations_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CelMapOnARepeated_Value); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_tests_example_v1_validations_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_tests_example_v1_validations_proto_msgTypes[4].OneofWrappers = []any{ (*MsgHasOneof_X)(nil), (*MsgHasOneof_Y)(nil), (*MsgHasOneof_Msg)(nil), From f978a3e7ee0e09593a4b57c9ae93529324158e3a Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Mon, 18 Nov 2024 11:35:22 -0600 Subject: [PATCH 2/2] Update cel-go to latest (#160) Update cel-go module to the latest version, which also pulls in a required version of Go at 1.21.1. --- go.mod | 10 +++++----- go.sum | 14 ++++++++------ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/go.mod b/go.mod index 34aeba4..9003a65 100644 --- a/go.mod +++ b/go.mod @@ -1,27 +1,27 @@ module github.com/bufbuild/protovalidate-go -go 1.21 +go 1.21.1 require ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1 github.com/envoyproxy/protoc-gen-validate v1.1.0 - github.com/google/cel-go v0.21.0 + github.com/google/cel-go v0.22.0 github.com/stretchr/testify v1.9.0 google.golang.org/protobuf v1.35.2 ) require ( + cel.dev/expr v0.18.0 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/google/go-cmp v0.6.0 // indirect github.com/kr/pretty v0.1.0 // indirect github.com/kr/text v0.2.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/stoewer/go-strcase v1.3.0 // indirect golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect golang.org/x/text v0.16.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7 // indirect gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index db77bba..ad22186 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1 h1:7QIeAuTdLp173vC/9JojRMDFcpmqtoYrxPmvdHAOynw= buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20240920164238-5a7b106cbb87.1/go.mod h1:mnHCFccv4HwuIAOHNGdiIc5ZYbBCvbTWZcodLN5wITI= +cel.dev/expr v0.18.0 h1:CJ6drgk+Hf96lkLikr4rFf19WrU0BOWEihyZnI2TAzo= +cel.dev/expr v0.18.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= @@ -8,8 +10,8 @@ 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= github.com/envoyproxy/protoc-gen-validate v1.1.0 h1:tntQDh69XqOCOZsDz0lVJQez/2L6Uu2PdjCQwWCJ3bM= github.com/envoyproxy/protoc-gen-validate v1.1.0/go.mod h1:sXRDRVmzEbkM7CVcM06s9shE/m23dg3wzjl0UWqJ2q4= -github.com/google/cel-go v0.21.0 h1:cl6uW/gxN+Hy50tNYvI691+sXxioCnstFzLp2WO4GCI= -github.com/google/cel-go v0.21.0/go.mod h1:rHUlWCcBKgyEk+eV03RPdZUekPp6YcJwV0FxuUksYxc= +github.com/google/cel-go v0.22.0 h1:b3FJZxpiv1vTMo2/5RDUqAHPxkT8mmMfJIrq1llbf7g= +github.com/google/cel-go v0.22.0/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= @@ -34,10 +36,10 @@ golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88p golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= 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/googleapis/api v0.0.0-20240401170217-c3f982113cda h1:b6F6WIV4xHHD0FA4oIyzU6mHWg2WI2X1RBehwa5QN38= -google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda/go.mod h1:AHcE/gZH76Bk/ROZhQphlRoWo5xKDEtz3eVEO1LfA8c= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 h1:YcyjlL1PRr2Q17/I0dPk2JmYS5CDXfcdb2Z3YRioEbw= +google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7/go.mod h1:OCdP9MfskevB/rbYvHTsXTtKC+3bHWajPdoKgjcYkfo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7 h1:2035KHhUv+EpyB+hWgJnaWKJOdX1E95w2S8Rr4uWKTs= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=