From 655387f8f797c3a4f4fc417f7150b064e3f6bdef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 11:53:53 +0000 Subject: [PATCH 1/2] Bump the go group with 4 updates --- updated-dependencies: - dependency-name: buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/envoyproxy/protoc-gen-validate dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/google/cel-go dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go ... Signed-off-by: dependabot[bot] --- go.mod | 12 ++++++------ go.sum | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/go.mod b/go.mod index a0ee8ba..9172feb 100644 --- a/go.mod +++ b/go.mod @@ -3,15 +3,15 @@ module github.com/bufbuild/protovalidate-go go 1.21.1 require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.3-20241127180247-a33202765966.1 - github.com/envoyproxy/protoc-gen-validate v1.1.0 - github.com/google/cel-go v0.22.1 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.4-20241127180247-a33202765966.1 + github.com/envoyproxy/protoc-gen-validate v1.2.1 + github.com/google/cel-go v0.23.0 github.com/stretchr/testify v1.10.0 - google.golang.org/protobuf v1.36.3 + google.golang.org/protobuf v1.36.4 ) require ( - cel.dev/expr v0.18.0 // indirect + cel.dev/expr v0.19.1 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/kr/pretty v0.1.0 // indirect @@ -19,7 +19,7 @@ require ( 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 + golang.org/x/text v0.21.0 // 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 diff --git a/go.sum b/go.sum index 9e0840d..5b79722 100644 --- a/go.sum +++ b/go.sum @@ -1,17 +1,17 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.3-20241127180247-a33202765966.1 h1:cQZXKoQ+eB0kykzfJe80RP3nc+3PWbbBrUBm8XNYAQY= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.3-20241127180247-a33202765966.1/go.mod h1:6VPKM8zbmgf9qsmkmKeH49a36Vtmidw3rG53B5mTenc= -cel.dev/expr v0.18.0 h1:CJ6drgk+Hf96lkLikr4rFf19WrU0BOWEihyZnI2TAzo= -cel.dev/expr v0.18.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.4-20241127180247-a33202765966.1 h1:yeaeyw0RQUe009ebxBQ3TsqBPptiNEGsiS10t+8Htuo= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.4-20241127180247-a33202765966.1/go.mod h1:novQBstnxcGpfKf8qGRATqn1anQKwMJIbH5Q581jibU= +cel.dev/expr v0.19.1 h1:NciYrtDRIR0lNCnH1LFJegdjspNx9fI59O7TWcua/W4= +cel.dev/expr v0.19.1/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= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -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.22.1 h1:AfVXx3chM2qwoSbM7Da8g8hX8OVSkBFwX+rz2+PcK40= -github.com/google/cel-go v0.22.1/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= +github.com/envoyproxy/protoc-gen-validate v1.2.1 h1:DEo3O99U8j4hBFwbJfrz9VtgcDfUKS7KJ7spH3d86P8= +github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU= +github.com/google/cel-go v0.23.0 h1:knsnzeUOcREUFo0ZFJqZI8Rk6uEVyobAlir7GEbf5v0= +github.com/google/cel-go v0.23.0/go.mod h1:52Pb6QsDbC5kvgxvZhiL9QX1oZEkcUF/ZqaPx1J5Wwo= 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,14 +34,14 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw= 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= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= 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.36.3 h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU= -google.golang.org/protobuf v1.36.3/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM= +google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/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= From 7d9031c3784904e5f765bc447ecbf95b4eafeb64 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Mon, 27 Jan 2025 10:17:01 -0600 Subject: [PATCH 2/2] Regenerate code with 1.36.4 --- buf.gen.yaml | 2 +- .../buf/validate/conformance/cases/bool.pb.go | 10 +- .../conformance/cases/bool_protoopaque.pb.go | 18 +- .../validate/conformance/cases/bytes.pb.go | 10 +- .../conformance/cases/bytes_protoopaque.pb.go | 52 +-- .../custom_constraints.pb.go | 10 +- .../custom_constraints_protoopaque.pb.go | 48 +-- .../validate/conformance/cases/enums.pb.go | 10 +- .../conformance/cases/enums_protoopaque.pb.go | 44 +- .../cases/filename-with-dash.pb.go | 10 +- .../filename-with-dash_protoopaque.pb.go | 10 +- .../cases/ignore_empty_proto2.pb.go | 10 +- .../ignore_empty_proto2_protoopaque.pb.go | 24 +- .../cases/ignore_empty_proto3.pb.go | 10 +- .../ignore_empty_proto3_protoopaque.pb.go | 26 +- .../cases/ignore_empty_proto_editions.pb.go | 10 +- ...ore_empty_proto_editions_protoopaque.pb.go | 42 +- .../conformance/cases/ignore_proto2.pb.go | 10 +- .../cases/ignore_proto2_protoopaque.pb.go | 88 ++-- .../conformance/cases/ignore_proto3.pb.go | 10 +- .../cases/ignore_proto3_protoopaque.pb.go | 76 ++-- .../cases/ignore_proto_editions.pb.go | 10 +- .../ignore_proto_editions_protoopaque.pb.go | 130 +++--- .../conformance/cases/kitchen_sink.pb.go | 10 +- .../cases/kitchen_sink_protoopaque.pb.go | 42 +- .../buf/validate/conformance/cases/maps.pb.go | 10 +- .../conformance/cases/maps_protoopaque.pb.go | 40 +- .../validate/conformance/cases/messages.pb.go | 10 +- .../cases/messages_protoopaque.pb.go | 28 +- .../validate/conformance/cases/numbers.pb.go | 10 +- .../cases/numbers_protoopaque.pb.go | 404 +++++++++--------- .../validate/conformance/cases/oneofs.pb.go | 10 +- .../cases/oneofs_protoopaque.pb.go | 12 +- .../cases/other_package/embed.pb.go | 10 +- .../other_package/embed_protoopaque.pb.go | 12 +- .../cases/predefined_rules_proto2.pb.go | 10 +- .../predefined_rules_proto2_protoopaque.pb.go | 92 ++-- .../cases/predefined_rules_proto3.pb.go | 10 +- .../predefined_rules_proto3_protoopaque.pb.go | 98 ++--- .../predefined_rules_proto_editions.pb.go | 10 +- ...ned_rules_proto_editions_protoopaque.pb.go | 94 ++-- .../validate/conformance/cases/repeated.pb.go | 10 +- .../cases/repeated_protoopaque.pb.go | 64 +-- .../cases/required_field_proto2.pb.go | 10 +- .../required_field_proto2_protoopaque.pb.go | 24 +- .../cases/required_field_proto3.pb.go | 10 +- .../required_field_proto3_protoopaque.pb.go | 22 +- .../cases/required_field_proto_editions.pb.go | 10 +- ...red_field_proto_editions_protoopaque.pb.go | 40 +- .../validate/conformance/cases/strings.pb.go | 10 +- .../cases/strings_protoopaque.pb.go | 130 +++--- .../cases/subdirectory/in_subdirectory.pb.go | 10 +- .../in_subdirectory_protoopaque.pb.go | 10 +- .../validate/conformance/cases/wkt_any.pb.go | 10 +- .../cases/wkt_any_protoopaque.pb.go | 18 +- .../conformance/cases/wkt_duration.pb.go | 10 +- .../cases/wkt_duration_protoopaque.pb.go | 42 +- .../conformance/cases/wkt_nested.pb.go | 10 +- .../cases/wkt_nested_protoopaque.pb.go | 16 +- .../conformance/cases/wkt_timestamp.pb.go | 10 +- .../cases/wkt_timestamp_protoopaque.pb.go | 48 +-- .../conformance/cases/wkt_wrappers.pb.go | 10 +- .../cases/wkt_wrappers_protoopaque.pb.go | 38 +- .../cases/yet_another_package/embed2.pb.go | 10 +- .../embed2_protoopaque.pb.go | 12 +- .../conformance/harness/harness.pb.go | 10 +- .../harness/harness_protoopaque.pb.go | 16 +- .../conformance/harness/results.pb.go | 10 +- .../harness/results_protoopaque.pb.go | 56 +-- internal/gen/tests/example/v1/example.pb.go | 10 +- .../example/v1/example_protoopaque.pb.go | 22 +- internal/gen/tests/example/v1/legacy.pb.go | 10 +- .../tests/example/v1/legacy_protoopaque.pb.go | 40 +- .../gen/tests/example/v1/predefined.pb.go | 10 +- .../example/v1/predefined_protoopaque.pb.go | 12 +- .../gen/tests/example/v1/validations.pb.go | 10 +- .../example/v1/validations_protoopaque.pb.go | 66 +-- 77 files changed, 1219 insertions(+), 1219 deletions(-) diff --git a/buf.gen.yaml b/buf.gen.yaml index f6328e2..0dae027 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -10,7 +10,7 @@ managed: - file_option: go_package_prefix value: github.com/bufbuild/protovalidate-go/internal/gen plugins: - - remote: buf.build/protocolbuffers/go:v1.36.1 + - remote: buf.build/protocolbuffers/go:v1.36.4 out: internal/gen opt: - paths=source_relative diff --git a/internal/gen/buf/validate/conformance/cases/bool.pb.go b/internal/gen/buf/validate/conformance/cases/bool.pb.go index a1e3647..294f89d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/bool.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -266,7 +267,7 @@ func (b0 BoolExample_builder) Build() *BoolExample { var File_buf_validate_conformance_cases_bool_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_bool_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_bool_proto_rawDesc = string([]byte{ 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x62, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, 0x66, @@ -303,7 +304,7 @@ var file_buf_validate_conformance_cases_bool_proto_rawDesc = []byte{ 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_bool_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_cases_bool_proto_goTypes = []any{ @@ -329,7 +330,7 @@ func file_buf_validate_conformance_cases_bool_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_bool_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bool_proto_rawDesc), len(file_buf_validate_conformance_cases_bool_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -340,7 +341,6 @@ func file_buf_validate_conformance_cases_bool_proto_init() { MessageInfos: file_buf_validate_conformance_cases_bool_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_bool_proto = out.File - file_buf_validate_conformance_cases_bool_proto_rawDesc = nil file_buf_validate_conformance_cases_bool_proto_goTypes = nil file_buf_validate_conformance_cases_bool_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/bool_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/bool_protoopaque.pb.go index e553fc7..bd18d6d 100644 --- a/internal/gen/buf/validate/conformance/cases/bool_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/bool_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/bool.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type BoolNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 BoolNone_builder) Build() *BoolNone { type BoolConstTrue struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -152,7 +153,7 @@ func (b0 BoolConstTrue_builder) Build() *BoolConstTrue { type BoolConstFalse struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -209,7 +210,7 @@ func (b0 BoolConstFalse_builder) Build() *BoolConstFalse { type BoolExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -266,7 +267,7 @@ func (b0 BoolExample_builder) Build() *BoolExample { var File_buf_validate_conformance_cases_bool_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_bool_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_bool_proto_rawDesc = string([]byte{ 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x62, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, 0x66, @@ -303,7 +304,7 @@ var file_buf_validate_conformance_cases_bool_proto_rawDesc = []byte{ 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_bool_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_cases_bool_proto_goTypes = []any{ @@ -329,7 +330,7 @@ func file_buf_validate_conformance_cases_bool_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_bool_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bool_proto_rawDesc), len(file_buf_validate_conformance_cases_bool_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -340,7 +341,6 @@ func file_buf_validate_conformance_cases_bool_proto_init() { MessageInfos: file_buf_validate_conformance_cases_bool_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_bool_proto = out.File - file_buf_validate_conformance_cases_bool_proto_rawDesc = nil file_buf_validate_conformance_cases_bool_proto_goTypes = nil file_buf_validate_conformance_cases_bool_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/bytes.pb.go b/internal/gen/buf/validate/conformance/cases/bytes.pb.go index 0ec7eb8..4c1df20 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/bytes.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1298,7 +1299,7 @@ func (b0 BytesExample_builder) Build() *BytesExample { var File_buf_validate_conformance_cases_bytes_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_bytes_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_bytes_proto_rawDesc = string([]byte{ 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, @@ -1382,7 +1383,7 @@ var file_buf_validate_conformance_cases_bytes_proto_rawDesc = []byte{ 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_buf_validate_conformance_cases_bytes_proto_goTypes = []any{ @@ -1425,7 +1426,7 @@ func file_buf_validate_conformance_cases_bytes_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_bytes_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bytes_proto_rawDesc), len(file_buf_validate_conformance_cases_bytes_proto_rawDesc)), NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1436,7 +1437,6 @@ func file_buf_validate_conformance_cases_bytes_proto_init() { MessageInfos: file_buf_validate_conformance_cases_bytes_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_bytes_proto = out.File - file_buf_validate_conformance_cases_bytes_proto_rawDesc = nil file_buf_validate_conformance_cases_bytes_proto_goTypes = nil file_buf_validate_conformance_cases_bytes_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/bytes_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/bytes_protoopaque.pb.go index 4ec03d8..db166f4 100644 --- a/internal/gen/buf/validate/conformance/cases/bytes_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/bytes_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/bytes.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type BytesNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -98,7 +99,7 @@ func (b0 BytesNone_builder) Build() *BytesNone { type BytesConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -158,7 +159,7 @@ func (b0 BytesConst_builder) Build() *BytesConst { type BytesIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -218,7 +219,7 @@ func (b0 BytesIn_builder) Build() *BytesIn { type BytesNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -278,7 +279,7 @@ func (b0 BytesNotIn_builder) Build() *BytesNotIn { type BytesLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -338,7 +339,7 @@ func (b0 BytesLen_builder) Build() *BytesLen { type BytesMinLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -398,7 +399,7 @@ func (b0 BytesMinLen_builder) Build() *BytesMinLen { type BytesMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -458,7 +459,7 @@ func (b0 BytesMaxLen_builder) Build() *BytesMaxLen { type BytesMinMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -518,7 +519,7 @@ func (b0 BytesMinMaxLen_builder) Build() *BytesMinMaxLen { type BytesEqualMinMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -578,7 +579,7 @@ func (b0 BytesEqualMinMaxLen_builder) Build() *BytesEqualMinMaxLen { type BytesPattern struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -638,7 +639,7 @@ func (b0 BytesPattern_builder) Build() *BytesPattern { type BytesPrefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -698,7 +699,7 @@ func (b0 BytesPrefix_builder) Build() *BytesPrefix { type BytesContains struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -758,7 +759,7 @@ func (b0 BytesContains_builder) Build() *BytesContains { type BytesSuffix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -818,7 +819,7 @@ func (b0 BytesSuffix_builder) Build() *BytesSuffix { type BytesIP struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -878,7 +879,7 @@ func (b0 BytesIP_builder) Build() *BytesIP { type BytesNotIP struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -938,7 +939,7 @@ func (b0 BytesNotIP_builder) Build() *BytesNotIP { type BytesIPv4 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -998,7 +999,7 @@ func (b0 BytesIPv4_builder) Build() *BytesIPv4 { type BytesNotIPv4 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1058,7 +1059,7 @@ func (b0 BytesNotIPv4_builder) Build() *BytesNotIPv4 { type BytesIPv6 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1118,7 +1119,7 @@ func (b0 BytesIPv6_builder) Build() *BytesIPv6 { type BytesNotIPv6 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1178,7 +1179,7 @@ func (b0 BytesNotIPv6_builder) Build() *BytesNotIPv6 { type BytesIPv6Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1238,7 +1239,7 @@ func (b0 BytesIPv6Ignore_builder) Build() *BytesIPv6Ignore { type BytesExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1298,7 +1299,7 @@ func (b0 BytesExample_builder) Build() *BytesExample { var File_buf_validate_conformance_cases_bytes_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_bytes_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_bytes_proto_rawDesc = string([]byte{ 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, @@ -1382,7 +1383,7 @@ var file_buf_validate_conformance_cases_bytes_proto_rawDesc = []byte{ 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_buf_validate_conformance_cases_bytes_proto_goTypes = []any{ @@ -1425,7 +1426,7 @@ func file_buf_validate_conformance_cases_bytes_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_bytes_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bytes_proto_rawDesc), len(file_buf_validate_conformance_cases_bytes_proto_rawDesc)), NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1436,7 +1437,6 @@ func file_buf_validate_conformance_cases_bytes_proto_init() { MessageInfos: file_buf_validate_conformance_cases_bytes_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_bytes_proto = out.File - file_buf_validate_conformance_cases_bytes_proto_rawDesc = nil file_buf_validate_conformance_cases_bytes_proto_goTypes = nil file_buf_validate_conformance_cases_bytes_proto_depIdxs = nil } 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 abf6b8b..631298d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/custom_constraints/custom_constraints.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -821,7 +822,7 @@ func (b0 FieldExpressions_Nested_builder) Build() *FieldExpressions_Nested { var File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = string([]byte{ 0x0a, 0x4a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, @@ -987,7 +988,7 @@ var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_pr 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1029,7 +1030,7 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc), len(file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc)), NumEnums: 1, NumMessages: 10, NumExtensions: 0, @@ -1041,7 +1042,6 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p MessageInfos: file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto = out.File - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = nil file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_goTypes = nil file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_protoopaque.pb.go index 974894f..da93dd0 100644 --- a/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/custom_constraints/custom_constraints.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -80,9 +81,9 @@ func (x Enum) Number() protoreflect.EnumNumber { // A message that does not contain any expressions type NoExpressions struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"b,omitempty"` - xxx_hidden_C *NoExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` + xxx_hidden_B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum"` + xxx_hidden_C *NoExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -177,12 +178,12 @@ func (b0 NoExpressions_builder) Build() *NoExpressions { // A message with message-level custom expressions type MessageExpressions struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` - xxx_hidden_C Enum `protobuf:"varint,3,opt,name=c,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"c,omitempty"` - xxx_hidden_D Enum `protobuf:"varint,4,opt,name=d,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"d,omitempty"` - xxx_hidden_E *MessageExpressions_Nested `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` - xxx_hidden_F *MessageExpressions_Nested `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` + xxx_hidden_B int32 `protobuf:"varint,2,opt,name=b,proto3"` + xxx_hidden_C Enum `protobuf:"varint,3,opt,name=c,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum"` + xxx_hidden_D Enum `protobuf:"varint,4,opt,name=d,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum"` + xxx_hidden_E *MessageExpressions_Nested `protobuf:"bytes,5,opt,name=e,proto3"` + xxx_hidden_F *MessageExpressions_Nested `protobuf:"bytes,6,opt,name=f,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -326,10 +327,10 @@ func (b0 MessageExpressions_builder) Build() *MessageExpressions { type FieldExpressions struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"b,omitempty"` - xxx_hidden_C *FieldExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` - xxx_hidden_D int32 `protobuf:"varint,4,opt,name=d,proto3" json:"d,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` + xxx_hidden_B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum"` + xxx_hidden_C *FieldExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3"` + xxx_hidden_D int32 `protobuf:"varint,4,opt,name=d,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -436,7 +437,7 @@ func (b0 FieldExpressions_builder) Build() *FieldExpressions { type MissingField struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -493,7 +494,7 @@ func (b0 MissingField_builder) Build() *MissingField { type IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -550,7 +551,7 @@ func (b0 IncorrectType_builder) Build() *IncorrectType { type DynRuntimeError struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -693,8 +694,8 @@ func (b0 NoExpressions_Nested_builder) Build() *NoExpressions_Nested { type MessageExpressions_Nested struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` + xxx_hidden_B int32 `protobuf:"varint,2,opt,name=b,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -764,7 +765,7 @@ func (b0 MessageExpressions_Nested_builder) Build() *MessageExpressions_Nested { type FieldExpressions_Nested struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"varint,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -821,7 +822,7 @@ func (b0 FieldExpressions_Nested_builder) Build() *FieldExpressions_Nested { var File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = string([]byte{ 0x0a, 0x4a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, @@ -987,7 +988,7 @@ var file_buf_validate_conformance_cases_custom_constraints_custom_constraints_pr 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1029,7 +1030,7 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc), len(file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc)), NumEnums: 1, NumMessages: 10, NumExtensions: 0, @@ -1041,7 +1042,6 @@ func file_buf_validate_conformance_cases_custom_constraints_custom_constraints_p MessageInfos: file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto = out.File - file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_rawDesc = nil file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_goTypes = nil file_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/enums.pb.go b/internal/gen/buf/validate/conformance/cases/enums.pb.go index e273445..cf334c6 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/enums.proto @@ -29,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1332,7 +1333,7 @@ func (b0 EnumExample_builder) Build() *EnumExample { var File_buf_validate_conformance_cases_enums_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_enums_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_enums_proto_rawDesc = string([]byte{ 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, @@ -1515,7 +1516,7 @@ var file_buf_validate_conformance_cases_enums_proto_rawDesc = []byte{ 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1588,7 +1589,7 @@ func file_buf_validate_conformance_cases_enums_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_enums_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_enums_proto_rawDesc), len(file_buf_validate_conformance_cases_enums_proto_rawDesc)), NumEnums: 2, NumMessages: 20, NumExtensions: 0, @@ -1600,7 +1601,6 @@ func file_buf_validate_conformance_cases_enums_proto_init() { MessageInfos: file_buf_validate_conformance_cases_enums_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_enums_proto = out.File - file_buf_validate_conformance_cases_enums_proto_rawDesc = nil file_buf_validate_conformance_cases_enums_proto_goTypes = nil file_buf_validate_conformance_cases_enums_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/enums_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/enums_protoopaque.pb.go index 25ddbe1..6b2fd83 100644 --- a/internal/gen/buf/validate/conformance/cases/enums_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/enums_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/enums.proto @@ -29,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -140,7 +141,7 @@ func (x TestEnumAlias) Number() protoreflect.EnumNumber { type EnumNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -197,7 +198,7 @@ func (b0 EnumNone_builder) Build() *EnumNone { type EnumConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -254,7 +255,7 @@ func (b0 EnumConst_builder) Build() *EnumConst { type EnumAliasConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -311,7 +312,7 @@ func (b0 EnumAliasConst_builder) Build() *EnumAliasConst { type EnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -368,7 +369,7 @@ func (b0 EnumDefined_builder) Build() *EnumDefined { type EnumAliasDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -425,7 +426,7 @@ func (b0 EnumAliasDefined_builder) Build() *EnumAliasDefined { type EnumIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -482,7 +483,7 @@ func (b0 EnumIn_builder) Build() *EnumIn { type EnumAliasIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -539,7 +540,7 @@ func (b0 EnumAliasIn_builder) Build() *EnumAliasIn { type EnumNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -596,7 +597,7 @@ func (b0 EnumNotIn_builder) Build() *EnumNotIn { type EnumAliasNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + xxx_hidden_Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -653,7 +654,7 @@ func (b0 EnumAliasNotIn_builder) Build() *EnumAliasNotIn { type EnumExternal struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val other_package.Embed_Enumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated" json:"val,omitempty"` + xxx_hidden_Val other_package.Embed_Enumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -710,7 +711,7 @@ func (b0 EnumExternal_builder) Build() *EnumExternal { type EnumExternal2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val other_package.Embed_DoubleEmbed_DoubleEnumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_DoubleEmbed_DoubleEnumerated" json:"val,omitempty"` + xxx_hidden_Val other_package.Embed_DoubleEmbed_DoubleEnumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_DoubleEmbed_DoubleEnumerated"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -767,7 +768,7 @@ func (b0 EnumExternal2_builder) Build() *EnumExternal2 { type RepeatedEnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []TestEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val []TestEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -824,7 +825,7 @@ func (b0 RepeatedEnumDefined_builder) Build() *RepeatedEnumDefined { type RepeatedExternalEnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []other_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated" json:"val,omitempty"` + xxx_hidden_Val []other_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -881,7 +882,7 @@ func (b0 RepeatedExternalEnumDefined_builder) Build() *RepeatedExternalEnumDefin type RepeatedYetAnotherExternalEnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []yet_another_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.yet_another_package.Embed_Enumerated" json:"val,omitempty"` + xxx_hidden_Val []yet_another_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.yet_another_package.Embed_Enumerated"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -938,7 +939,7 @@ func (b0 RepeatedYetAnotherExternalEnumDefined_builder) Build() *RepeatedYetAnot type MapEnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]TestEnum `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.TestEnum"` + xxx_hidden_Val map[string]TestEnum `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -995,7 +996,7 @@ func (b0 MapEnumDefined_builder) Build() *MapEnumDefined { type MapExternalEnumDefined struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]other_package.Embed_Enumerated `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated"` + xxx_hidden_Val map[string]other_package.Embed_Enumerated `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1255,7 +1256,7 @@ func (*enumInsideOneof_Val2) isEnumInsideOneof_Bar() {} type EnumExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + xxx_hidden_Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1312,7 +1313,7 @@ func (b0 EnumExample_builder) Build() *EnumExample { var File_buf_validate_conformance_cases_enums_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_enums_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_enums_proto_rawDesc = string([]byte{ 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, @@ -1495,7 +1496,7 @@ var file_buf_validate_conformance_cases_enums_proto_rawDesc = []byte{ 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1568,7 +1569,7 @@ func file_buf_validate_conformance_cases_enums_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_enums_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_enums_proto_rawDesc), len(file_buf_validate_conformance_cases_enums_proto_rawDesc)), NumEnums: 2, NumMessages: 20, NumExtensions: 0, @@ -1580,7 +1581,6 @@ func file_buf_validate_conformance_cases_enums_proto_init() { MessageInfos: file_buf_validate_conformance_cases_enums_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_enums_proto = out.File - file_buf_validate_conformance_cases_enums_proto_rawDesc = nil file_buf_validate_conformance_cases_enums_proto_goTypes = nil file_buf_validate_conformance_cases_enums_proto_depIdxs = 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 4317f9c..2aade3c 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/filename-with-dash.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( var File_buf_validate_conformance_cases_filename_with_dash_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = string([]byte{ 0x0a, 0x37, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x2d, 0x77, 0x69, 0x74, 0x68, 0x2d, 0x64, @@ -66,7 +67,7 @@ var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = []byt 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = []any{} var file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = []int32{ @@ -86,7 +87,7 @@ func file_buf_validate_conformance_cases_filename_with_dash_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc), len(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -96,7 +97,6 @@ func file_buf_validate_conformance_cases_filename_with_dash_proto_init() { DependencyIndexes: file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs, }.Build() File_buf_validate_conformance_cases_filename_with_dash_proto = out.File - file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = nil file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = nil file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/filename-with-dash_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/filename-with-dash_protoopaque.pb.go index abc48ab..ad6a8b8 100644 --- a/internal/gen/buf/validate/conformance/cases/filename-with-dash_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/filename-with-dash_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/filename-with-dash.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( var File_buf_validate_conformance_cases_filename_with_dash_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = string([]byte{ 0x0a, 0x37, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x2d, 0x77, 0x69, 0x74, 0x68, 0x2d, 0x64, @@ -66,7 +67,7 @@ var file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = []byt 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = []any{} var file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = []int32{ @@ -86,7 +87,7 @@ func file_buf_validate_conformance_cases_filename_with_dash_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc), len(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -96,7 +97,6 @@ func file_buf_validate_conformance_cases_filename_with_dash_proto_init() { DependencyIndexes: file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs, }.Build() File_buf_validate_conformance_cases_filename_with_dash_proto = out.File - file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = nil file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = nil file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = nil } 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 942cc83..8984b6f 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -630,7 +631,7 @@ func (b0 IgnoreEmptyProto2Message_Msg_builder) Build() *IgnoreEmptyProto2Message var File_buf_validate_conformance_cases_ignore_empty_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -702,7 +703,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = []by 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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 = []any{ @@ -738,7 +739,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -749,7 +750,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto2_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2_protoopaque.pb.go index 0aaece8..7f8be07 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto2_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type IgnoreEmptyProto2ScalarOptional struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -113,7 +114,7 @@ func (b0 IgnoreEmptyProto2ScalarOptional_builder) Build() *IgnoreEmptyProto2Scal type IgnoreEmptyProto2ScalarOptionalWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -194,7 +195,7 @@ func (b0 IgnoreEmptyProto2ScalarOptionalWithDefault_builder) Build() *IgnoreEmpt type IgnoreEmptyProto2ScalarRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -269,7 +270,7 @@ func (b0 IgnoreEmptyProto2ScalarRequired_builder) Build() *IgnoreEmptyProto2Scal type IgnoreEmptyProto2Message struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyProto2Message_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyProto2Message_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -460,7 +461,7 @@ func (*ignoreEmptyProto2Oneof_Val) isIgnoreEmptyProto2Oneof_O() {} type IgnoreEmptyProto2Repeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -517,7 +518,7 @@ func (b0 IgnoreEmptyProto2Repeated_builder) Build() *IgnoreEmptyProto2Repeated { type IgnoreEmptyProto2Map struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -574,7 +575,7 @@ func (b0 IgnoreEmptyProto2Map_builder) Build() *IgnoreEmptyProto2Map { type IgnoreEmptyProto2Message_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -652,7 +653,7 @@ func (b0 IgnoreEmptyProto2Message_Msg_builder) Build() *IgnoreEmptyProto2Message var File_buf_validate_conformance_cases_ignore_empty_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -724,7 +725,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = []by 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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 = []any{ @@ -760,7 +761,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -771,7 +772,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto2_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto2_proto_depIdxs = nil } 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 55961ab..f78646d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -649,7 +650,7 @@ func (b0 IgnoreEmptyProto3Message_Msg_builder) Build() *IgnoreEmptyProto3Message var File_buf_validate_conformance_cases_ignore_empty_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -733,7 +734,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = []by 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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 = []any{ @@ -774,7 +775,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -785,7 +786,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto3_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto3_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3_protoopaque.pb.go index 2ff1408..6dc802b 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto3_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type IgnoreEmptyProto3Scalar struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 IgnoreEmptyProto3Scalar_builder) Build() *IgnoreEmptyProto3Scalar { type IgnoreEmptyProto3OptionalScalar struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -170,7 +171,7 @@ func (b0 IgnoreEmptyProto3OptionalScalar_builder) Build() *IgnoreEmptyProto3Opti type IgnoreEmptyProto3Message struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -361,7 +362,7 @@ func (*ignoreEmptyProto3Oneof_Val) isIgnoreEmptyProto3Oneof_O() {} type IgnoreEmptyProto3Repeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -418,7 +419,7 @@ func (b0 IgnoreEmptyProto3Repeated_builder) Build() *IgnoreEmptyProto3Repeated { type IgnoreEmptyProto3Map struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -475,7 +476,7 @@ func (b0 IgnoreEmptyProto3Map_builder) Build() *IgnoreEmptyProto3Map { type IgnoreEmptyRepeatedItems struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -532,7 +533,7 @@ func (b0 IgnoreEmptyRepeatedItems_builder) Build() *IgnoreEmptyRepeatedItems { type IgnoreEmptyMapPairs struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[string]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -589,7 +590,7 @@ func (b0 IgnoreEmptyMapPairs_builder) Build() *IgnoreEmptyMapPairs { type IgnoreEmptyProto3Message_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -646,7 +647,7 @@ func (b0 IgnoreEmptyProto3Message_Msg_builder) Build() *IgnoreEmptyProto3Message var File_buf_validate_conformance_cases_ignore_empty_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -730,7 +731,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = []by 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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 = []any{ @@ -771,7 +772,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -782,7 +783,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto3_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto3_proto_depIdxs = nil } 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 3984dee..8870d01 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1225,7 +1226,7 @@ func (b0 IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg_builder) Build() var File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x40, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -1367,7 +1368,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDes 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -1415,7 +1416,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init( out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 18, NumExtensions: 0, @@ -1426,7 +1427,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init( MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_protoopaque.pb.go index 23e02b4..537bc9a 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_empty_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type IgnoreEmptyEditionsScalarExplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -113,7 +114,7 @@ func (b0 IgnoreEmptyEditionsScalarExplicitPresence_builder) Build() *IgnoreEmpty type IgnoreEmptyEditionsScalarExplicitPresenceWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -194,7 +195,7 @@ func (b0 IgnoreEmptyEditionsScalarExplicitPresenceWithDefault_builder) Build() * type IgnoreEmptyEditionsScalarImplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -251,7 +252,7 @@ func (b0 IgnoreEmptyEditionsScalarImplicitPresence_builder) Build() *IgnoreEmpty type IgnoreEmptyEditionsScalarLegacyRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -326,7 +327,7 @@ func (b0 IgnoreEmptyEditionsScalarLegacyRequired_builder) Build() *IgnoreEmptyEd type IgnoreEmptyEditionsScalarLegacyRequiredWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -407,7 +408,7 @@ func (b0 IgnoreEmptyEditionsScalarLegacyRequiredWithDefault_builder) Build() *Ig type IgnoreEmptyEditionsMessageExplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -475,7 +476,7 @@ func (b0 IgnoreEmptyEditionsMessageExplicitPresence_builder) Build() *IgnoreEmpt type IgnoreEmptyEditionsMessageExplicitPresenceDelimited struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -543,7 +544,7 @@ func (b0 IgnoreEmptyEditionsMessageExplicitPresenceDelimited_builder) Build() *I type IgnoreEmptyEditionsMessageLegacyRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -611,7 +612,7 @@ func (b0 IgnoreEmptyEditionsMessageLegacyRequired_builder) Build() *IgnoreEmptyE type IgnoreEmptyEditionsMessageLegacyRequiredDelimited struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -802,7 +803,7 @@ func (*ignoreEmptyEditionsOneof_Val) isIgnoreEmptyEditionsOneof_O() {} type IgnoreEmptyEditionsRepeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -859,7 +860,7 @@ func (b0 IgnoreEmptyEditionsRepeated_builder) Build() *IgnoreEmptyEditionsRepeat type IgnoreEmptyEditionsRepeatedExpanded struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -916,7 +917,7 @@ func (b0 IgnoreEmptyEditionsRepeatedExpanded_builder) Build() *IgnoreEmptyEditio type IgnoreEmptyEditionsMap struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -973,7 +974,7 @@ func (b0 IgnoreEmptyEditionsMap_builder) Build() *IgnoreEmptyEditionsMap { type IgnoreEmptyEditionsMessageExplicitPresence_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1051,7 +1052,7 @@ func (b0 IgnoreEmptyEditionsMessageExplicitPresence_Msg_builder) Build() *Ignore type IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1129,7 +1130,7 @@ func (b0 IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg_builder) Build( type IgnoreEmptyEditionsMessageLegacyRequired_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1207,7 +1208,7 @@ func (b0 IgnoreEmptyEditionsMessageLegacyRequired_Msg_builder) Build() *IgnoreEm type IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1285,7 +1286,7 @@ func (b0 IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg_builder) Build() var File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x40, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x70, 0x72, @@ -1427,7 +1428,7 @@ var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDes 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -1475,7 +1476,7 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init( out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 18, NumExtensions: 0, @@ -1486,7 +1487,6 @@ func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init( MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto = out.File - file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_depIdxs = nil } 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 6ccdfff..1fa6a0c 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -3368,7 +3369,7 @@ func (b0 Proto2MessageRequiredIgnoreDefault_Msg_builder) Build() *Proto2MessageR var File_buf_validate_conformance_cases_ignore_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x70, @@ -3692,7 +3693,7 @@ var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = []byte{ 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) var file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 54) var file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = []any{ @@ -3801,7 +3802,7 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 54, NumExtensions: 0, @@ -3812,7 +3813,6 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto2_proto = out.File - file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto2_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto2_protoopaque.pb.go index ab8d22d..69e45ca 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto2_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto2_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type Proto2ScalarOptionalIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -113,7 +114,7 @@ func (b0 Proto2ScalarOptionalIgnoreUnspecified_builder) Build() *Proto2ScalarOpt type Proto2ScalarOptionalIgnoreUnspecifiedWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -194,7 +195,7 @@ func (b0 Proto2ScalarOptionalIgnoreUnspecifiedWithDefault_builder) Build() *Prot type Proto2ScalarOptionalIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -269,7 +270,7 @@ func (b0 Proto2ScalarOptionalIgnoreEmpty_builder) Build() *Proto2ScalarOptionalI type Proto2ScalarOptionalIgnoreEmptyWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -350,7 +351,7 @@ func (b0 Proto2ScalarOptionalIgnoreEmptyWithDefault_builder) Build() *Proto2Scal type Proto2ScalarOptionalIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -425,7 +426,7 @@ func (b0 Proto2ScalarOptionalIgnoreDefault_builder) Build() *Proto2ScalarOptiona type Proto2ScalarOptionalIgnoreDefaultWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -506,7 +507,7 @@ func (b0 Proto2ScalarOptionalIgnoreDefaultWithDefault_builder) Build() *Proto2Sc type Proto2ScalarRequiredIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -581,7 +582,7 @@ func (b0 Proto2ScalarRequiredIgnoreUnspecified_builder) Build() *Proto2ScalarReq type Proto2ScalarRequiredIgnoreUnspecifiedWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -662,7 +663,7 @@ func (b0 Proto2ScalarRequiredIgnoreUnspecifiedWithDefault_builder) Build() *Prot type Proto2ScalarRequiredIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -737,7 +738,7 @@ func (b0 Proto2ScalarRequiredIgnoreEmpty_builder) Build() *Proto2ScalarRequiredI type Proto2ScalarRequiredIgnoreEmptyWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -818,7 +819,7 @@ func (b0 Proto2ScalarRequiredIgnoreEmptyWithDefault_builder) Build() *Proto2Scal type Proto2ScalarRequiredIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -893,7 +894,7 @@ func (b0 Proto2ScalarRequiredIgnoreDefault_builder) Build() *Proto2ScalarRequire type Proto2ScalarRequiredIgnoreDefaultWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -974,7 +975,7 @@ func (b0 Proto2ScalarRequiredIgnoreDefaultWithDefault_builder) Build() *Proto2Sc type Proto2MessageOptionalIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1042,7 +1043,7 @@ func (b0 Proto2MessageOptionalIgnoreUnspecified_builder) Build() *Proto2MessageO type Proto2MessageOptionalIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1110,7 +1111,7 @@ func (b0 Proto2MessageOptionalIgnoreEmpty_builder) Build() *Proto2MessageOptiona type Proto2MessageOptionalIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageOptionalIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageOptionalIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1178,7 +1179,7 @@ func (b0 Proto2MessageOptionalIgnoreDefault_builder) Build() *Proto2MessageOptio type Proto2MessageRequiredIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1246,7 +1247,7 @@ func (b0 Proto2MessageRequiredIgnoreUnspecified_builder) Build() *Proto2MessageR type Proto2MessageRequiredIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1314,7 +1315,7 @@ func (b0 Proto2MessageRequiredIgnoreEmpty_builder) Build() *Proto2MessageRequire type Proto2MessageRequiredIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto2MessageRequiredIgnoreDefault_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *Proto2MessageRequiredIgnoreDefault_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2135,7 +2136,7 @@ func (*proto2OneofIgnoreDefaultWithDefault_Val) isProto2OneofIgnoreDefaultWithDe type Proto2RepeatedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2192,7 +2193,7 @@ func (b0 Proto2RepeatedIgnoreUnspecified_builder) Build() *Proto2RepeatedIgnoreU type Proto2RepeatedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2249,7 +2250,7 @@ func (b0 Proto2RepeatedIgnoreEmpty_builder) Build() *Proto2RepeatedIgnoreEmpty { type Proto2RepeatedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2306,7 +2307,7 @@ func (b0 Proto2RepeatedIgnoreDefault_builder) Build() *Proto2RepeatedIgnoreDefau type Proto2MapIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2363,7 +2364,7 @@ func (b0 Proto2MapIgnoreUnspecified_builder) Build() *Proto2MapIgnoreUnspecified type Proto2MapIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2420,7 +2421,7 @@ func (b0 Proto2MapIgnoreEmpty_builder) Build() *Proto2MapIgnoreEmpty { type Proto2MapIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2477,7 +2478,7 @@ func (b0 Proto2MapIgnoreDefault_builder) Build() *Proto2MapIgnoreDefault { type Proto2RepeatedItemIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2534,7 +2535,7 @@ func (b0 Proto2RepeatedItemIgnoreUnspecified_builder) Build() *Proto2RepeatedIte type Proto2RepeatedItemIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2591,7 +2592,7 @@ func (b0 Proto2RepeatedItemIgnoreEmpty_builder) Build() *Proto2RepeatedItemIgnor type Proto2RepeatedItemIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2648,7 +2649,7 @@ func (b0 Proto2RepeatedItemIgnoreDefault_builder) Build() *Proto2RepeatedItemIgn type Proto2MapKeyIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2705,7 +2706,7 @@ func (b0 Proto2MapKeyIgnoreUnspecified_builder) Build() *Proto2MapKeyIgnoreUnspe type Proto2MapKeyIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2762,7 +2763,7 @@ func (b0 Proto2MapKeyIgnoreEmpty_builder) Build() *Proto2MapKeyIgnoreEmpty { type Proto2MapKeyIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2819,7 +2820,7 @@ func (b0 Proto2MapKeyIgnoreDefault_builder) Build() *Proto2MapKeyIgnoreDefault { type Proto2MapValueIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2876,7 +2877,7 @@ func (b0 Proto2MapValueIgnoreUnspecified_builder) Build() *Proto2MapValueIgnoreU type Proto2MapValueIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2933,7 +2934,7 @@ func (b0 Proto2MapValueIgnoreEmpty_builder) Build() *Proto2MapValueIgnoreEmpty { type Proto2MapValueIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2990,7 +2991,7 @@ func (b0 Proto2MapValueIgnoreDefault_builder) Build() *Proto2MapValueIgnoreDefau type Proto2MessageOptionalIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3068,7 +3069,7 @@ func (b0 Proto2MessageOptionalIgnoreUnspecified_Msg_builder) Build() *Proto2Mess type Proto2MessageOptionalIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3146,7 +3147,7 @@ func (b0 Proto2MessageOptionalIgnoreEmpty_Msg_builder) Build() *Proto2MessageOpt type Proto2MessageOptionalIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3224,7 +3225,7 @@ func (b0 Proto2MessageOptionalIgnoreDefault_Msg_builder) Build() *Proto2MessageO type Proto2MessageRequiredIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3302,7 +3303,7 @@ func (b0 Proto2MessageRequiredIgnoreUnspecified_Msg_builder) Build() *Proto2Mess type Proto2MessageRequiredIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3380,7 +3381,7 @@ func (b0 Proto2MessageRequiredIgnoreEmpty_Msg_builder) Build() *Proto2MessageReq type Proto2MessageRequiredIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3458,7 +3459,7 @@ func (b0 Proto2MessageRequiredIgnoreDefault_Msg_builder) Build() *Proto2MessageR var File_buf_validate_conformance_cases_ignore_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x70, @@ -3782,7 +3783,7 @@ var file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = []byte{ 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) var file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 54) var file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = []any{ @@ -3891,7 +3892,7 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 54, NumExtensions: 0, @@ -3902,7 +3903,6 @@ func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto2_proto = out.File - file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto2_proto_depIdxs = nil } 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 dcc47f2..da58c5b 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -2483,7 +2484,7 @@ func (b0 Proto3MessageIgnoreDefault_Msg_builder) Build() *Proto3MessageIgnoreDef var File_buf_validate_conformance_cases_ignore_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x70, @@ -2766,7 +2767,7 @@ var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = []byte{ 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 45) var file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = []any{ @@ -2869,7 +2870,7 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 45, NumExtensions: 0, @@ -2880,7 +2881,6 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto3_proto = out.File - file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto3_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto3_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto3_protoopaque.pb.go index cf6c8f7..bfeeffe 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto3_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto3_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type Proto3ScalarOptionalIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -113,7 +114,7 @@ func (b0 Proto3ScalarOptionalIgnoreUnspecified_builder) Build() *Proto3ScalarOpt type Proto3ScalarOptionalIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -188,7 +189,7 @@ func (b0 Proto3ScalarOptionalIgnoreEmpty_builder) Build() *Proto3ScalarOptionalI type Proto3ScalarOptionalIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -263,7 +264,7 @@ func (b0 Proto3ScalarOptionalIgnoreDefault_builder) Build() *Proto3ScalarOptiona type Proto3ScalarIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -320,7 +321,7 @@ func (b0 Proto3ScalarIgnoreUnspecified_builder) Build() *Proto3ScalarIgnoreUnspe type Proto3ScalarIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -377,7 +378,7 @@ func (b0 Proto3ScalarIgnoreEmpty_builder) Build() *Proto3ScalarIgnoreEmpty { type Proto3ScalarIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -434,7 +435,7 @@ func (b0 Proto3ScalarIgnoreDefault_builder) Build() *Proto3ScalarIgnoreDefault { type Proto3MessageOptionalIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -502,7 +503,7 @@ func (b0 Proto3MessageOptionalIgnoreUnspecified_builder) Build() *Proto3MessageO type Proto3MessageOptionalIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -570,7 +571,7 @@ func (b0 Proto3MessageOptionalIgnoreEmpty_builder) Build() *Proto3MessageOptiona type Proto3MessageOptionalIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageOptionalIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageOptionalIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -638,7 +639,7 @@ func (b0 Proto3MessageOptionalIgnoreDefault_builder) Build() *Proto3MessageOptio type Proto3MessageIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -706,7 +707,7 @@ func (b0 Proto3MessageIgnoreUnspecified_builder) Build() *Proto3MessageIgnoreUns type Proto3MessageIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -774,7 +775,7 @@ func (b0 Proto3MessageIgnoreEmpty_builder) Build() *Proto3MessageIgnoreEmpty { type Proto3MessageIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *Proto3MessageIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *Proto3MessageIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1211,7 +1212,7 @@ func (*proto3OneofIgnoreDefault_Val) isProto3OneofIgnoreDefault_O() {} type Proto3RepeatedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1268,7 +1269,7 @@ func (b0 Proto3RepeatedIgnoreUnspecified_builder) Build() *Proto3RepeatedIgnoreU type Proto3RepeatedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1325,7 +1326,7 @@ func (b0 Proto3RepeatedIgnoreEmpty_builder) Build() *Proto3RepeatedIgnoreEmpty { type Proto3RepeatedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1382,7 +1383,7 @@ func (b0 Proto3RepeatedIgnoreDefault_builder) Build() *Proto3RepeatedIgnoreDefau type Proto3MapIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1439,7 +1440,7 @@ func (b0 Proto3MapIgnoreUnspecified_builder) Build() *Proto3MapIgnoreUnspecified type Proto3MapIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1496,7 +1497,7 @@ func (b0 Proto3MapIgnoreEmpty_builder) Build() *Proto3MapIgnoreEmpty { type Proto3MapIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1553,7 +1554,7 @@ func (b0 Proto3MapIgnoreDefault_builder) Build() *Proto3MapIgnoreDefault { type Proto3RepeatedItemIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1610,7 +1611,7 @@ func (b0 Proto3RepeatedItemIgnoreUnspecified_builder) Build() *Proto3RepeatedIte type Proto3RepeatedItemIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1667,7 +1668,7 @@ func (b0 Proto3RepeatedItemIgnoreEmpty_builder) Build() *Proto3RepeatedItemIgnor type Proto3RepeatedItemIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1724,7 +1725,7 @@ func (b0 Proto3RepeatedItemIgnoreDefault_builder) Build() *Proto3RepeatedItemIgn type Proto3MapKeyIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1781,7 +1782,7 @@ func (b0 Proto3MapKeyIgnoreUnspecified_builder) Build() *Proto3MapKeyIgnoreUnspe type Proto3MapKeyIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1838,7 +1839,7 @@ func (b0 Proto3MapKeyIgnoreEmpty_builder) Build() *Proto3MapKeyIgnoreEmpty { type Proto3MapKeyIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1895,7 +1896,7 @@ func (b0 Proto3MapKeyIgnoreDefault_builder) Build() *Proto3MapKeyIgnoreDefault { type Proto3MapValueIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1952,7 +1953,7 @@ func (b0 Proto3MapValueIgnoreUnspecified_builder) Build() *Proto3MapValueIgnoreU type Proto3MapValueIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2009,7 +2010,7 @@ func (b0 Proto3MapValueIgnoreEmpty_builder) Build() *Proto3MapValueIgnoreEmpty { type Proto3MapValueIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2066,7 +2067,7 @@ func (b0 Proto3MapValueIgnoreDefault_builder) Build() *Proto3MapValueIgnoreDefau type Proto3MessageOptionalIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2144,7 +2145,7 @@ func (b0 Proto3MessageOptionalIgnoreUnspecified_Msg_builder) Build() *Proto3Mess type Proto3MessageOptionalIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2222,7 +2223,7 @@ func (b0 Proto3MessageOptionalIgnoreEmpty_Msg_builder) Build() *Proto3MessageOpt type Proto3MessageOptionalIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2300,7 +2301,7 @@ func (b0 Proto3MessageOptionalIgnoreDefault_Msg_builder) Build() *Proto3MessageO type Proto3MessageIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2378,7 +2379,7 @@ func (b0 Proto3MessageIgnoreUnspecified_Msg_builder) Build() *Proto3MessageIgnor type Proto3MessageIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2456,7 +2457,7 @@ func (b0 Proto3MessageIgnoreEmpty_Msg_builder) Build() *Proto3MessageIgnoreEmpty type Proto3MessageIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2534,7 +2535,7 @@ func (b0 Proto3MessageIgnoreDefault_Msg_builder) Build() *Proto3MessageIgnoreDef var File_buf_validate_conformance_cases_ignore_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x70, @@ -2817,7 +2818,7 @@ var file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = []byte{ 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 45) var file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = []any{ @@ -2920,7 +2921,7 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 45, NumExtensions: 0, @@ -2931,7 +2932,6 @@ func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto3_proto = out.File - file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto3_proto_depIdxs = nil } 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 51546d5..8a82a7c 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -4698,7 +4699,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg_builder) Build( var File_buf_validate_conformance_cases_ignore_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x65, 0x64, @@ -5194,7 +5195,7 @@ var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = [] 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -5330,7 +5331,7 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 75, NumExtensions: 0, @@ -5341,7 +5342,6 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto_editions_proto = out.File - file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/ignore_proto_editions_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/ignore_proto_editions_protoopaque.pb.go index 5eb5a5c..b0fb19f 100644 --- a/internal/gen/buf/validate/conformance/cases/ignore_proto_editions_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/ignore_proto_editions_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/ignore_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type EditionsScalarExplicitPresenceIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -113,7 +114,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreUnspecified_builder) Build() *Editi type EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -194,7 +195,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault_builder) Bui type EditionsScalarExplicitPresenceIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -269,7 +270,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreEmpty_builder) Build() *EditionsSca type EditionsScalarExplicitPresenceIgnoreEmptyWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -350,7 +351,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreEmptyWithDefault_builder) Build() * type EditionsScalarExplicitPresenceIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -425,7 +426,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreDefault_builder) Build() *EditionsS type EditionsScalarExplicitPresenceIgnoreDefaultWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -506,7 +507,7 @@ func (b0 EditionsScalarExplicitPresenceIgnoreDefaultWithDefault_builder) Build() type EditionsScalarImplicitPresenceIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -563,7 +564,7 @@ func (b0 EditionsScalarImplicitPresenceIgnoreUnspecified_builder) Build() *Editi type EditionsScalarImplicitPresenceIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -620,7 +621,7 @@ func (b0 EditionsScalarImplicitPresenceIgnoreEmpty_builder) Build() *EditionsSca type EditionsScalarImplicitPresenceIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -677,7 +678,7 @@ func (b0 EditionsScalarImplicitPresenceIgnoreDefault_builder) Build() *EditionsS type EditionsScalarLegacyRequiredIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -752,7 +753,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreUnspecified_builder) Build() *Edition type EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -833,7 +834,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault_builder) Build type EditionsScalarLegacyRequiredIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -908,7 +909,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreEmpty_builder) Build() *EditionsScala type EditionsScalarLegacyRequiredIgnoreEmptyWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -989,7 +990,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreEmptyWithDefault_builder) Build() *Ed type EditionsScalarLegacyRequiredIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1064,7 +1065,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreDefault_builder) Build() *EditionsSca type EditionsScalarLegacyRequiredIgnoreDefaultWithDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,req,name=val,def=-42"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1145,7 +1146,7 @@ func (b0 EditionsScalarLegacyRequiredIgnoreDefaultWithDefault_builder) Build() * type EditionsMessageExplicitPresenceIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1213,7 +1214,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreUnspecified_builder) Build() *Edit type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,opt,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1281,7 +1282,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_builder) Buil type EditionsMessageExplicitPresenceIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1349,7 +1350,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreEmpty_builder) Build() *EditionsMe type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg `protobuf:"group,1,opt,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1417,7 +1418,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_builder) Build() *E type EditionsMessageExplicitPresenceIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceIgnoreDefault_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1485,7 +1486,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreDefault_builder) Build() *Editions type EditionsMessageExplicitPresenceDelimitedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg `protobuf:"group,1,opt,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1553,7 +1554,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreDefault_builder) Build() type EditionsMessageLegacyRequiredIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1621,7 +1622,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreUnspecified_builder) Build() *Editio type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,req,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1689,7 +1690,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_builder) Build( type EditionsMessageLegacyRequiredIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1757,7 +1758,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreEmpty_builder) Build() *EditionsMess type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg `protobuf:"group,1,req,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1825,7 +1826,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_builder) Build() *Edi type EditionsMessageLegacyRequiredIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreDefault_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredIgnoreDefault_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1893,7 +1894,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreDefault_builder) Build() *EditionsMe type EditionsMessageLegacyRequiredDelimitedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg `protobuf:"group,1,req,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2715,7 +2716,7 @@ func (*editionsOneofIgnoreDefaultWithDefault_Val) isEditionsOneofIgnoreDefaultWi type EditionsRepeatedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2772,7 +2773,7 @@ func (b0 EditionsRepeatedIgnoreUnspecified_builder) Build() *EditionsRepeatedIgn type EditionsRepeatedExpandedIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2829,7 +2830,7 @@ func (b0 EditionsRepeatedExpandedIgnoreUnspecified_builder) Build() *EditionsRep type EditionsRepeatedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2886,7 +2887,7 @@ func (b0 EditionsRepeatedIgnoreEmpty_builder) Build() *EditionsRepeatedIgnoreEmp type EditionsRepeatedExpandedIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2943,7 +2944,7 @@ func (b0 EditionsRepeatedExpandedIgnoreEmpty_builder) Build() *EditionsRepeatedE type EditionsRepeatedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3000,7 +3001,7 @@ func (b0 EditionsRepeatedIgnoreDefault_builder) Build() *EditionsRepeatedIgnoreD type EditionsRepeatedExpandedIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3057,7 +3058,7 @@ func (b0 EditionsRepeatedExpandedIgnoreDefault_builder) Build() *EditionsRepeate type EditionsMapIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3114,7 +3115,7 @@ func (b0 EditionsMapIgnoreUnspecified_builder) Build() *EditionsMapIgnoreUnspeci type EditionsMapIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3171,7 +3172,7 @@ func (b0 EditionsMapIgnoreEmpty_builder) Build() *EditionsMapIgnoreEmpty { type EditionsMapIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3228,7 +3229,7 @@ func (b0 EditionsMapIgnoreDefault_builder) Build() *EditionsMapIgnoreDefault { type EditionsRepeatedItemIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3285,7 +3286,7 @@ func (b0 EditionsRepeatedItemIgnoreUnspecified_builder) Build() *EditionsRepeate type EditionsRepeatedExpandedItemIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3342,7 +3343,7 @@ func (b0 EditionsRepeatedExpandedItemIgnoreUnspecified_builder) Build() *Edition type EditionsRepeatedItemIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3399,7 +3400,7 @@ func (b0 EditionsRepeatedItemIgnoreEmpty_builder) Build() *EditionsRepeatedItemI type EditionsRepeatedExpandedItemIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3456,7 +3457,7 @@ func (b0 EditionsRepeatedExpandedItemIgnoreEmpty_builder) Build() *EditionsRepea type EditionsRepeatedItemIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3513,7 +3514,7 @@ func (b0 EditionsRepeatedItemIgnoreDefault_builder) Build() *EditionsRepeatedIte type EditionsRepeatedExpandedItemIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3570,7 +3571,7 @@ func (b0 EditionsRepeatedExpandedItemIgnoreDefault_builder) Build() *EditionsRep type EditionsMapKeyIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3627,7 +3628,7 @@ func (b0 EditionsMapKeyIgnoreUnspecified_builder) Build() *EditionsMapKeyIgnoreU type EditionsMapKeyIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3684,7 +3685,7 @@ func (b0 EditionsMapKeyIgnoreEmpty_builder) Build() *EditionsMapKeyIgnoreEmpty { type EditionsMapKeyIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3741,7 +3742,7 @@ func (b0 EditionsMapKeyIgnoreDefault_builder) Build() *EditionsMapKeyIgnoreDefau type EditionsMapValueIgnoreUnspecified struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3798,7 +3799,7 @@ func (b0 EditionsMapValueIgnoreUnspecified_builder) Build() *EditionsMapValueIgn type EditionsMapValueIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3855,7 +3856,7 @@ func (b0 EditionsMapValueIgnoreEmpty_builder) Build() *EditionsMapValueIgnoreEmp type EditionsMapValueIgnoreDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3912,7 +3913,7 @@ func (b0 EditionsMapValueIgnoreDefault_builder) Build() *EditionsMapValueIgnoreD type EditionsMessageExplicitPresenceIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3990,7 +3991,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreUnspecified_Msg_builder) Build() * type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4068,7 +4069,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg_builder) type EditionsMessageExplicitPresenceIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4146,7 +4147,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreEmpty_Msg_builder) Build() *Editio type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4224,7 +4225,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg_builder) Build( type EditionsMessageExplicitPresenceIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4302,7 +4303,7 @@ func (b0 EditionsMessageExplicitPresenceIgnoreDefault_Msg_builder) Build() *Edit type EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4380,7 +4381,7 @@ func (b0 EditionsMessageExplicitPresenceDelimitedIgnoreDefault_Msg_builder) Buil type EditionsMessageLegacyRequiredIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4458,7 +4459,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreUnspecified_Msg_builder) Build() *Ed type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4536,7 +4537,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg_builder) Bu type EditionsMessageLegacyRequiredIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4614,7 +4615,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreEmpty_Msg_builder) Build() *Editions type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4692,7 +4693,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg_builder) Build() type EditionsMessageLegacyRequiredIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4770,7 +4771,7 @@ func (b0 EditionsMessageLegacyRequiredIgnoreDefault_Msg_builder) Build() *Editio type EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -4848,7 +4849,7 @@ func (b0 EditionsMessageLegacyRequiredDelimitedIgnoreDefault_Msg_builder) Build( var File_buf_validate_conformance_cases_ignore_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x65, 0x64, @@ -5344,7 +5345,7 @@ var file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = [] 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -5480,7 +5481,7 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 75, NumExtensions: 0, @@ -5491,7 +5492,6 @@ func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { MessageInfos: file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_ignore_proto_editions_proto = out.File - file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_ignore_proto_editions_proto_depIdxs = nil } 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 5fb5bb4..afe9060 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/kitchen_sink.proto @@ -31,6 +31,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -607,7 +608,7 @@ func (b0 KitchenSinkMessage_builder) Build() *KitchenSinkMessage { var File_buf_validate_conformance_cases_kitchen_sink_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6b, 0x69, 0x74, 0x63, 0x68, 0x65, 0x6e, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, @@ -722,7 +723,7 @@ var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = []byte{ 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -767,7 +768,7 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc), len(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc)), NumEnums: 1, NumMessages: 3, NumExtensions: 0, @@ -779,7 +780,6 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { MessageInfos: file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_kitchen_sink_proto = out.File - file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = nil file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = nil file_buf_validate_conformance_cases_kitchen_sink_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/kitchen_sink_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/kitchen_sink_protoopaque.pb.go index 05b1eb2..caee9a6 100644 --- a/internal/gen/buf/validate/conformance/cases/kitchen_sink_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/kitchen_sink_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/kitchen_sink.proto @@ -31,6 +31,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -86,21 +87,21 @@ func (x ComplexTestEnum) Number() protoreflect.EnumNumber { type ComplexTestMsg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Const string `protobuf:"bytes,1,opt,name=const,proto3" json:"const,omitempty"` - xxx_hidden_Nested *ComplexTestMsg `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"` - xxx_hidden_IntConst int32 `protobuf:"varint,3,opt,name=int_const,json=intConst,proto3" json:"int_const,omitempty"` - xxx_hidden_BoolConst bool `protobuf:"varint,4,opt,name=bool_const,json=boolConst,proto3" json:"bool_const,omitempty"` - xxx_hidden_FloatVal *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"` - xxx_hidden_DurVal *durationpb.Duration `protobuf:"bytes,6,opt,name=dur_val,json=durVal,proto3" json:"dur_val,omitempty"` - xxx_hidden_TsVal *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts_val,json=tsVal,proto3" json:"ts_val,omitempty"` - xxx_hidden_Another *ComplexTestMsg `protobuf:"bytes,8,opt,name=another,proto3" json:"another,omitempty"` - xxx_hidden_FloatConst float32 `protobuf:"fixed32,9,opt,name=float_const,json=floatConst,proto3" json:"float_const,omitempty"` - xxx_hidden_DoubleIn float64 `protobuf:"fixed64,10,opt,name=double_in,json=doubleIn,proto3" json:"double_in,omitempty"` - xxx_hidden_EnumConst ComplexTestEnum `protobuf:"varint,11,opt,name=enum_const,json=enumConst,proto3,enum=buf.validate.conformance.cases.ComplexTestEnum" json:"enum_const,omitempty"` - xxx_hidden_AnyVal *anypb.Any `protobuf:"bytes,12,opt,name=any_val,json=anyVal,proto3" json:"any_val,omitempty"` - xxx_hidden_RepTsVal *[]*timestamppb.Timestamp `protobuf:"bytes,13,rep,name=rep_ts_val,json=repTsVal,proto3" json:"rep_ts_val,omitempty"` - xxx_hidden_MapVal map[int32]string `protobuf:"bytes,14,rep,name=map_val,json=mapVal,proto3" json:"map_val,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - xxx_hidden_BytesVal []byte `protobuf:"bytes,15,opt,name=bytes_val,json=bytesVal,proto3" json:"bytes_val,omitempty"` + xxx_hidden_Const string `protobuf:"bytes,1,opt,name=const,proto3"` + xxx_hidden_Nested *ComplexTestMsg `protobuf:"bytes,2,opt,name=nested,proto3"` + xxx_hidden_IntConst int32 `protobuf:"varint,3,opt,name=int_const,json=intConst,proto3"` + xxx_hidden_BoolConst bool `protobuf:"varint,4,opt,name=bool_const,json=boolConst,proto3"` + xxx_hidden_FloatVal *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=float_val,json=floatVal,proto3"` + xxx_hidden_DurVal *durationpb.Duration `protobuf:"bytes,6,opt,name=dur_val,json=durVal,proto3"` + xxx_hidden_TsVal *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts_val,json=tsVal,proto3"` + xxx_hidden_Another *ComplexTestMsg `protobuf:"bytes,8,opt,name=another,proto3"` + xxx_hidden_FloatConst float32 `protobuf:"fixed32,9,opt,name=float_const,json=floatConst,proto3"` + xxx_hidden_DoubleIn float64 `protobuf:"fixed64,10,opt,name=double_in,json=doubleIn,proto3"` + xxx_hidden_EnumConst ComplexTestEnum `protobuf:"varint,11,opt,name=enum_const,json=enumConst,proto3,enum=buf.validate.conformance.cases.ComplexTestEnum"` + xxx_hidden_AnyVal *anypb.Any `protobuf:"bytes,12,opt,name=any_val,json=anyVal,proto3"` + xxx_hidden_RepTsVal *[]*timestamppb.Timestamp `protobuf:"bytes,13,rep,name=rep_ts_val,json=repTsVal,proto3"` + xxx_hidden_MapVal map[int32]string `protobuf:"bytes,14,rep,name=map_val,json=mapVal,proto3" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_BytesVal []byte `protobuf:"bytes,15,opt,name=bytes_val,json=bytesVal,proto3"` xxx_hidden_O isComplexTestMsg_O `protobuf_oneof:"o"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -530,7 +531,7 @@ func (*complexTestMsg_Y) isComplexTestMsg_O() {} type KitchenSinkMessage struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *ComplexTestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *ComplexTestMsg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -598,7 +599,7 @@ func (b0 KitchenSinkMessage_builder) Build() *KitchenSinkMessage { var File_buf_validate_conformance_cases_kitchen_sink_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6b, 0x69, 0x74, 0x63, 0x68, 0x65, 0x6e, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, @@ -713,7 +714,7 @@ var file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = []byte{ 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -758,7 +759,7 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc), len(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc)), NumEnums: 1, NumMessages: 3, NumExtensions: 0, @@ -770,7 +771,6 @@ func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { MessageInfos: file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_kitchen_sink_proto = out.File - file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = nil file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = nil file_buf_validate_conformance_cases_kitchen_sink_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/maps.pb.go b/internal/gen/buf/validate/conformance/cases/maps.pb.go index 3697ad4..a16972c 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/maps.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -807,7 +808,7 @@ func (b0 MapRecursive_Msg_builder) Build() *MapRecursive_Msg { var File_buf_validate_conformance_cases_maps_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_maps_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_maps_proto_rawDesc = string([]byte{ 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, 0x66, @@ -975,7 +976,7 @@ var file_buf_validate_conformance_cases_maps_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_maps_proto_msgTypes = make([]protoimpl.MessageInfo, 27) var file_buf_validate_conformance_cases_maps_proto_goTypes = []any{ @@ -1039,7 +1040,7 @@ func file_buf_validate_conformance_cases_maps_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_maps_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_maps_proto_rawDesc), len(file_buf_validate_conformance_cases_maps_proto_rawDesc)), NumEnums: 0, NumMessages: 27, NumExtensions: 0, @@ -1050,7 +1051,6 @@ func file_buf_validate_conformance_cases_maps_proto_init() { MessageInfos: file_buf_validate_conformance_cases_maps_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_maps_proto = out.File - file_buf_validate_conformance_cases_maps_proto_rawDesc = nil file_buf_validate_conformance_cases_maps_proto_goTypes = nil file_buf_validate_conformance_cases_maps_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/maps_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/maps_protoopaque.pb.go index 68d7619..9a2579c 100644 --- a/internal/gen/buf/validate/conformance/cases/maps_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/maps_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/maps.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type MapNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint32]bool `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[uint32]bool `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 MapNone_builder) Build() *MapNone { type MapMin struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int32]float32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` + xxx_hidden_Val map[int32]float32 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -152,7 +153,7 @@ func (b0 MapMin_builder) Build() *MapMin { type MapMax struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int64]float64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` + xxx_hidden_Val map[int64]float64 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -209,7 +210,7 @@ func (b0 MapMax_builder) Build() *MapMax { type MapMinMax struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]bool `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[string]bool `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -266,7 +267,7 @@ func (b0 MapMinMax_builder) Build() *MapMinMax { type MapExact struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -323,7 +324,7 @@ func (b0 MapExact_builder) Build() *MapExact { type MapKeys struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[int64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[int64]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -380,7 +381,7 @@ func (b0 MapKeys_builder) Build() *MapKeys { type MapValues struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -437,7 +438,7 @@ func (b0 MapValues_builder) Build() *MapValues { type MapKeysPattern struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -494,7 +495,7 @@ func (b0 MapKeysPattern_builder) Build() *MapKeysPattern { type MapValuesPattern struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -551,7 +552,7 @@ func (b0 MapValuesPattern_builder) Build() *MapValuesPattern { type MapRecursive struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint32]*MapRecursive_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[uint32]*MapRecursive_Msg `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -608,7 +609,7 @@ func (b0 MapRecursive_builder) Build() *MapRecursive { type MapExactIgnore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -665,9 +666,9 @@ func (b0 MapExactIgnore_builder) Build() *MapExactIgnore { type MultipleMaps struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_First map[uint32]string `protobuf:"bytes,1,rep,name=first,proto3" json:"first,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - xxx_hidden_Second map[int32]bool `protobuf:"bytes,2,rep,name=second,proto3" json:"second,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - xxx_hidden_Third map[int32]bool `protobuf:"bytes,3,rep,name=third,proto3" json:"third,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_First map[uint32]string `protobuf:"bytes,1,rep,name=first,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Second map[int32]bool `protobuf:"bytes,2,rep,name=second,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Third map[int32]bool `protobuf:"bytes,3,rep,name=third,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -750,7 +751,7 @@ func (b0 MultipleMaps_builder) Build() *MultipleMaps { type MapRecursive_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -807,7 +808,7 @@ func (b0 MapRecursive_Msg_builder) Build() *MapRecursive_Msg { var File_buf_validate_conformance_cases_maps_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_maps_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_maps_proto_rawDesc = string([]byte{ 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, 0x75, 0x66, @@ -975,7 +976,7 @@ var file_buf_validate_conformance_cases_maps_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_maps_proto_msgTypes = make([]protoimpl.MessageInfo, 27) var file_buf_validate_conformance_cases_maps_proto_goTypes = []any{ @@ -1039,7 +1040,7 @@ func file_buf_validate_conformance_cases_maps_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_maps_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_maps_proto_rawDesc), len(file_buf_validate_conformance_cases_maps_proto_rawDesc)), NumEnums: 0, NumMessages: 27, NumExtensions: 0, @@ -1050,7 +1051,6 @@ func file_buf_validate_conformance_cases_maps_proto_init() { MessageInfos: file_buf_validate_conformance_cases_maps_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_maps_proto = out.File - file_buf_validate_conformance_cases_maps_proto_rawDesc = nil file_buf_validate_conformance_cases_maps_proto_goTypes = nil file_buf_validate_conformance_cases_maps_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/messages.pb.go b/internal/gen/buf/validate/conformance/cases/messages.pb.go index 89c289f..25ac288 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/messages.proto @@ -28,6 +28,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -809,7 +810,7 @@ func (b0 MessageNone_NoneMsg_builder) Build() *MessageNone_NoneMsg { var File_buf_validate_conformance_cases_messages_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_messages_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_messages_proto_rawDesc = string([]byte{ 0x0a, 0x2d, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, @@ -892,7 +893,7 @@ var file_buf_validate_conformance_cases_messages_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_buf_validate_conformance_cases_messages_proto_goTypes = []any{ @@ -938,7 +939,7 @@ func file_buf_validate_conformance_cases_messages_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_messages_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_messages_proto_rawDesc), len(file_buf_validate_conformance_cases_messages_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -949,7 +950,6 @@ func file_buf_validate_conformance_cases_messages_proto_init() { MessageInfos: file_buf_validate_conformance_cases_messages_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_messages_proto = out.File - file_buf_validate_conformance_cases_messages_proto_rawDesc = nil file_buf_validate_conformance_cases_messages_proto_goTypes = nil file_buf_validate_conformance_cases_messages_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/messages_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/messages_protoopaque.pb.go index 9c98394..59a57c6 100644 --- a/internal/gen/buf/validate/conformance/cases/messages_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/messages_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/messages.proto @@ -28,6 +28,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,8 +40,8 @@ const ( type TestMsg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Const string `protobuf:"bytes,1,opt,name=const,proto3" json:"const,omitempty"` - xxx_hidden_Nested *TestMsg `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"` + xxx_hidden_Const string `protobuf:"bytes,1,opt,name=const,proto3"` + xxx_hidden_Nested *TestMsg `protobuf:"bytes,2,opt,name=nested,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -121,7 +122,7 @@ func (b0 TestMsg_builder) Build() *TestMsg { type MessageNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *MessageNone_NoneMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *MessageNone_NoneMsg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -189,7 +190,7 @@ func (b0 MessageNone_builder) Build() *MessageNone { type MessageDisabled struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -246,7 +247,7 @@ func (b0 MessageDisabled_builder) Build() *MessageDisabled { type Message struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -314,7 +315,7 @@ func (b0 Message_builder) Build() *Message { type MessageCrossPackage struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *other_package.Embed `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *other_package.Embed `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -382,7 +383,7 @@ func (b0 MessageCrossPackage_builder) Build() *MessageCrossPackage { type MessageSkip struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -450,7 +451,7 @@ func (b0 MessageSkip_builder) Build() *MessageSkip { type MessageRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -518,7 +519,7 @@ func (b0 MessageRequired_builder) Build() *MessageRequired { type MessageRequiredButOptional struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -799,7 +800,7 @@ func (b0 MessageNone_NoneMsg_builder) Build() *MessageNone_NoneMsg { var File_buf_validate_conformance_cases_messages_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_messages_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_messages_proto_rawDesc = string([]byte{ 0x0a, 0x2d, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, @@ -882,7 +883,7 @@ var file_buf_validate_conformance_cases_messages_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_buf_validate_conformance_cases_messages_proto_goTypes = []any{ @@ -928,7 +929,7 @@ func file_buf_validate_conformance_cases_messages_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_messages_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_messages_proto_rawDesc), len(file_buf_validate_conformance_cases_messages_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -939,7 +940,6 @@ func file_buf_validate_conformance_cases_messages_proto_init() { MessageInfos: file_buf_validate_conformance_cases_messages_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_messages_proto = out.File - file_buf_validate_conformance_cases_messages_proto_rawDesc = nil file_buf_validate_conformance_cases_messages_proto_goTypes = nil file_buf_validate_conformance_cases_messages_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/numbers.pb.go b/internal/gen/buf/validate/conformance/cases/numbers.pb.go index 1e1be43..b1756d5 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/numbers.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -10807,7 +10808,7 @@ func (b0 Int64LTEOptional_builder) Build() *Int64LTEOptional { var File_buf_validate_conformance_cases_numbers_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_numbers_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_numbers_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -11403,7 +11404,7 @@ var file_buf_validate_conformance_cases_numbers_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_numbers_proto_msgTypes = make([]protoimpl.MessageInfo, 186) var file_buf_validate_conformance_cases_numbers_proto_goTypes = []any{ @@ -11612,7 +11613,7 @@ func file_buf_validate_conformance_cases_numbers_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_numbers_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_numbers_proto_rawDesc), len(file_buf_validate_conformance_cases_numbers_proto_rawDesc)), NumEnums: 0, NumMessages: 186, NumExtensions: 0, @@ -11623,7 +11624,6 @@ func file_buf_validate_conformance_cases_numbers_proto_init() { MessageInfos: file_buf_validate_conformance_cases_numbers_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_numbers_proto = out.File - file_buf_validate_conformance_cases_numbers_proto_rawDesc = nil file_buf_validate_conformance_cases_numbers_proto_goTypes = nil file_buf_validate_conformance_cases_numbers_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/numbers_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/numbers_protoopaque.pb.go index 854a272..15bc7b8 100644 --- a/internal/gen/buf/validate/conformance/cases/numbers_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/numbers_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/numbers.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type FloatNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 FloatNone_builder) Build() *FloatNone { type FloatConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -152,7 +153,7 @@ func (b0 FloatConst_builder) Build() *FloatConst { type FloatIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -209,7 +210,7 @@ func (b0 FloatIn_builder) Build() *FloatIn { type FloatNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -266,7 +267,7 @@ func (b0 FloatNotIn_builder) Build() *FloatNotIn { type FloatLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -323,7 +324,7 @@ func (b0 FloatLT_builder) Build() *FloatLT { type FloatLTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -380,7 +381,7 @@ func (b0 FloatLTE_builder) Build() *FloatLTE { type FloatGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -437,7 +438,7 @@ func (b0 FloatGT_builder) Build() *FloatGT { type FloatGTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -494,7 +495,7 @@ func (b0 FloatGTE_builder) Build() *FloatGTE { type FloatGTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -551,7 +552,7 @@ func (b0 FloatGTLT_builder) Build() *FloatGTLT { type FloatExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -608,7 +609,7 @@ func (b0 FloatExLTGT_builder) Build() *FloatExLTGT { type FloatGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -665,7 +666,7 @@ func (b0 FloatGTELTE_builder) Build() *FloatGTELTE { type FloatExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -722,7 +723,7 @@ func (b0 FloatExGTELTE_builder) Build() *FloatExGTELTE { type FloatFinite struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -779,7 +780,7 @@ func (b0 FloatFinite_builder) Build() *FloatFinite { type FloatNotFinite struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -836,7 +837,7 @@ func (b0 FloatNotFinite_builder) Build() *FloatNotFinite { type FloatIgnore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -893,7 +894,7 @@ func (b0 FloatIgnore_builder) Build() *FloatIgnore { type FloatIncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -950,7 +951,7 @@ func (b0 FloatIncorrectType_builder) Build() *FloatIncorrectType { type FloatExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1007,7 +1008,7 @@ func (b0 FloatExample_builder) Build() *FloatExample { type DoubleNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1064,7 +1065,7 @@ func (b0 DoubleNone_builder) Build() *DoubleNone { type DoubleConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1121,7 +1122,7 @@ func (b0 DoubleConst_builder) Build() *DoubleConst { type DoubleIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1178,7 +1179,7 @@ func (b0 DoubleIn_builder) Build() *DoubleIn { type DoubleNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1235,7 +1236,7 @@ func (b0 DoubleNotIn_builder) Build() *DoubleNotIn { type DoubleLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1292,7 +1293,7 @@ func (b0 DoubleLT_builder) Build() *DoubleLT { type DoubleLTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1349,7 +1350,7 @@ func (b0 DoubleLTE_builder) Build() *DoubleLTE { type DoubleGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1406,7 +1407,7 @@ func (b0 DoubleGT_builder) Build() *DoubleGT { type DoubleGTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1463,7 +1464,7 @@ func (b0 DoubleGTE_builder) Build() *DoubleGTE { type DoubleGTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1520,7 +1521,7 @@ func (b0 DoubleGTLT_builder) Build() *DoubleGTLT { type DoubleExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1577,7 +1578,7 @@ func (b0 DoubleExLTGT_builder) Build() *DoubleExLTGT { type DoubleGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1634,7 +1635,7 @@ func (b0 DoubleGTELTE_builder) Build() *DoubleGTELTE { type DoubleExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1691,7 +1692,7 @@ func (b0 DoubleExGTELTE_builder) Build() *DoubleExGTELTE { type DoubleFinite struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1748,7 +1749,7 @@ func (b0 DoubleFinite_builder) Build() *DoubleFinite { type DoubleNotFinite struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1805,7 +1806,7 @@ func (b0 DoubleNotFinite_builder) Build() *DoubleNotFinite { type DoubleIgnore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1862,7 +1863,7 @@ func (b0 DoubleIgnore_builder) Build() *DoubleIgnore { type DoubleIncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1919,7 +1920,7 @@ func (b0 DoubleIncorrectType_builder) Build() *DoubleIncorrectType { type DoubleExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1976,7 +1977,7 @@ func (b0 DoubleExample_builder) Build() *DoubleExample { type Int32None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2033,7 +2034,7 @@ func (b0 Int32None_builder) Build() *Int32None { type Int32Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2090,7 +2091,7 @@ func (b0 Int32Const_builder) Build() *Int32Const { type Int32In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2147,7 +2148,7 @@ func (b0 Int32In_builder) Build() *Int32In { type Int32NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2204,7 +2205,7 @@ func (b0 Int32NotIn_builder) Build() *Int32NotIn { type Int32LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2261,7 +2262,7 @@ func (b0 Int32LT_builder) Build() *Int32LT { type Int32LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2318,7 +2319,7 @@ func (b0 Int32LTE_builder) Build() *Int32LTE { type Int32GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2375,7 +2376,7 @@ func (b0 Int32GT_builder) Build() *Int32GT { type Int32GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2432,7 +2433,7 @@ func (b0 Int32GTE_builder) Build() *Int32GTE { type Int32GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2489,7 +2490,7 @@ func (b0 Int32GTLT_builder) Build() *Int32GTLT { type Int32ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2546,7 +2547,7 @@ func (b0 Int32ExLTGT_builder) Build() *Int32ExLTGT { type Int32GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2603,7 +2604,7 @@ func (b0 Int32GTELTE_builder) Build() *Int32GTELTE { type Int32ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2660,7 +2661,7 @@ func (b0 Int32ExGTELTE_builder) Build() *Int32ExGTELTE { type Int32Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2717,7 +2718,7 @@ func (b0 Int32Ignore_builder) Build() *Int32Ignore { type Int32IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2774,7 +2775,7 @@ func (b0 Int32IncorrectType_builder) Build() *Int32IncorrectType { type Int32Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2831,7 +2832,7 @@ func (b0 Int32Example_builder) Build() *Int32Example { type Int64None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2888,7 +2889,7 @@ func (b0 Int64None_builder) Build() *Int64None { type Int64Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2945,7 +2946,7 @@ func (b0 Int64Const_builder) Build() *Int64Const { type Int64In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3002,7 +3003,7 @@ func (b0 Int64In_builder) Build() *Int64In { type Int64NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3059,7 +3060,7 @@ func (b0 Int64NotIn_builder) Build() *Int64NotIn { type Int64LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3116,7 +3117,7 @@ func (b0 Int64LT_builder) Build() *Int64LT { type Int64LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3173,7 +3174,7 @@ func (b0 Int64LTE_builder) Build() *Int64LTE { type Int64GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3230,7 +3231,7 @@ func (b0 Int64GT_builder) Build() *Int64GT { type Int64GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3287,7 +3288,7 @@ func (b0 Int64GTE_builder) Build() *Int64GTE { type Int64GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3344,7 +3345,7 @@ func (b0 Int64GTLT_builder) Build() *Int64GTLT { type Int64ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3401,7 +3402,7 @@ func (b0 Int64ExLTGT_builder) Build() *Int64ExLTGT { type Int64GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3458,7 +3459,7 @@ func (b0 Int64GTELTE_builder) Build() *Int64GTELTE { type Int64ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3515,7 +3516,7 @@ func (b0 Int64ExGTELTE_builder) Build() *Int64ExGTELTE { type Int64Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3572,18 +3573,18 @@ func (b0 Int64Ignore_builder) Build() *Int64Ignore { type Int64BigConstraints struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_LtPos int64 `protobuf:"varint,1,opt,name=lt_pos,json=ltPos,proto3" json:"lt_pos,omitempty"` - xxx_hidden_LtNeg int64 `protobuf:"varint,2,opt,name=lt_neg,json=ltNeg,proto3" json:"lt_neg,omitempty"` - xxx_hidden_GtPos int64 `protobuf:"varint,3,opt,name=gt_pos,json=gtPos,proto3" json:"gt_pos,omitempty"` - xxx_hidden_GtNeg int64 `protobuf:"varint,4,opt,name=gt_neg,json=gtNeg,proto3" json:"gt_neg,omitempty"` - xxx_hidden_LtePos int64 `protobuf:"varint,5,opt,name=lte_pos,json=ltePos,proto3" json:"lte_pos,omitempty"` - xxx_hidden_LteNeg int64 `protobuf:"varint,6,opt,name=lte_neg,json=lteNeg,proto3" json:"lte_neg,omitempty"` - xxx_hidden_GtePos int64 `protobuf:"varint,7,opt,name=gte_pos,json=gtePos,proto3" json:"gte_pos,omitempty"` - xxx_hidden_GteNeg int64 `protobuf:"varint,8,opt,name=gte_neg,json=gteNeg,proto3" json:"gte_neg,omitempty"` - xxx_hidden_ConstantPos int64 `protobuf:"varint,9,opt,name=constant_pos,json=constantPos,proto3" json:"constant_pos,omitempty"` - xxx_hidden_ConstantNeg int64 `protobuf:"varint,10,opt,name=constant_neg,json=constantNeg,proto3" json:"constant_neg,omitempty"` - xxx_hidden_In int64 `protobuf:"varint,11,opt,name=in,proto3" json:"in,omitempty"` - xxx_hidden_Notin int64 `protobuf:"varint,12,opt,name=notin,proto3" json:"notin,omitempty"` + xxx_hidden_LtPos int64 `protobuf:"varint,1,opt,name=lt_pos,json=ltPos,proto3"` + xxx_hidden_LtNeg int64 `protobuf:"varint,2,opt,name=lt_neg,json=ltNeg,proto3"` + xxx_hidden_GtPos int64 `protobuf:"varint,3,opt,name=gt_pos,json=gtPos,proto3"` + xxx_hidden_GtNeg int64 `protobuf:"varint,4,opt,name=gt_neg,json=gtNeg,proto3"` + xxx_hidden_LtePos int64 `protobuf:"varint,5,opt,name=lte_pos,json=ltePos,proto3"` + xxx_hidden_LteNeg int64 `protobuf:"varint,6,opt,name=lte_neg,json=lteNeg,proto3"` + xxx_hidden_GtePos int64 `protobuf:"varint,7,opt,name=gte_pos,json=gtePos,proto3"` + xxx_hidden_GteNeg int64 `protobuf:"varint,8,opt,name=gte_neg,json=gteNeg,proto3"` + xxx_hidden_ConstantPos int64 `protobuf:"varint,9,opt,name=constant_pos,json=constantPos,proto3"` + xxx_hidden_ConstantNeg int64 `protobuf:"varint,10,opt,name=constant_neg,json=constantNeg,proto3"` + xxx_hidden_In int64 `protobuf:"varint,11,opt,name=in,proto3"` + xxx_hidden_Notin int64 `protobuf:"varint,12,opt,name=notin,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3784,7 +3785,7 @@ func (b0 Int64BigConstraints_builder) Build() *Int64BigConstraints { type Int64IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3841,7 +3842,7 @@ func (b0 Int64IncorrectType_builder) Build() *Int64IncorrectType { type Int64Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3898,7 +3899,7 @@ func (b0 Int64Example_builder) Build() *Int64Example { type UInt32None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3955,7 +3956,7 @@ func (b0 UInt32None_builder) Build() *UInt32None { type UInt32Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4012,7 +4013,7 @@ func (b0 UInt32Const_builder) Build() *UInt32Const { type UInt32In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4069,7 +4070,7 @@ func (b0 UInt32In_builder) Build() *UInt32In { type UInt32NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4126,7 +4127,7 @@ func (b0 UInt32NotIn_builder) Build() *UInt32NotIn { type UInt32LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4183,7 +4184,7 @@ func (b0 UInt32LT_builder) Build() *UInt32LT { type UInt32LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4240,7 +4241,7 @@ func (b0 UInt32LTE_builder) Build() *UInt32LTE { type UInt32GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4297,7 +4298,7 @@ func (b0 UInt32GT_builder) Build() *UInt32GT { type UInt32GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4354,7 +4355,7 @@ func (b0 UInt32GTE_builder) Build() *UInt32GTE { type UInt32GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4411,7 +4412,7 @@ func (b0 UInt32GTLT_builder) Build() *UInt32GTLT { type UInt32ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4468,7 +4469,7 @@ func (b0 UInt32ExLTGT_builder) Build() *UInt32ExLTGT { type UInt32GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4525,7 +4526,7 @@ func (b0 UInt32GTELTE_builder) Build() *UInt32GTELTE { type UInt32ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4582,7 +4583,7 @@ func (b0 UInt32ExGTELTE_builder) Build() *UInt32ExGTELTE { type UInt32Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4639,7 +4640,7 @@ func (b0 UInt32Ignore_builder) Build() *UInt32Ignore { type UInt32IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4696,7 +4697,7 @@ func (b0 UInt32IncorrectType_builder) Build() *UInt32IncorrectType { type UInt32Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4753,7 +4754,7 @@ func (b0 UInt32Example_builder) Build() *UInt32Example { type UInt64None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4810,7 +4811,7 @@ func (b0 UInt64None_builder) Build() *UInt64None { type UInt64Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4867,7 +4868,7 @@ func (b0 UInt64Const_builder) Build() *UInt64Const { type UInt64In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4924,7 +4925,7 @@ func (b0 UInt64In_builder) Build() *UInt64In { type UInt64NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4981,7 +4982,7 @@ func (b0 UInt64NotIn_builder) Build() *UInt64NotIn { type UInt64LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5038,7 +5039,7 @@ func (b0 UInt64LT_builder) Build() *UInt64LT { type UInt64LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5095,7 +5096,7 @@ func (b0 UInt64LTE_builder) Build() *UInt64LTE { type UInt64GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5152,7 +5153,7 @@ func (b0 UInt64GT_builder) Build() *UInt64GT { type UInt64GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5209,7 +5210,7 @@ func (b0 UInt64GTE_builder) Build() *UInt64GTE { type UInt64GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5266,7 +5267,7 @@ func (b0 UInt64GTLT_builder) Build() *UInt64GTLT { type UInt64ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5323,7 +5324,7 @@ func (b0 UInt64ExLTGT_builder) Build() *UInt64ExLTGT { type UInt64GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5380,7 +5381,7 @@ func (b0 UInt64GTELTE_builder) Build() *UInt64GTELTE { type UInt64ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5437,7 +5438,7 @@ func (b0 UInt64ExGTELTE_builder) Build() *UInt64ExGTELTE { type UInt64Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5494,7 +5495,7 @@ func (b0 UInt64Ignore_builder) Build() *UInt64Ignore { type UInt64IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5551,7 +5552,7 @@ func (b0 UInt64IncorrectType_builder) Build() *UInt64IncorrectType { type UInt64Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5608,7 +5609,7 @@ func (b0 UInt64Example_builder) Build() *UInt64Example { type SInt32None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5665,7 +5666,7 @@ func (b0 SInt32None_builder) Build() *SInt32None { type SInt32Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5722,7 +5723,7 @@ func (b0 SInt32Const_builder) Build() *SInt32Const { type SInt32In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5779,7 +5780,7 @@ func (b0 SInt32In_builder) Build() *SInt32In { type SInt32NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5836,7 +5837,7 @@ func (b0 SInt32NotIn_builder) Build() *SInt32NotIn { type SInt32LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5893,7 +5894,7 @@ func (b0 SInt32LT_builder) Build() *SInt32LT { type SInt32LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5950,7 +5951,7 @@ func (b0 SInt32LTE_builder) Build() *SInt32LTE { type SInt32GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6007,7 +6008,7 @@ func (b0 SInt32GT_builder) Build() *SInt32GT { type SInt32GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6064,7 +6065,7 @@ func (b0 SInt32GTE_builder) Build() *SInt32GTE { type SInt32GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6121,7 +6122,7 @@ func (b0 SInt32GTLT_builder) Build() *SInt32GTLT { type SInt32ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6178,7 +6179,7 @@ func (b0 SInt32ExLTGT_builder) Build() *SInt32ExLTGT { type SInt32GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6235,7 +6236,7 @@ func (b0 SInt32GTELTE_builder) Build() *SInt32GTELTE { type SInt32ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6292,7 +6293,7 @@ func (b0 SInt32ExGTELTE_builder) Build() *SInt32ExGTELTE { type SInt32Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6349,7 +6350,7 @@ func (b0 SInt32Ignore_builder) Build() *SInt32Ignore { type SInt32IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6406,7 +6407,7 @@ func (b0 SInt32IncorrectType_builder) Build() *SInt32IncorrectType { type SInt32Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6463,7 +6464,7 @@ func (b0 SInt32Example_builder) Build() *SInt32Example { type SInt64None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6520,7 +6521,7 @@ func (b0 SInt64None_builder) Build() *SInt64None { type SInt64Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6577,7 +6578,7 @@ func (b0 SInt64Const_builder) Build() *SInt64Const { type SInt64In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6634,7 +6635,7 @@ func (b0 SInt64In_builder) Build() *SInt64In { type SInt64NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6691,7 +6692,7 @@ func (b0 SInt64NotIn_builder) Build() *SInt64NotIn { type SInt64LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6748,7 +6749,7 @@ func (b0 SInt64LT_builder) Build() *SInt64LT { type SInt64LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6805,7 +6806,7 @@ func (b0 SInt64LTE_builder) Build() *SInt64LTE { type SInt64GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6862,7 +6863,7 @@ func (b0 SInt64GT_builder) Build() *SInt64GT { type SInt64GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6919,7 +6920,7 @@ func (b0 SInt64GTE_builder) Build() *SInt64GTE { type SInt64GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6976,7 +6977,7 @@ func (b0 SInt64GTLT_builder) Build() *SInt64GTLT { type SInt64ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7033,7 +7034,7 @@ func (b0 SInt64ExLTGT_builder) Build() *SInt64ExLTGT { type SInt64GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7090,7 +7091,7 @@ func (b0 SInt64GTELTE_builder) Build() *SInt64GTELTE { type SInt64ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7147,7 +7148,7 @@ func (b0 SInt64ExGTELTE_builder) Build() *SInt64ExGTELTE { type SInt64Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7204,7 +7205,7 @@ func (b0 SInt64Ignore_builder) Build() *SInt64Ignore { type SInt64IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7261,7 +7262,7 @@ func (b0 SInt64IncorrectType_builder) Build() *SInt64IncorrectType { type SInt64Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7318,7 +7319,7 @@ func (b0 SInt64Example_builder) Build() *SInt64Example { type Fixed32None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7375,7 +7376,7 @@ func (b0 Fixed32None_builder) Build() *Fixed32None { type Fixed32Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7432,7 +7433,7 @@ func (b0 Fixed32Const_builder) Build() *Fixed32Const { type Fixed32In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7489,7 +7490,7 @@ func (b0 Fixed32In_builder) Build() *Fixed32In { type Fixed32NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7546,7 +7547,7 @@ func (b0 Fixed32NotIn_builder) Build() *Fixed32NotIn { type Fixed32LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7603,7 +7604,7 @@ func (b0 Fixed32LT_builder) Build() *Fixed32LT { type Fixed32LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7660,7 +7661,7 @@ func (b0 Fixed32LTE_builder) Build() *Fixed32LTE { type Fixed32GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7717,7 +7718,7 @@ func (b0 Fixed32GT_builder) Build() *Fixed32GT { type Fixed32GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7774,7 +7775,7 @@ func (b0 Fixed32GTE_builder) Build() *Fixed32GTE { type Fixed32GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7831,7 +7832,7 @@ func (b0 Fixed32GTLT_builder) Build() *Fixed32GTLT { type Fixed32ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7888,7 +7889,7 @@ func (b0 Fixed32ExLTGT_builder) Build() *Fixed32ExLTGT { type Fixed32GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -7945,7 +7946,7 @@ func (b0 Fixed32GTELTE_builder) Build() *Fixed32GTELTE { type Fixed32ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8002,7 +8003,7 @@ func (b0 Fixed32ExGTELTE_builder) Build() *Fixed32ExGTELTE { type Fixed32Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8059,7 +8060,7 @@ func (b0 Fixed32Ignore_builder) Build() *Fixed32Ignore { type Fixed32IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8116,7 +8117,7 @@ func (b0 Fixed32IncorrectType_builder) Build() *Fixed32IncorrectType { type Fixed32Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8173,7 +8174,7 @@ func (b0 Fixed32Example_builder) Build() *Fixed32Example { type Fixed64None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8230,7 +8231,7 @@ func (b0 Fixed64None_builder) Build() *Fixed64None { type Fixed64Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8287,7 +8288,7 @@ func (b0 Fixed64Const_builder) Build() *Fixed64Const { type Fixed64In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8344,7 +8345,7 @@ func (b0 Fixed64In_builder) Build() *Fixed64In { type Fixed64NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8401,7 +8402,7 @@ func (b0 Fixed64NotIn_builder) Build() *Fixed64NotIn { type Fixed64LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8458,7 +8459,7 @@ func (b0 Fixed64LT_builder) Build() *Fixed64LT { type Fixed64LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8515,7 +8516,7 @@ func (b0 Fixed64LTE_builder) Build() *Fixed64LTE { type Fixed64GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8572,7 +8573,7 @@ func (b0 Fixed64GT_builder) Build() *Fixed64GT { type Fixed64GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8629,7 +8630,7 @@ func (b0 Fixed64GTE_builder) Build() *Fixed64GTE { type Fixed64GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8686,7 +8687,7 @@ func (b0 Fixed64GTLT_builder) Build() *Fixed64GTLT { type Fixed64ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8743,7 +8744,7 @@ func (b0 Fixed64ExLTGT_builder) Build() *Fixed64ExLTGT { type Fixed64GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8800,7 +8801,7 @@ func (b0 Fixed64GTELTE_builder) Build() *Fixed64GTELTE { type Fixed64ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8857,7 +8858,7 @@ func (b0 Fixed64ExGTELTE_builder) Build() *Fixed64ExGTELTE { type Fixed64Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8914,7 +8915,7 @@ func (b0 Fixed64Ignore_builder) Build() *Fixed64Ignore { type Fixed64IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -8971,7 +8972,7 @@ func (b0 Fixed64IncorrectType_builder) Build() *Fixed64IncorrectType { type Fixed64Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9028,7 +9029,7 @@ func (b0 Fixed64Example_builder) Build() *Fixed64Example { type SFixed32None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9085,7 +9086,7 @@ func (b0 SFixed32None_builder) Build() *SFixed32None { type SFixed32Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9142,7 +9143,7 @@ func (b0 SFixed32Const_builder) Build() *SFixed32Const { type SFixed32In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9199,7 +9200,7 @@ func (b0 SFixed32In_builder) Build() *SFixed32In { type SFixed32NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9256,7 +9257,7 @@ func (b0 SFixed32NotIn_builder) Build() *SFixed32NotIn { type SFixed32LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9313,7 +9314,7 @@ func (b0 SFixed32LT_builder) Build() *SFixed32LT { type SFixed32LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9370,7 +9371,7 @@ func (b0 SFixed32LTE_builder) Build() *SFixed32LTE { type SFixed32GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9427,7 +9428,7 @@ func (b0 SFixed32GT_builder) Build() *SFixed32GT { type SFixed32GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9484,7 +9485,7 @@ func (b0 SFixed32GTE_builder) Build() *SFixed32GTE { type SFixed32GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9541,7 +9542,7 @@ func (b0 SFixed32GTLT_builder) Build() *SFixed32GTLT { type SFixed32ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9598,7 +9599,7 @@ func (b0 SFixed32ExLTGT_builder) Build() *SFixed32ExLTGT { type SFixed32GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9655,7 +9656,7 @@ func (b0 SFixed32GTELTE_builder) Build() *SFixed32GTELTE { type SFixed32ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9712,7 +9713,7 @@ func (b0 SFixed32ExGTELTE_builder) Build() *SFixed32ExGTELTE { type SFixed32Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9769,7 +9770,7 @@ func (b0 SFixed32Ignore_builder) Build() *SFixed32Ignore { type SFixed32IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9826,7 +9827,7 @@ func (b0 SFixed32IncorrectType_builder) Build() *SFixed32IncorrectType { type SFixed32Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9883,7 +9884,7 @@ func (b0 SFixed32Example_builder) Build() *SFixed32Example { type SFixed64None struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9940,7 +9941,7 @@ func (b0 SFixed64None_builder) Build() *SFixed64None { type SFixed64Const struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -9997,7 +9998,7 @@ func (b0 SFixed64Const_builder) Build() *SFixed64Const { type SFixed64In struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10054,7 +10055,7 @@ func (b0 SFixed64In_builder) Build() *SFixed64In { type SFixed64NotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10111,7 +10112,7 @@ func (b0 SFixed64NotIn_builder) Build() *SFixed64NotIn { type SFixed64LT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10168,7 +10169,7 @@ func (b0 SFixed64LT_builder) Build() *SFixed64LT { type SFixed64LTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10225,7 +10226,7 @@ func (b0 SFixed64LTE_builder) Build() *SFixed64LTE { type SFixed64GT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10282,7 +10283,7 @@ func (b0 SFixed64GT_builder) Build() *SFixed64GT { type SFixed64GTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10339,7 +10340,7 @@ func (b0 SFixed64GTE_builder) Build() *SFixed64GTE { type SFixed64GTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10396,7 +10397,7 @@ func (b0 SFixed64GTLT_builder) Build() *SFixed64GTLT { type SFixed64ExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10453,7 +10454,7 @@ func (b0 SFixed64ExLTGT_builder) Build() *SFixed64ExLTGT { type SFixed64GTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10510,7 +10511,7 @@ func (b0 SFixed64GTELTE_builder) Build() *SFixed64GTELTE { type SFixed64ExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10567,7 +10568,7 @@ func (b0 SFixed64ExGTELTE_builder) Build() *SFixed64ExGTELTE { type SFixed64Ignore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10624,7 +10625,7 @@ func (b0 SFixed64Ignore_builder) Build() *SFixed64Ignore { type SFixed64IncorrectType struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10681,7 +10682,7 @@ func (b0 SFixed64IncorrectType_builder) Build() *SFixed64IncorrectType { type SFixed64Example struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -10738,7 +10739,7 @@ func (b0 SFixed64Example_builder) Build() *SFixed64Example { type Int64LTEOptional struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -10813,7 +10814,7 @@ func (b0 Int64LTEOptional_builder) Build() *Int64LTEOptional { var File_buf_validate_conformance_cases_numbers_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_numbers_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_numbers_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -11409,7 +11410,7 @@ var file_buf_validate_conformance_cases_numbers_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_numbers_proto_msgTypes = make([]protoimpl.MessageInfo, 186) var file_buf_validate_conformance_cases_numbers_proto_goTypes = []any{ @@ -11618,7 +11619,7 @@ func file_buf_validate_conformance_cases_numbers_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_numbers_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_numbers_proto_rawDesc), len(file_buf_validate_conformance_cases_numbers_proto_rawDesc)), NumEnums: 0, NumMessages: 186, NumExtensions: 0, @@ -11629,7 +11630,6 @@ func file_buf_validate_conformance_cases_numbers_proto_init() { MessageInfos: file_buf_validate_conformance_cases_numbers_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_numbers_proto = out.File - file_buf_validate_conformance_cases_numbers_proto_rawDesc = nil file_buf_validate_conformance_cases_numbers_proto_goTypes = nil file_buf_validate_conformance_cases_numbers_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/oneofs.pb.go b/internal/gen/buf/validate/conformance/cases/oneofs.pb.go index 4a9b8d6..b7dade7 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/oneofs.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -918,7 +919,7 @@ func (*OneofRequiredWithRequiredField_B) isOneofRequiredWithRequiredField_O() {} var File_buf_validate_conformance_cases_oneofs_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = string([]byte{ 0x0a, 0x2b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, @@ -974,7 +975,7 @@ var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = []byte{ 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_oneofs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_buf_validate_conformance_cases_oneofs_proto_goTypes = []any{ @@ -1021,7 +1022,7 @@ func file_buf_validate_conformance_cases_oneofs_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_oneofs_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_oneofs_proto_rawDesc), len(file_buf_validate_conformance_cases_oneofs_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, @@ -1032,7 +1033,6 @@ func file_buf_validate_conformance_cases_oneofs_proto_init() { MessageInfos: file_buf_validate_conformance_cases_oneofs_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_oneofs_proto = out.File - file_buf_validate_conformance_cases_oneofs_proto_rawDesc = nil file_buf_validate_conformance_cases_oneofs_proto_goTypes = nil file_buf_validate_conformance_cases_oneofs_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/oneofs_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/oneofs_protoopaque.pb.go index 9e101bf..10a0e18 100644 --- a/internal/gen/buf/validate/conformance/cases/oneofs_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/oneofs_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/oneofs.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type TestOneofMsg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -871,7 +872,7 @@ func (*oneofRequiredWithRequiredField_B) isOneofRequiredWithRequiredField_O() {} var File_buf_validate_conformance_cases_oneofs_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = string([]byte{ 0x0a, 0x2b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x62, @@ -927,7 +928,7 @@ var file_buf_validate_conformance_cases_oneofs_proto_rawDesc = []byte{ 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_oneofs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_buf_validate_conformance_cases_oneofs_proto_goTypes = []any{ @@ -974,7 +975,7 @@ func file_buf_validate_conformance_cases_oneofs_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_oneofs_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_oneofs_proto_rawDesc), len(file_buf_validate_conformance_cases_oneofs_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, @@ -985,7 +986,6 @@ func file_buf_validate_conformance_cases_oneofs_proto_init() { MessageInfos: file_buf_validate_conformance_cases_oneofs_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_oneofs_proto = out.File - file_buf_validate_conformance_cases_oneofs_proto_rawDesc = nil file_buf_validate_conformance_cases_oneofs_proto_goTypes = nil file_buf_validate_conformance_cases_oneofs_proto_depIdxs = 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 9666221..618136d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/other_package/embed.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -221,7 +222,7 @@ func (b0 Embed_DoubleEmbed_builder) Build() *Embed_DoubleEmbed { var File_buf_validate_conformance_cases_other_package_embed_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2f, 0x65, @@ -267,7 +268,7 @@ var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = []by 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -294,7 +295,7 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc), len(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc)), NumEnums: 2, NumMessages: 2, NumExtensions: 0, @@ -306,7 +307,6 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_init() { MessageInfos: file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_other_package_embed_proto = out.File - file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = nil file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = nil file_buf_validate_conformance_cases_other_package_embed_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/other_package/embed_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/other_package/embed_protoopaque.pb.go index f06b927..c17bc3f 100644 --- a/internal/gen/buf/validate/conformance/cases/other_package/embed_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/other_package/embed_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/other_package/embed.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -121,7 +122,7 @@ func (x Embed_DoubleEmbed_DoubleEnumerated) Number() protoreflect.EnumNumber { // Validate message embedding across packages. type Embed struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -221,7 +222,7 @@ func (b0 Embed_DoubleEmbed_builder) Build() *Embed_DoubleEmbed { var File_buf_validate_conformance_cases_other_package_embed_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = string([]byte{ 0x0a, 0x38, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2f, 0x65, @@ -267,7 +268,7 @@ var file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = []by 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -294,7 +295,7 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc), len(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc)), NumEnums: 2, NumMessages: 2, NumExtensions: 0, @@ -306,7 +307,6 @@ func file_buf_validate_conformance_cases_other_package_embed_proto_init() { MessageInfos: file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_other_package_embed_proto = out.File - file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = nil file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = nil file_buf_validate_conformance_cases_other_package_embed_proto_depIdxs = nil } 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 5a700c7..fdc8d6d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto2.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -2989,7 +2990,7 @@ var ( var File_buf_validate_conformance_cases_predefined_rules_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x3c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -3470,7 +3471,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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) @@ -3606,7 +3607,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc)), NumEnums: 1, NumMessages: 40, NumExtensions: 19, @@ -3619,7 +3620,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto2_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2_protoopaque.pb.go index 5b9be0d..9d5624c 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto2_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto2.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -82,7 +83,7 @@ func (x PredefinedEnumRuleProto2_EnumProto2) Number() protoreflect.EnumNumber { type PredefinedFloatRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -157,7 +158,7 @@ func (b0 PredefinedFloatRuleProto2_builder) Build() *PredefinedFloatRuleProto2 { type PredefinedDoubleRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -232,7 +233,7 @@ func (b0 PredefinedDoubleRuleProto2_builder) Build() *PredefinedDoubleRuleProto2 type PredefinedInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -307,7 +308,7 @@ func (b0 PredefinedInt32RuleProto2_builder) Build() *PredefinedInt32RuleProto2 { type PredefinedInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -382,7 +383,7 @@ func (b0 PredefinedInt64RuleProto2_builder) Build() *PredefinedInt64RuleProto2 { type PredefinedUInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -457,7 +458,7 @@ func (b0 PredefinedUInt32RuleProto2_builder) Build() *PredefinedUInt32RuleProto2 type PredefinedUInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -532,7 +533,7 @@ func (b0 PredefinedUInt64RuleProto2_builder) Build() *PredefinedUInt64RuleProto2 type PredefinedSInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -607,7 +608,7 @@ func (b0 PredefinedSInt32RuleProto2_builder) Build() *PredefinedSInt32RuleProto2 type PredefinedSInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -682,7 +683,7 @@ func (b0 PredefinedSInt64RuleProto2_builder) Build() *PredefinedSInt64RuleProto2 type PredefinedFixed32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -757,7 +758,7 @@ func (b0 PredefinedFixed32RuleProto2_builder) Build() *PredefinedFixed32RuleProt type PredefinedFixed64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -832,7 +833,7 @@ func (b0 PredefinedFixed64RuleProto2_builder) Build() *PredefinedFixed64RuleProt type PredefinedSFixed32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -907,7 +908,7 @@ func (b0 PredefinedSFixed32RuleProto2_builder) Build() *PredefinedSFixed32RulePr type PredefinedSFixed64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -982,7 +983,7 @@ func (b0 PredefinedSFixed64RuleProto2_builder) Build() *PredefinedSFixed64RulePr type PredefinedBoolRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1057,7 +1058,7 @@ func (b0 PredefinedBoolRuleProto2_builder) Build() *PredefinedBoolRuleProto2 { type PredefinedStringRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1135,7 +1136,7 @@ func (b0 PredefinedStringRuleProto2_builder) Build() *PredefinedStringRuleProto2 type PredefinedBytesRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1213,7 +1214,7 @@ func (b0 PredefinedBytesRuleProto2_builder) Build() *PredefinedBytesRuleProto2 { type PredefinedEnumRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val PredefinedEnumRuleProto2_EnumProto2 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto2_EnumProto2" json:"val,omitempty"` + xxx_hidden_Val PredefinedEnumRuleProto2_EnumProto2 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto2_EnumProto2"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1290,7 +1291,7 @@ func (b0 PredefinedEnumRuleProto2_builder) Build() *PredefinedEnumRuleProto2 { type PredefinedRepeatedRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1347,7 +1348,7 @@ func (b0 PredefinedRepeatedRuleProto2_builder) Build() *PredefinedRepeatedRulePr type PredefinedDurationRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1415,7 +1416,7 @@ func (b0 PredefinedDurationRuleProto2_builder) Build() *PredefinedDurationRulePr type PredefinedTimestampRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1483,7 +1484,7 @@ func (b0 PredefinedTimestampRuleProto2_builder) Build() *PredefinedTimestampRule type PredefinedWrappedFloatRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1551,7 +1552,7 @@ func (b0 PredefinedWrappedFloatRuleProto2_builder) Build() *PredefinedWrappedFlo type PredefinedWrappedDoubleRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1619,7 +1620,7 @@ func (b0 PredefinedWrappedDoubleRuleProto2_builder) Build() *PredefinedWrappedDo type PredefinedWrappedInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1687,7 +1688,7 @@ func (b0 PredefinedWrappedInt32RuleProto2_builder) Build() *PredefinedWrappedInt type PredefinedWrappedInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1755,7 +1756,7 @@ func (b0 PredefinedWrappedInt64RuleProto2_builder) Build() *PredefinedWrappedInt type PredefinedWrappedUInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1823,7 +1824,7 @@ func (b0 PredefinedWrappedUInt32RuleProto2_builder) Build() *PredefinedWrappedUI type PredefinedWrappedUInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1891,7 +1892,7 @@ func (b0 PredefinedWrappedUInt64RuleProto2_builder) Build() *PredefinedWrappedUI type PredefinedWrappedBoolRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1959,7 +1960,7 @@ func (b0 PredefinedWrappedBoolRuleProto2_builder) Build() *PredefinedWrappedBool type PredefinedWrappedStringRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2027,7 +2028,7 @@ func (b0 PredefinedWrappedStringRuleProto2_builder) Build() *PredefinedWrappedSt type PredefinedWrappedBytesRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2095,7 +2096,7 @@ func (b0 PredefinedWrappedBytesRuleProto2_builder) Build() *PredefinedWrappedByt type PredefinedRepeatedWrappedFloatRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2154,7 +2155,7 @@ func (b0 PredefinedRepeatedWrappedFloatRuleProto2_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedDoubleRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2213,7 +2214,7 @@ func (b0 PredefinedRepeatedWrappedDoubleRuleProto2_builder) Build() *PredefinedR type PredefinedRepeatedWrappedInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2272,7 +2273,7 @@ func (b0 PredefinedRepeatedWrappedInt32RuleProto2_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2331,7 +2332,7 @@ func (b0 PredefinedRepeatedWrappedInt64RuleProto2_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedUInt32RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2390,7 +2391,7 @@ func (b0 PredefinedRepeatedWrappedUInt32RuleProto2_builder) Build() *PredefinedR type PredefinedRepeatedWrappedUInt64RuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2449,7 +2450,7 @@ func (b0 PredefinedRepeatedWrappedUInt64RuleProto2_builder) Build() *PredefinedR type PredefinedRepeatedWrappedBoolRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2508,7 +2509,7 @@ func (b0 PredefinedRepeatedWrappedBoolRuleProto2_builder) Build() *PredefinedRep type PredefinedRepeatedWrappedStringRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2567,7 +2568,7 @@ func (b0 PredefinedRepeatedWrappedStringRuleProto2_builder) Build() *PredefinedR type PredefinedRepeatedWrappedBytesRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2626,8 +2627,8 @@ func (b0 PredefinedRepeatedWrappedBytesRuleProto2_builder) Build() *PredefinedRe type PredefinedAndCustomRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` - xxx_hidden_B *PredefinedAndCustomRuleProto2_Nested `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a"` + xxx_hidden_B *PredefinedAndCustomRuleProto2_Nested `protobuf:"bytes,2,opt,name=b"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2726,7 +2727,7 @@ func (b0 PredefinedAndCustomRuleProto2_builder) Build() *PredefinedAndCustomRule type StandardPredefinedAndCustomRuleProto2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2801,7 +2802,7 @@ func (b0 StandardPredefinedAndCustomRuleProto2_builder) Build() *StandardPredefi type PredefinedAndCustomRuleProto2_Nested struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c" json:"c,omitempty"` + xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3145,7 +3146,7 @@ var ( var File_buf_validate_conformance_cases_predefined_rules_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x3c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -3626,7 +3627,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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) @@ -3762,7 +3763,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc)), NumEnums: 1, NumMessages: 40, NumExtensions: 19, @@ -3775,7 +3776,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto2_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto2_proto_depIdxs = nil } 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 26d897e..720d685 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto3.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -2663,7 +2664,7 @@ func (b0 PredefinedAndCustomRuleProto3_Nested_builder) Build() *PredefinedAndCus var File_buf_validate_conformance_cases_predefined_rules_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x3c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -2972,7 +2973,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -3080,7 +3081,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc)), NumEnums: 1, NumMessages: 43, NumExtensions: 0, @@ -3092,7 +3093,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto3_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto3_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3_protoopaque.pb.go index a7f341c..cfc6615 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto3_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto3.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -82,7 +83,7 @@ func (x PredefinedEnumRuleProto3_EnumProto3) Number() protoreflect.EnumNumber { type PredefinedFloatRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -139,7 +140,7 @@ func (b0 PredefinedFloatRuleProto3_builder) Build() *PredefinedFloatRuleProto3 { type PredefinedDoubleRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -196,7 +197,7 @@ func (b0 PredefinedDoubleRuleProto3_builder) Build() *PredefinedDoubleRuleProto3 type PredefinedInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -253,7 +254,7 @@ func (b0 PredefinedInt32RuleProto3_builder) Build() *PredefinedInt32RuleProto3 { type PredefinedInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -310,7 +311,7 @@ func (b0 PredefinedInt64RuleProto3_builder) Build() *PredefinedInt64RuleProto3 { type PredefinedUInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -367,7 +368,7 @@ func (b0 PredefinedUInt32RuleProto3_builder) Build() *PredefinedUInt32RuleProto3 type PredefinedUInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -424,7 +425,7 @@ func (b0 PredefinedUInt64RuleProto3_builder) Build() *PredefinedUInt64RuleProto3 type PredefinedSInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -481,7 +482,7 @@ func (b0 PredefinedSInt32RuleProto3_builder) Build() *PredefinedSInt32RuleProto3 type PredefinedSInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -538,7 +539,7 @@ func (b0 PredefinedSInt64RuleProto3_builder) Build() *PredefinedSInt64RuleProto3 type PredefinedFixed32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -595,7 +596,7 @@ func (b0 PredefinedFixed32RuleProto3_builder) Build() *PredefinedFixed32RuleProt type PredefinedFixed64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -652,7 +653,7 @@ func (b0 PredefinedFixed64RuleProto3_builder) Build() *PredefinedFixed64RuleProt type PredefinedSFixed32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -709,7 +710,7 @@ func (b0 PredefinedSFixed32RuleProto3_builder) Build() *PredefinedSFixed32RulePr type PredefinedSFixed64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -766,7 +767,7 @@ func (b0 PredefinedSFixed64RuleProto3_builder) Build() *PredefinedSFixed64RulePr type PredefinedBoolRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -823,7 +824,7 @@ func (b0 PredefinedBoolRuleProto3_builder) Build() *PredefinedBoolRuleProto3 { type PredefinedStringRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -880,7 +881,7 @@ func (b0 PredefinedStringRuleProto3_builder) Build() *PredefinedStringRuleProto3 type PredefinedBytesRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -940,7 +941,7 @@ func (b0 PredefinedBytesRuleProto3_builder) Build() *PredefinedBytesRuleProto3 { type PredefinedEnumRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val PredefinedEnumRuleProto3_EnumProto3 `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto3_EnumProto3" json:"val,omitempty"` + xxx_hidden_Val PredefinedEnumRuleProto3_EnumProto3 `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto3_EnumProto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -997,7 +998,7 @@ func (b0 PredefinedEnumRuleProto3_builder) Build() *PredefinedEnumRuleProto3 { type PredefinedMapRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1054,7 +1055,7 @@ func (b0 PredefinedMapRuleProto3_builder) Build() *PredefinedMapRuleProto3 { type PredefinedRepeatedRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1111,7 +1112,7 @@ func (b0 PredefinedRepeatedRuleProto3_builder) Build() *PredefinedRepeatedRulePr type PredefinedDurationRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1179,7 +1180,7 @@ func (b0 PredefinedDurationRuleProto3_builder) Build() *PredefinedDurationRulePr type PredefinedTimestampRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1247,7 +1248,7 @@ func (b0 PredefinedTimestampRuleProto3_builder) Build() *PredefinedTimestampRule type PredefinedWrappedFloatRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1315,7 +1316,7 @@ func (b0 PredefinedWrappedFloatRuleProto3_builder) Build() *PredefinedWrappedFlo type PredefinedWrappedDoubleRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1383,7 +1384,7 @@ func (b0 PredefinedWrappedDoubleRuleProto3_builder) Build() *PredefinedWrappedDo type PredefinedWrappedInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1451,7 +1452,7 @@ func (b0 PredefinedWrappedInt32RuleProto3_builder) Build() *PredefinedWrappedInt type PredefinedWrappedInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1519,7 +1520,7 @@ func (b0 PredefinedWrappedInt64RuleProto3_builder) Build() *PredefinedWrappedInt type PredefinedWrappedUInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1587,7 +1588,7 @@ func (b0 PredefinedWrappedUInt32RuleProto3_builder) Build() *PredefinedWrappedUI type PredefinedWrappedUInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1655,7 +1656,7 @@ func (b0 PredefinedWrappedUInt64RuleProto3_builder) Build() *PredefinedWrappedUI type PredefinedWrappedBoolRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1723,7 +1724,7 @@ func (b0 PredefinedWrappedBoolRuleProto3_builder) Build() *PredefinedWrappedBool type PredefinedWrappedStringRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1791,7 +1792,7 @@ func (b0 PredefinedWrappedStringRuleProto3_builder) Build() *PredefinedWrappedSt type PredefinedWrappedBytesRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1859,7 +1860,7 @@ func (b0 PredefinedWrappedBytesRuleProto3_builder) Build() *PredefinedWrappedByt type PredefinedRepeatedWrappedFloatRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1918,7 +1919,7 @@ func (b0 PredefinedRepeatedWrappedFloatRuleProto3_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedDoubleRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1977,7 +1978,7 @@ func (b0 PredefinedRepeatedWrappedDoubleRuleProto3_builder) Build() *PredefinedR type PredefinedRepeatedWrappedInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2036,7 +2037,7 @@ func (b0 PredefinedRepeatedWrappedInt32RuleProto3_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2095,7 +2096,7 @@ func (b0 PredefinedRepeatedWrappedInt64RuleProto3_builder) Build() *PredefinedRe type PredefinedRepeatedWrappedUInt32RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2154,7 +2155,7 @@ func (b0 PredefinedRepeatedWrappedUInt32RuleProto3_builder) Build() *PredefinedR type PredefinedRepeatedWrappedUInt64RuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2213,7 +2214,7 @@ func (b0 PredefinedRepeatedWrappedUInt64RuleProto3_builder) Build() *PredefinedR type PredefinedRepeatedWrappedBoolRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2272,7 +2273,7 @@ func (b0 PredefinedRepeatedWrappedBoolRuleProto3_builder) Build() *PredefinedRep type PredefinedRepeatedWrappedStringRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2331,7 +2332,7 @@ func (b0 PredefinedRepeatedWrappedStringRuleProto3_builder) Build() *PredefinedR type PredefinedRepeatedWrappedBytesRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2390,8 +2391,8 @@ func (b0 PredefinedRepeatedWrappedBytesRuleProto3_builder) Build() *PredefinedRe type PredefinedAndCustomRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B *PredefinedAndCustomRuleProto3_Nested `protobuf:"bytes,2,opt,name=b,proto3,oneof" json:"b,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a,proto3"` + xxx_hidden_B *PredefinedAndCustomRuleProto3_Nested `protobuf:"bytes,2,opt,name=b,proto3,oneof"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2472,7 +2473,7 @@ func (b0 PredefinedAndCustomRuleProto3_builder) Build() *PredefinedAndCustomRule type StandardPredefinedAndCustomRuleProto3 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2531,8 +2532,8 @@ func (b0 StandardPredefinedAndCustomRuleProto3_builder) Build() *StandardPredefi // TODO(jchadwick-buf): Remove this when bufbuild/buf#3306 is fixed. type PredefinedRulesProto3UnusedImportBugWorkaround struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Dummy_1 *StandardPredefinedAndCustomRuleProto2 `protobuf:"bytes,1,opt,name=dummy_1,json=dummy1,proto3" json:"dummy_1,omitempty"` - xxx_hidden_Dummy_2 *StandardPredefinedAndCustomRuleEdition2023 `protobuf:"bytes,2,opt,name=dummy_2,json=dummy2,proto3" json:"dummy_2,omitempty"` + xxx_hidden_Dummy_1 *StandardPredefinedAndCustomRuleProto2 `protobuf:"bytes,1,opt,name=dummy_1,json=dummy1,proto3"` + xxx_hidden_Dummy_2 *StandardPredefinedAndCustomRuleEdition2023 `protobuf:"bytes,2,opt,name=dummy_2,json=dummy2,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2624,7 +2625,7 @@ func (b0 PredefinedRulesProto3UnusedImportBugWorkaround_builder) Build() *Predef type PredefinedAndCustomRuleProto3_Nested struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c,proto3" json:"c,omitempty"` + xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2681,7 +2682,7 @@ func (b0 PredefinedAndCustomRuleProto3_Nested_builder) Build() *PredefinedAndCus var File_buf_validate_conformance_cases_predefined_rules_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x3c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -2990,7 +2991,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -3098,7 +3099,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc)), NumEnums: 1, NumMessages: 43, NumExtensions: 0, @@ -3110,7 +3111,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto3_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto3_proto_depIdxs = nil } 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 4de7fc8..8bcfc74 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto_editions.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -3060,7 +3061,7 @@ var ( var File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x44, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -3603,7 +3604,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_ra 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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) @@ -3744,7 +3745,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_i out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc)), NumEnums: 1, NumMessages: 42, NumExtensions: 20, @@ -3757,7 +3758,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_i ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions_protoopaque.pb.go index ea7a69f..07e8314 100644 --- a/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/predefined_rules_proto_editions_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/predefined_rules_proto_editions.proto @@ -30,6 +30,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -82,7 +83,7 @@ func (x PredefinedEnumRuleEdition2023_EnumEdition2023) Number() protoreflect.Enu type PredefinedFloatRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val float32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -157,7 +158,7 @@ func (b0 PredefinedFloatRuleEdition2023_builder) Build() *PredefinedFloatRuleEdi type PredefinedDoubleRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val float64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -232,7 +233,7 @@ func (b0 PredefinedDoubleRuleEdition2023_builder) Build() *PredefinedDoubleRuleE type PredefinedInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -307,7 +308,7 @@ func (b0 PredefinedInt32RuleEdition2023_builder) Build() *PredefinedInt32RuleEdi type PredefinedInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -382,7 +383,7 @@ func (b0 PredefinedInt64RuleEdition2023_builder) Build() *PredefinedInt64RuleEdi type PredefinedUInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -457,7 +458,7 @@ func (b0 PredefinedUInt32RuleEdition2023_builder) Build() *PredefinedUInt32RuleE type PredefinedUInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -532,7 +533,7 @@ func (b0 PredefinedUInt64RuleEdition2023_builder) Build() *PredefinedUInt64RuleE type PredefinedSInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"zigzag32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -607,7 +608,7 @@ func (b0 PredefinedSInt32RuleEdition2023_builder) Build() *PredefinedSInt32RuleE type PredefinedSInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"zigzag64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -682,7 +683,7 @@ func (b0 PredefinedSInt64RuleEdition2023_builder) Build() *PredefinedSInt64RuleE type PredefinedFixed32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -757,7 +758,7 @@ func (b0 PredefinedFixed32RuleEdition2023_builder) Build() *PredefinedFixed32Rul type PredefinedFixed64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val uint64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -832,7 +833,7 @@ func (b0 PredefinedFixed64RuleEdition2023_builder) Build() *PredefinedFixed64Rul type PredefinedSFixed32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int32 `protobuf:"fixed32,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -907,7 +908,7 @@ func (b0 PredefinedSFixed32RuleEdition2023_builder) Build() *PredefinedSFixed32R type PredefinedSFixed64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"fixed64,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -982,7 +983,7 @@ func (b0 PredefinedSFixed64RuleEdition2023_builder) Build() *PredefinedSFixed64R type PredefinedBoolRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val bool `protobuf:"varint,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1057,7 +1058,7 @@ func (b0 PredefinedBoolRuleEdition2023_builder) Build() *PredefinedBoolRuleEditi type PredefinedStringRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1135,7 +1136,7 @@ func (b0 PredefinedStringRuleEdition2023_builder) Build() *PredefinedStringRuleE type PredefinedBytesRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val []byte `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1213,7 +1214,7 @@ func (b0 PredefinedBytesRuleEdition2023_builder) Build() *PredefinedBytesRuleEdi type PredefinedEnumRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val PredefinedEnumRuleEdition2023_EnumEdition2023 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleEdition2023_EnumEdition2023" json:"val,omitempty"` + xxx_hidden_Val PredefinedEnumRuleEdition2023_EnumEdition2023 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleEdition2023_EnumEdition2023"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1290,7 +1291,7 @@ func (b0 PredefinedEnumRuleEdition2023_builder) Build() *PredefinedEnumRuleEditi type PredefinedRepeatedRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + xxx_hidden_Val []uint64 `protobuf:"varint,1,rep,packed,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1347,7 +1348,7 @@ func (b0 PredefinedRepeatedRuleEdition2023_builder) Build() *PredefinedRepeatedR type PredefinedMapRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1404,7 +1405,7 @@ func (b0 PredefinedMapRuleEdition2023_builder) Build() *PredefinedMapRuleEdition type PredefinedDurationRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1472,7 +1473,7 @@ func (b0 PredefinedDurationRuleEdition2023_builder) Build() *PredefinedDurationR type PredefinedTimestampRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1540,7 +1541,7 @@ func (b0 PredefinedTimestampRuleEdition2023_builder) Build() *PredefinedTimestam type PredefinedWrappedFloatRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1608,7 +1609,7 @@ func (b0 PredefinedWrappedFloatRuleEdition2023_builder) Build() *PredefinedWrapp type PredefinedWrappedDoubleRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1676,7 +1677,7 @@ func (b0 PredefinedWrappedDoubleRuleEdition2023_builder) Build() *PredefinedWrap type PredefinedWrappedInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1744,7 +1745,7 @@ func (b0 PredefinedWrappedInt32RuleEdition2023_builder) Build() *PredefinedWrapp type PredefinedWrappedInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1812,7 +1813,7 @@ func (b0 PredefinedWrappedInt64RuleEdition2023_builder) Build() *PredefinedWrapp type PredefinedWrappedUInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1880,7 +1881,7 @@ func (b0 PredefinedWrappedUInt32RuleEdition2023_builder) Build() *PredefinedWrap type PredefinedWrappedUInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1948,7 +1949,7 @@ func (b0 PredefinedWrappedUInt64RuleEdition2023_builder) Build() *PredefinedWrap type PredefinedWrappedBoolRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2016,7 +2017,7 @@ func (b0 PredefinedWrappedBoolRuleEdition2023_builder) Build() *PredefinedWrappe type PredefinedWrappedStringRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2084,7 +2085,7 @@ func (b0 PredefinedWrappedStringRuleEdition2023_builder) Build() *PredefinedWrap type PredefinedWrappedBytesRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2152,7 +2153,7 @@ func (b0 PredefinedWrappedBytesRuleEdition2023_builder) Build() *PredefinedWrapp type PredefinedRepeatedWrappedFloatRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2211,7 +2212,7 @@ func (b0 PredefinedRepeatedWrappedFloatRuleEdition2023_builder) Build() *Predefi type PredefinedRepeatedWrappedDoubleRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2270,7 +2271,7 @@ func (b0 PredefinedRepeatedWrappedDoubleRuleEdition2023_builder) Build() *Predef type PredefinedRepeatedWrappedInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2329,7 +2330,7 @@ func (b0 PredefinedRepeatedWrappedInt32RuleEdition2023_builder) Build() *Predefi type PredefinedRepeatedWrappedInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2388,7 +2389,7 @@ func (b0 PredefinedRepeatedWrappedInt64RuleEdition2023_builder) Build() *Predefi type PredefinedRepeatedWrappedUInt32RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2447,7 +2448,7 @@ func (b0 PredefinedRepeatedWrappedUInt32RuleEdition2023_builder) Build() *Predef type PredefinedRepeatedWrappedUInt64RuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2506,7 +2507,7 @@ func (b0 PredefinedRepeatedWrappedUInt64RuleEdition2023_builder) Build() *Predef type PredefinedRepeatedWrappedBoolRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2565,7 +2566,7 @@ func (b0 PredefinedRepeatedWrappedBoolRuleEdition2023_builder) Build() *Predefin type PredefinedRepeatedWrappedStringRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2624,7 +2625,7 @@ func (b0 PredefinedRepeatedWrappedStringRuleEdition2023_builder) Build() *Predef type PredefinedRepeatedWrappedBytesRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val *[]*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2683,8 +2684,8 @@ func (b0 PredefinedRepeatedWrappedBytesRuleEdition2023_builder) Build() *Predefi type PredefinedAndCustomRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` - xxx_hidden_B *PredefinedAndCustomRuleEdition2023_Nested `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a"` + xxx_hidden_B *PredefinedAndCustomRuleEdition2023_Nested `protobuf:"bytes,2,opt,name=b"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2783,7 +2784,7 @@ func (b0 PredefinedAndCustomRuleEdition2023_builder) Build() *PredefinedAndCusto type StandardPredefinedAndCustomRuleEdition2023 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + xxx_hidden_A int32 `protobuf:"zigzag32,1,opt,name=a"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -2858,7 +2859,7 @@ func (b0 StandardPredefinedAndCustomRuleEdition2023_builder) Build() *StandardPr type PredefinedAndCustomRuleEdition2023_Nested struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c" json:"c,omitempty"` + xxx_hidden_C int32 `protobuf:"zigzag32,1,opt,name=c"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -3216,7 +3217,7 @@ var ( var File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x44, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, @@ -3759,7 +3760,7 @@ var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_ra 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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) @@ -3900,7 +3901,7 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_i out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc)), NumEnums: 1, NumMessages: 42, NumExtensions: 20, @@ -3913,7 +3914,6 @@ func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_i ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes, }.Build() File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto = out.File - file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/repeated.pb.go b/internal/gen/buf/validate/conformance/cases/repeated.pb.go index 6006d23..6705343 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/repeated.proto @@ -30,6 +30,7 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" durationpb "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1669,7 +1670,7 @@ func (b0 RepeatedExactIgnore_builder) Build() *RepeatedExactIgnore { var File_buf_validate_conformance_cases_repeated_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_repeated_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_repeated_proto_rawDesc = string([]byte{ 0x0a, 0x2d, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, @@ -1841,7 +1842,7 @@ var file_buf_validate_conformance_cases_repeated_proto_rawDesc = []byte{ 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1907,7 +1908,7 @@ func file_buf_validate_conformance_cases_repeated_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_repeated_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_repeated_proto_rawDesc), len(file_buf_validate_conformance_cases_repeated_proto_rawDesc)), NumEnums: 3, NumMessages: 26, NumExtensions: 0, @@ -1919,7 +1920,6 @@ func file_buf_validate_conformance_cases_repeated_proto_init() { MessageInfos: file_buf_validate_conformance_cases_repeated_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_repeated_proto = out.File - file_buf_validate_conformance_cases_repeated_proto_rawDesc = nil file_buf_validate_conformance_cases_repeated_proto_goTypes = nil file_buf_validate_conformance_cases_repeated_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/repeated_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/repeated_protoopaque.pb.go index 46603e0..5a51b49 100644 --- a/internal/gen/buf/validate/conformance/cases/repeated_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/repeated_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/repeated.proto @@ -30,6 +30,7 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" durationpb "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -173,7 +174,7 @@ func (x RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) Number() protoreflect.EnumNu type Embed struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -230,7 +231,7 @@ func (b0 Embed_builder) Build() *Embed { type RepeatedNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -287,7 +288,7 @@ func (b0 RepeatedNone_builder) Build() *RepeatedNone { type RepeatedEmbedNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -346,7 +347,7 @@ func (b0 RepeatedEmbedNone_builder) Build() *RepeatedEmbedNone { type RepeatedEmbedCrossPackageNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*other_package.Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*other_package.Embed `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -405,7 +406,7 @@ func (b0 RepeatedEmbedCrossPackageNone_builder) Build() *RepeatedEmbedCrossPacka type RepeatedMin struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -464,7 +465,7 @@ func (b0 RepeatedMin_builder) Build() *RepeatedMin { type RepeatedMax struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []float64 `protobuf:"fixed64,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []float64 `protobuf:"fixed64,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -521,7 +522,7 @@ func (b0 RepeatedMax_builder) Build() *RepeatedMax { type RepeatedMinMax struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []int32 `protobuf:"fixed32,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []int32 `protobuf:"fixed32,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -578,7 +579,7 @@ func (b0 RepeatedMinMax_builder) Build() *RepeatedMinMax { type RepeatedExact struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -635,7 +636,7 @@ func (b0 RepeatedExact_builder) Build() *RepeatedExact { type RepeatedUnique struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -692,7 +693,7 @@ func (b0 RepeatedUnique_builder) Build() *RepeatedUnique { type RepeatedNotUnique struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -749,8 +750,8 @@ func (b0 RepeatedNotUnique_builder) Build() *RepeatedNotUnique { type RepeatedMultipleUnique struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A []string `protobuf:"bytes,1,rep,name=a,proto3" json:"a,omitempty"` - xxx_hidden_B []int32 `protobuf:"varint,2,rep,packed,name=b,proto3" json:"b,omitempty"` + xxx_hidden_A []string `protobuf:"bytes,1,rep,name=a,proto3"` + xxx_hidden_B []int32 `protobuf:"varint,2,rep,packed,name=b,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -820,7 +821,7 @@ func (b0 RepeatedMultipleUnique_builder) Build() *RepeatedMultipleUnique { type RepeatedItemRule struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []float32 `protobuf:"fixed32,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []float32 `protobuf:"fixed32,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -877,7 +878,7 @@ func (b0 RepeatedItemRule_builder) Build() *RepeatedItemRule { type RepeatedItemPattern struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -934,7 +935,7 @@ func (b0 RepeatedItemPattern_builder) Build() *RepeatedItemPattern { type RepeatedEmbedSkip struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*Embed `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -993,7 +994,7 @@ func (b0 RepeatedEmbedSkip_builder) Build() *RepeatedEmbedSkip { type RepeatedItemIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1050,7 +1051,7 @@ func (b0 RepeatedItemIn_builder) Build() *RepeatedItemIn { type RepeatedItemNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1107,7 +1108,7 @@ func (b0 RepeatedItemNotIn_builder) Build() *RepeatedItemNotIn { type RepeatedEnumIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum" json:"val,omitempty"` + xxx_hidden_Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1164,7 +1165,7 @@ func (b0 RepeatedEnumIn_builder) Build() *RepeatedEnumIn { type RepeatedEnumNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum" json:"val,omitempty"` + xxx_hidden_Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1221,7 +1222,7 @@ func (b0 RepeatedEnumNotIn_builder) Build() *RepeatedEnumNotIn { type RepeatedEmbeddedEnumIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []RepeatedEmbeddedEnumIn_AnotherInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumIn_AnotherInEnum" json:"val,omitempty"` + xxx_hidden_Val []RepeatedEmbeddedEnumIn_AnotherInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumIn_AnotherInEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1278,7 +1279,7 @@ func (b0 RepeatedEmbeddedEnumIn_builder) Build() *RepeatedEmbeddedEnumIn { type RepeatedEmbeddedEnumNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []RepeatedEmbeddedEnumNotIn_AnotherNotInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn_AnotherNotInEnum" json:"val,omitempty"` + xxx_hidden_Val []RepeatedEmbeddedEnumNotIn_AnotherNotInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn_AnotherNotInEnum"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1335,7 +1336,7 @@ func (b0 RepeatedEmbeddedEnumNotIn_builder) Build() *RepeatedEmbeddedEnumNotIn { type RepeatedAnyIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1394,7 +1395,7 @@ func (b0 RepeatedAnyIn_builder) Build() *RepeatedAnyIn { type RepeatedAnyNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1453,7 +1454,7 @@ func (b0 RepeatedAnyNotIn_builder) Build() *RepeatedAnyNotIn { type RepeatedMinAndItemLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1510,7 +1511,7 @@ func (b0 RepeatedMinAndItemLen_builder) Build() *RepeatedMinAndItemLen { type RepeatedMinAndMaxItemLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1567,7 +1568,7 @@ func (b0 RepeatedMinAndMaxItemLen_builder) Build() *RepeatedMinAndMaxItemLen { type RepeatedDuration struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *[]*durationpb.Duration `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *[]*durationpb.Duration `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1626,7 +1627,7 @@ func (b0 RepeatedDuration_builder) Build() *RepeatedDuration { type RepeatedExactIgnore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1683,7 +1684,7 @@ func (b0 RepeatedExactIgnore_builder) Build() *RepeatedExactIgnore { var File_buf_validate_conformance_cases_repeated_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_repeated_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_repeated_proto_rawDesc = string([]byte{ 0x0a, 0x2d, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, @@ -1855,7 +1856,7 @@ var file_buf_validate_conformance_cases_repeated_proto_rawDesc = []byte{ 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -1921,7 +1922,7 @@ func file_buf_validate_conformance_cases_repeated_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_repeated_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_repeated_proto_rawDesc), len(file_buf_validate_conformance_cases_repeated_proto_rawDesc)), NumEnums: 3, NumMessages: 26, NumExtensions: 0, @@ -1933,7 +1934,6 @@ func file_buf_validate_conformance_cases_repeated_proto_init() { MessageInfos: file_buf_validate_conformance_cases_repeated_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_repeated_proto = out.File - file_buf_validate_conformance_cases_repeated_proto_rawDesc = nil file_buf_validate_conformance_cases_repeated_proto_goTypes = nil file_buf_validate_conformance_cases_repeated_proto_depIdxs = nil } 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 5ec57dd..3a08bd7 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -671,7 +672,7 @@ func (b0 RequiredProto2Message_Msg_builder) Build() *RequiredProto2Message_Msg { var File_buf_validate_conformance_cases_required_field_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -737,7 +738,7 @@ var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = [] 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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 = []any{ @@ -774,7 +775,7 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -785,7 +786,6 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto2_proto = out.File - file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/required_field_proto2_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto2_protoopaque.pb.go index 05f13cc..fb04ac0 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto2_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto2_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type RequiredProto2ScalarOptional struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -116,7 +117,7 @@ func (b0 RequiredProto2ScalarOptional_builder) Build() *RequiredProto2ScalarOpti type RequiredProto2ScalarOptionalDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,def=foo"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -200,7 +201,7 @@ func (b0 RequiredProto2ScalarOptionalDefault_builder) Build() *RequiredProto2Sca type RequiredProto2ScalarRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -278,7 +279,7 @@ func (b0 RequiredProto2ScalarRequired_builder) Build() *RequiredProto2ScalarRequ type RequiredProto2Message struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredProto2Message_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *RequiredProto2Message_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -509,7 +510,7 @@ func (*requiredProto2Oneof_B) isRequiredProto2Oneof_Val() {} type RequiredProto2Repeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -566,7 +567,7 @@ func (b0 RequiredProto2Repeated_builder) Build() *RequiredProto2Repeated { type RequiredProto2Map struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -623,7 +624,7 @@ func (b0 RequiredProto2Map_builder) Build() *RequiredProto2Map { type RequiredProto2Message_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -701,7 +702,7 @@ func (b0 RequiredProto2Message_Msg_builder) Build() *RequiredProto2Message_Msg { var File_buf_validate_conformance_cases_required_field_proto2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -767,7 +768,7 @@ var file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = [] 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, -} +}) 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 = []any{ @@ -804,7 +805,7 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -815,7 +816,6 @@ func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { MessageInfos: file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto2_proto = out.File - file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto2_proto_depIdxs = 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 285579f..27ff980 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -576,7 +577,7 @@ func (b0 RequiredProto3Message_Msg_builder) Build() *RequiredProto3Message_Msg { var File_buf_validate_conformance_cases_required_field_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -638,7 +639,7 @@ var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = [] 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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 = []any{ @@ -675,7 +676,7 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -686,7 +687,6 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto3_proto = out.File - file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto3_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/required_field_proto3_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto3_protoopaque.pb.go index ac09780..80cdfc3 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto3_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto3_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto3.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type RequiredProto3Scalar struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 RequiredProto3Scalar_builder) Build() *RequiredProto3Scalar { type RequiredProto3OptionalScalar struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -173,7 +174,7 @@ func (b0 RequiredProto3OptionalScalar_builder) Build() *RequiredProto3OptionalSc type RequiredProto3Message struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *RequiredProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -404,7 +405,7 @@ func (*requiredProto3OneOf_B) isRequiredProto3OneOf_Val() {} type RequiredProto3Repeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -461,7 +462,7 @@ func (b0 RequiredProto3Repeated_builder) Build() *RequiredProto3Repeated { type RequiredProto3Map struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -518,7 +519,7 @@ func (b0 RequiredProto3Map_builder) Build() *RequiredProto3Map { type RequiredProto3Message_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -575,7 +576,7 @@ func (b0 RequiredProto3Message_Msg_builder) Build() *RequiredProto3Message_Msg { var File_buf_validate_conformance_cases_required_field_proto3_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = string([]byte{ 0x0a, 0x3a, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -637,7 +638,7 @@ var file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = [] 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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 = []any{ @@ -674,7 +675,7 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -685,7 +686,6 @@ func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { MessageInfos: file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto3_proto = out.File - file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto3_proto_depIdxs = 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 acbf26b..0a7ff3a 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1193,7 +1194,7 @@ func (b0 RequiredEditionsMessageLegacyRequiredDelimited_Msg_builder) Build() *Re var File_buf_validate_conformance_cases_required_field_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x42, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -1309,7 +1310,7 @@ var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawD 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -1357,7 +1358,7 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_ini out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 17, NumExtensions: 0, @@ -1368,7 +1369,6 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_ini MessageInfos: file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto_editions_proto = out.File - file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/required_field_proto_editions_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/required_field_proto_editions_protoopaque.pb.go index 150644c..b19a328 100644 --- a/internal/gen/buf/validate/conformance/cases/required_field_proto_editions_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/required_field_proto_editions_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/required_field_proto_editions.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type RequiredEditionsScalarExplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -116,7 +117,7 @@ func (b0 RequiredEditionsScalarExplicitPresence_builder) Build() *RequiredEditio type RequiredEditionsScalarExplicitPresenceDefault struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val,def=foo"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -200,7 +201,7 @@ func (b0 RequiredEditionsScalarExplicitPresenceDefault_builder) Build() *Require type RequiredEditionsScalarImplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -257,7 +258,7 @@ func (b0 RequiredEditionsScalarImplicitPresence_builder) Build() *RequiredEditio type RequiredEditionsScalarLegacyRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,req,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -335,7 +336,7 @@ func (b0 RequiredEditionsScalarLegacyRequired_builder) Build() *RequiredEditions type RequiredEditionsMessageExplicitPresence struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *RequiredEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -403,7 +404,7 @@ func (b0 RequiredEditionsMessageExplicitPresence_builder) Build() *RequiredEditi type RequiredEditionsMessageExplicitPresenceDelimited struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *RequiredEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -471,7 +472,7 @@ func (b0 RequiredEditionsMessageExplicitPresenceDelimited_builder) Build() *Requ type RequiredEditionsMessageLegacyRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + xxx_hidden_Val *RequiredEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -539,7 +540,7 @@ func (b0 RequiredEditionsMessageLegacyRequired_builder) Build() *RequiredEdition type RequiredEditionsMessageLegacyRequiredDelimited struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *RequiredEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + xxx_hidden_Val *RequiredEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -770,7 +771,7 @@ func (*requiredEditionsOneof_B) isRequiredEditionsOneof_Val() {} type RequiredEditionsRepeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -827,7 +828,7 @@ func (b0 RequiredEditionsRepeated_builder) Build() *RequiredEditionsRepeated { type RequiredEditionsRepeatedExpanded struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + xxx_hidden_Val []string `protobuf:"bytes,1,rep,name=val"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -884,7 +885,7 @@ func (b0 RequiredEditionsRepeatedExpanded_builder) Build() *RequiredEditionsRepe type RequiredEditionsMap struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Val map[string]string `protobuf:"bytes,1,rep,name=val" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -941,7 +942,7 @@ func (b0 RequiredEditionsMap_builder) Build() *RequiredEditionsMap { type RequiredEditionsMessageExplicitPresence_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1019,7 +1020,7 @@ func (b0 RequiredEditionsMessageExplicitPresence_Msg_builder) Build() *RequiredE type RequiredEditionsMessageExplicitPresenceDelimited_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1097,7 +1098,7 @@ func (b0 RequiredEditionsMessageExplicitPresenceDelimited_Msg_builder) Build() * type RequiredEditionsMessageLegacyRequired_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1175,7 +1176,7 @@ func (b0 RequiredEditionsMessageLegacyRequired_Msg_builder) Build() *RequiredEdi type RequiredEditionsMessageLegacyRequiredDelimited_Msg struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + xxx_hidden_Val *string `protobuf:"bytes,1,opt,name=val"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1253,7 +1254,7 @@ func (b0 RequiredEditionsMessageLegacyRequiredDelimited_Msg_builder) Build() *Re var File_buf_validate_conformance_cases_required_field_proto_editions_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = string([]byte{ 0x0a, 0x42, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, @@ -1369,7 +1370,7 @@ var file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawD 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x08, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07, -} +}) 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 = []any{ @@ -1417,7 +1418,7 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_ini out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc)), NumEnums: 0, NumMessages: 17, NumExtensions: 0, @@ -1428,7 +1429,6 @@ func file_buf_validate_conformance_cases_required_field_proto_editions_proto_ini MessageInfos: file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_required_field_proto_editions_proto = out.File - file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = nil file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes = nil file_buf_validate_conformance_cases_required_field_proto_editions_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/strings.pb.go b/internal/gen/buf/validate/conformance/cases/strings.pb.go index e4283dd..d548fd4 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/strings.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -3591,7 +3592,7 @@ func (b0 StringExample_builder) Build() *StringExample { var File_buf_validate_conformance_cases_strings_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_strings_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_strings_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -3809,7 +3810,7 @@ var file_buf_validate_conformance_cases_strings_proto_rawDesc = []byte{ 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_strings_proto_msgTypes = make([]protoimpl.MessageInfo, 61) var file_buf_validate_conformance_cases_strings_proto_goTypes = []any{ @@ -3895,7 +3896,7 @@ func file_buf_validate_conformance_cases_strings_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_strings_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_strings_proto_rawDesc), len(file_buf_validate_conformance_cases_strings_proto_rawDesc)), NumEnums: 0, NumMessages: 61, NumExtensions: 0, @@ -3906,7 +3907,6 @@ func file_buf_validate_conformance_cases_strings_proto_init() { MessageInfos: file_buf_validate_conformance_cases_strings_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_strings_proto = out.File - file_buf_validate_conformance_cases_strings_proto_rawDesc = nil file_buf_validate_conformance_cases_strings_proto_goTypes = nil file_buf_validate_conformance_cases_strings_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/strings_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/strings_protoopaque.pb.go index 39d2425..f00c5d6 100644 --- a/internal/gen/buf/validate/conformance/cases/strings_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/strings_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/strings.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type StringNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -95,7 +96,7 @@ func (b0 StringNone_builder) Build() *StringNone { type StringConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -152,7 +153,7 @@ func (b0 StringConst_builder) Build() *StringConst { type StringIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -209,7 +210,7 @@ func (b0 StringIn_builder) Build() *StringIn { type StringNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -266,7 +267,7 @@ func (b0 StringNotIn_builder) Build() *StringNotIn { type StringLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -323,7 +324,7 @@ func (b0 StringLen_builder) Build() *StringLen { type StringMinLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -380,7 +381,7 @@ func (b0 StringMinLen_builder) Build() *StringMinLen { type StringMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -437,7 +438,7 @@ func (b0 StringMaxLen_builder) Build() *StringMaxLen { type StringMinMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -494,7 +495,7 @@ func (b0 StringMinMaxLen_builder) Build() *StringMinMaxLen { type StringEqualMinMaxLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -551,7 +552,7 @@ func (b0 StringEqualMinMaxLen_builder) Build() *StringEqualMinMaxLen { type StringLenBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -608,7 +609,7 @@ func (b0 StringLenBytes_builder) Build() *StringLenBytes { type StringMinBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -665,7 +666,7 @@ func (b0 StringMinBytes_builder) Build() *StringMinBytes { type StringMaxBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -722,7 +723,7 @@ func (b0 StringMaxBytes_builder) Build() *StringMaxBytes { type StringMinMaxBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -779,7 +780,7 @@ func (b0 StringMinMaxBytes_builder) Build() *StringMinMaxBytes { type StringEqualMinMaxBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -836,7 +837,7 @@ func (b0 StringEqualMinMaxBytes_builder) Build() *StringEqualMinMaxBytes { type StringPattern struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -893,7 +894,7 @@ func (b0 StringPattern_builder) Build() *StringPattern { type StringPatternEscapes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -950,7 +951,7 @@ func (b0 StringPatternEscapes_builder) Build() *StringPatternEscapes { type StringPrefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1007,7 +1008,7 @@ func (b0 StringPrefix_builder) Build() *StringPrefix { type StringContains struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1064,7 +1065,7 @@ func (b0 StringContains_builder) Build() *StringContains { type StringNotContains struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1121,7 +1122,7 @@ func (b0 StringNotContains_builder) Build() *StringNotContains { type StringSuffix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1178,7 +1179,7 @@ func (b0 StringSuffix_builder) Build() *StringSuffix { type StringEmail struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1235,7 +1236,7 @@ func (b0 StringEmail_builder) Build() *StringEmail { type StringNotEmail struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1292,7 +1293,7 @@ func (b0 StringNotEmail_builder) Build() *StringNotEmail { type StringAddress struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1349,7 +1350,7 @@ func (b0 StringAddress_builder) Build() *StringAddress { type StringNotAddress struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1406,7 +1407,7 @@ func (b0 StringNotAddress_builder) Build() *StringNotAddress { type StringHostname struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1463,7 +1464,7 @@ func (b0 StringHostname_builder) Build() *StringHostname { type StringNotHostname struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1520,7 +1521,7 @@ func (b0 StringNotHostname_builder) Build() *StringNotHostname { type StringIP struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1577,7 +1578,7 @@ func (b0 StringIP_builder) Build() *StringIP { type StringNotIP struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1634,7 +1635,7 @@ func (b0 StringNotIP_builder) Build() *StringNotIP { type StringIPv4 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1691,7 +1692,7 @@ func (b0 StringIPv4_builder) Build() *StringIPv4 { type StringNotIPv4 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1748,7 +1749,7 @@ func (b0 StringNotIPv4_builder) Build() *StringNotIPv4 { type StringIPv6 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1805,7 +1806,7 @@ func (b0 StringIPv6_builder) Build() *StringIPv6 { type StringNotIPv6 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1862,7 +1863,7 @@ func (b0 StringNotIPv6_builder) Build() *StringNotIPv6 { type StringIPWithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1919,7 +1920,7 @@ func (b0 StringIPWithPrefixLen_builder) Build() *StringIPWithPrefixLen { type StringNotIPWithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1976,7 +1977,7 @@ func (b0 StringNotIPWithPrefixLen_builder) Build() *StringNotIPWithPrefixLen { type StringIPv4WithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2033,7 +2034,7 @@ func (b0 StringIPv4WithPrefixLen_builder) Build() *StringIPv4WithPrefixLen { type StringNotIPv4WithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2090,7 +2091,7 @@ func (b0 StringNotIPv4WithPrefixLen_builder) Build() *StringNotIPv4WithPrefixLen type StringIPv6WithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2147,7 +2148,7 @@ func (b0 StringIPv6WithPrefixLen_builder) Build() *StringIPv6WithPrefixLen { type StringNotIPv6WithPrefixLen struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2204,7 +2205,7 @@ func (b0 StringNotIPv6WithPrefixLen_builder) Build() *StringNotIPv6WithPrefixLen type StringIPPrefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2261,7 +2262,7 @@ func (b0 StringIPPrefix_builder) Build() *StringIPPrefix { type StringNotIPPrefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2318,7 +2319,7 @@ func (b0 StringNotIPPrefix_builder) Build() *StringNotIPPrefix { type StringIPv4Prefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2375,7 +2376,7 @@ func (b0 StringIPv4Prefix_builder) Build() *StringIPv4Prefix { type StringNotIPv4Prefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2432,7 +2433,7 @@ func (b0 StringNotIPv4Prefix_builder) Build() *StringNotIPv4Prefix { type StringIPv6Prefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2489,7 +2490,7 @@ func (b0 StringIPv6Prefix_builder) Build() *StringIPv6Prefix { type StringNotIPv6Prefix struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2546,7 +2547,7 @@ func (b0 StringNotIPv6Prefix_builder) Build() *StringNotIPv6Prefix { type StringURI struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2603,7 +2604,7 @@ func (b0 StringURI_builder) Build() *StringURI { type StringNotURI struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2660,7 +2661,7 @@ func (b0 StringNotURI_builder) Build() *StringNotURI { type StringURIRef struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2717,7 +2718,7 @@ func (b0 StringURIRef_builder) Build() *StringURIRef { type StringNotURIRef struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2774,7 +2775,7 @@ func (b0 StringNotURIRef_builder) Build() *StringNotURIRef { type StringUUID struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2831,7 +2832,7 @@ func (b0 StringUUID_builder) Build() *StringUUID { type StringNotUUID struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2888,7 +2889,7 @@ func (b0 StringNotUUID_builder) Build() *StringNotUUID { type StringTUUID struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2945,7 +2946,7 @@ func (b0 StringTUUID_builder) Build() *StringTUUID { type StringNotTUUID struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3002,7 +3003,7 @@ func (b0 StringNotTUUID_builder) Build() *StringNotTUUID { type StringHttpHeaderName struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3059,7 +3060,7 @@ func (b0 StringHttpHeaderName_builder) Build() *StringHttpHeaderName { type StringHttpHeaderValue struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3116,7 +3117,7 @@ func (b0 StringHttpHeaderValue_builder) Build() *StringHttpHeaderValue { type StringHttpHeaderNameLoose struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3173,7 +3174,7 @@ func (b0 StringHttpHeaderNameLoose_builder) Build() *StringHttpHeaderNameLoose { type StringHttpHeaderValueLoose struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3230,7 +3231,7 @@ func (b0 StringHttpHeaderValueLoose_builder) Build() *StringHttpHeaderValueLoose type StringUUIDIgnore struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3410,7 +3411,7 @@ func (*stringInOneof_Bar) isStringInOneof_Foo() {} type StringHostAndPort struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3467,7 +3468,7 @@ func (b0 StringHostAndPort_builder) Build() *StringHostAndPort { type StringHostAndOptionalPort struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3524,7 +3525,7 @@ func (b0 StringHostAndOptionalPort_builder) Build() *StringHostAndOptionalPort { type StringExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val string `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3581,7 +3582,7 @@ func (b0 StringExample_builder) Build() *StringExample { var File_buf_validate_conformance_cases_strings_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_strings_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_strings_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -3799,7 +3800,7 @@ var file_buf_validate_conformance_cases_strings_proto_rawDesc = []byte{ 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_strings_proto_msgTypes = make([]protoimpl.MessageInfo, 61) var file_buf_validate_conformance_cases_strings_proto_goTypes = []any{ @@ -3885,7 +3886,7 @@ func file_buf_validate_conformance_cases_strings_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_strings_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_strings_proto_rawDesc), len(file_buf_validate_conformance_cases_strings_proto_rawDesc)), NumEnums: 0, NumMessages: 61, NumExtensions: 0, @@ -3896,7 +3897,6 @@ func file_buf_validate_conformance_cases_strings_proto_init() { MessageInfos: file_buf_validate_conformance_cases_strings_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_strings_proto = out.File - file_buf_validate_conformance_cases_strings_proto_rawDesc = nil file_buf_validate_conformance_cases_strings_proto_goTypes = nil file_buf_validate_conformance_cases_strings_proto_depIdxs = nil } 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 b0622da..3481940 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/subdirectory/in_subdirectory.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( var File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = string([]byte{ 0x0a, 0x41, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x69, 0x6e, @@ -72,7 +73,7 @@ var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDe 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x53, 0x75, 0x62, 0x64, 0x69, 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 = []any{} var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = []int32{ @@ -92,7 +93,7 @@ func file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc), len(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -102,7 +103,6 @@ func file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init DependencyIndexes: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs, }.Build() File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto = out.File - file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = nil file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = nil file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_protoopaque.pb.go index ea01409..9867d86 100644 --- a/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/subdirectory/in_subdirectory.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( var File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = string([]byte{ 0x0a, 0x41, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x69, 0x6e, @@ -72,7 +73,7 @@ var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDe 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x53, 0x75, 0x62, 0x64, 0x69, 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 = []any{} var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = []int32{ @@ -92,7 +93,7 @@ func file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc), len(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -102,7 +103,6 @@ func file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init DependencyIndexes: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs, }.Build() File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto = out.File - file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = nil file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = nil file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = nil } 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 5979896..96c232c 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_any.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -311,7 +312,7 @@ func (b0 AnyNotIn_builder) Build() *AnyNotIn { var File_buf_validate_conformance_cases_wkt_any_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -360,7 +361,7 @@ var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = []byte{ 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_any_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_cases_wkt_any_proto_goTypes = []any{ @@ -391,7 +392,7 @@ func file_buf_validate_conformance_cases_wkt_any_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_any_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -402,7 +403,6 @@ func file_buf_validate_conformance_cases_wkt_any_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_any_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_any_proto = out.File - file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_any_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_any_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/wkt_any_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_any_protoopaque.pb.go index 0841781..fe29deb 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_any_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_any_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_any.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,7 +40,7 @@ const ( type AnyNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -107,7 +108,7 @@ func (b0 AnyNone_builder) Build() *AnyNone { type AnyRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -175,7 +176,7 @@ func (b0 AnyRequired_builder) Build() *AnyRequired { type AnyIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -243,7 +244,7 @@ func (b0 AnyIn_builder) Build() *AnyIn { type AnyNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -311,7 +312,7 @@ func (b0 AnyNotIn_builder) Build() *AnyNotIn { var File_buf_validate_conformance_cases_wkt_any_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = string([]byte{ 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, @@ -360,7 +361,7 @@ var file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = []byte{ 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_any_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_cases_wkt_any_proto_goTypes = []any{ @@ -391,7 +392,7 @@ func file_buf_validate_conformance_cases_wkt_any_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_any_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -402,7 +403,6 @@ func file_buf_validate_conformance_cases_wkt_any_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_any_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_any_proto = out.File - file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_any_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_any_proto_depIdxs = nil } 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 b96b235..19a595a 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_duration.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1075,7 +1076,7 @@ func (b0 DurationExample_builder) Build() *DurationExample { var File_buf_validate_conformance_cases_wkt_duration_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, @@ -1178,7 +1179,7 @@ var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = []any{ @@ -1231,7 +1232,7 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc)), NumEnums: 0, NumMessages: 15, NumExtensions: 0, @@ -1242,7 +1243,6 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_duration_proto = out.File - file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_duration_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/wkt_duration_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_duration_protoopaque.pb.go index 464806e..7db78d7 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_duration_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_duration_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_duration.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,7 +40,7 @@ const ( type DurationNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -107,7 +108,7 @@ func (b0 DurationNone_builder) Build() *DurationNone { type DurationRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -175,7 +176,7 @@ func (b0 DurationRequired_builder) Build() *DurationRequired { type DurationConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -243,7 +244,7 @@ func (b0 DurationConst_builder) Build() *DurationConst { type DurationIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -311,7 +312,7 @@ func (b0 DurationIn_builder) Build() *DurationIn { type DurationNotIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -379,7 +380,7 @@ func (b0 DurationNotIn_builder) Build() *DurationNotIn { type DurationLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -447,7 +448,7 @@ func (b0 DurationLT_builder) Build() *DurationLT { type DurationLTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -515,7 +516,7 @@ func (b0 DurationLTE_builder) Build() *DurationLTE { type DurationGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -583,7 +584,7 @@ func (b0 DurationGT_builder) Build() *DurationGT { type DurationGTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -651,7 +652,7 @@ func (b0 DurationGTE_builder) Build() *DurationGTE { type DurationGTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -719,7 +720,7 @@ func (b0 DurationGTLT_builder) Build() *DurationGTLT { type DurationExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -787,7 +788,7 @@ func (b0 DurationExLTGT_builder) Build() *DurationExLTGT { type DurationGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -855,7 +856,7 @@ func (b0 DurationGTELTE_builder) Build() *DurationGTELTE { type DurationExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -925,8 +926,8 @@ func (b0 DurationExGTELTE_builder) Build() *DurationExGTELTE { // evaluation in C++. type DurationFieldWithOtherFields struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_DurationVal *durationpb.Duration `protobuf:"bytes,1,opt,name=duration_val,json=durationVal,proto3" json:"duration_val,omitempty"` - xxx_hidden_IntVal int32 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3" json:"int_val,omitempty"` + xxx_hidden_DurationVal *durationpb.Duration `protobuf:"bytes,1,opt,name=duration_val,json=durationVal,proto3"` + xxx_hidden_IntVal int32 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1007,7 +1008,7 @@ func (b0 DurationFieldWithOtherFields_builder) Build() *DurationFieldWithOtherFi type DurationExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1075,7 +1076,7 @@ func (b0 DurationExample_builder) Build() *DurationExample { var File_buf_validate_conformance_cases_wkt_duration_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, @@ -1178,7 +1179,7 @@ var file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = []any{ @@ -1231,7 +1232,7 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc)), NumEnums: 0, NumMessages: 15, NumExtensions: 0, @@ -1242,7 +1243,6 @@ func file_buf_validate_conformance_cases_wkt_duration_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_duration_proto = out.File - file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_duration_proto_depIdxs = nil } 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 ce64b82..92319f6 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_nested.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -231,7 +232,7 @@ func (b0 WktLevelOne_WktLevelTwo_WktLevelThree_builder) Build() *WktLevelOne_Wkt var File_buf_validate_conformance_cases_wkt_nested_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = string([]byte{ 0x0a, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -275,7 +276,7 @@ var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []any{ @@ -302,7 +303,7 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -313,7 +314,6 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_nested_proto = out.File - file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/wkt_nested_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_nested_protoopaque.pb.go index c1c112a..59d2469 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_nested_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_nested_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_nested.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,7 +39,7 @@ const ( type WktLevelOne struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Two *WktLevelOne_WktLevelTwo `protobuf:"bytes,1,opt,name=two,proto3" json:"two,omitempty"` + xxx_hidden_Two *WktLevelOne_WktLevelTwo `protobuf:"bytes,1,opt,name=two,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -106,7 +107,7 @@ func (b0 WktLevelOne_builder) Build() *WktLevelOne { type WktLevelOne_WktLevelTwo struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Three *WktLevelOne_WktLevelTwo_WktLevelThree `protobuf:"bytes,1,opt,name=three,proto3" json:"three,omitempty"` + xxx_hidden_Three *WktLevelOne_WktLevelTwo_WktLevelThree `protobuf:"bytes,1,opt,name=three,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -174,7 +175,7 @@ func (b0 WktLevelOne_WktLevelTwo_builder) Build() *WktLevelOne_WktLevelTwo { type WktLevelOne_WktLevelTwo_WktLevelThree struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + xxx_hidden_Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -231,7 +232,7 @@ func (b0 WktLevelOne_WktLevelTwo_WktLevelThree_builder) Build() *WktLevelOne_Wkt var File_buf_validate_conformance_cases_wkt_nested_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = string([]byte{ 0x0a, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -275,7 +276,7 @@ var file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []any{ @@ -302,7 +303,7 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -313,7 +314,6 @@ func file_buf_validate_conformance_cases_wkt_nested_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_nested_proto = out.File - file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = nil } 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 1d0e274..3092482 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_timestamp.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1331,7 +1332,7 @@ func (b0 TimestampExample_builder) Build() *TimestampExample { var File_buf_validate_conformance_cases_wkt_timestamp_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, @@ -1452,7 +1453,7 @@ var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = []any{ @@ -1513,7 +1514,7 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc)), NumEnums: 0, NumMessages: 19, NumExtensions: 0, @@ -1524,7 +1525,6 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_timestamp_proto = out.File - file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_timestamp_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/wkt_timestamp_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_timestamp_protoopaque.pb.go index b3c25f6..f4ff4bb 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_timestamp_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_timestamp_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_timestamp.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,7 +40,7 @@ const ( type TimestampNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -107,7 +108,7 @@ func (b0 TimestampNone_builder) Build() *TimestampNone { type TimestampRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -175,7 +176,7 @@ func (b0 TimestampRequired_builder) Build() *TimestampRequired { type TimestampConst struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -243,7 +244,7 @@ func (b0 TimestampConst_builder) Build() *TimestampConst { type TimestampLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -311,7 +312,7 @@ func (b0 TimestampLT_builder) Build() *TimestampLT { type TimestampLTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -379,7 +380,7 @@ func (b0 TimestampLTE_builder) Build() *TimestampLTE { type TimestampGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -447,7 +448,7 @@ func (b0 TimestampGT_builder) Build() *TimestampGT { type TimestampGTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -515,7 +516,7 @@ func (b0 TimestampGTE_builder) Build() *TimestampGTE { type TimestampGTLT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -583,7 +584,7 @@ func (b0 TimestampGTLT_builder) Build() *TimestampGTLT { type TimestampExLTGT struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -651,7 +652,7 @@ func (b0 TimestampExLTGT_builder) Build() *TimestampExLTGT { type TimestampGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -719,7 +720,7 @@ func (b0 TimestampGTELTE_builder) Build() *TimestampGTELTE { type TimestampExGTELTE struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -787,7 +788,7 @@ func (b0 TimestampExGTELTE_builder) Build() *TimestampExGTELTE { type TimestampLTNow struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -855,7 +856,7 @@ func (b0 TimestampLTNow_builder) Build() *TimestampLTNow { type TimestampNotLTNow struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -923,7 +924,7 @@ func (b0 TimestampNotLTNow_builder) Build() *TimestampNotLTNow { type TimestampGTNow struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -991,7 +992,7 @@ func (b0 TimestampGTNow_builder) Build() *TimestampGTNow { type TimestampNotGTNow struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1059,7 +1060,7 @@ func (b0 TimestampNotGTNow_builder) Build() *TimestampNotGTNow { type TimestampWithin struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1127,7 +1128,7 @@ func (b0 TimestampWithin_builder) Build() *TimestampWithin { type TimestampLTNowWithin struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1195,7 +1196,7 @@ func (b0 TimestampLTNowWithin_builder) Build() *TimestampLTNowWithin { type TimestampGTNowWithin struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1263,7 +1264,7 @@ func (b0 TimestampGTNowWithin_builder) Build() *TimestampGTNowWithin { type TimestampExample struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1331,7 +1332,7 @@ func (b0 TimestampExample_builder) Build() *TimestampExample { var File_buf_validate_conformance_cases_wkt_timestamp_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = string([]byte{ 0x0a, 0x32, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, @@ -1452,7 +1453,7 @@ var file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = []byte{ 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = []any{ @@ -1513,7 +1514,7 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc)), NumEnums: 0, NumMessages: 19, NumExtensions: 0, @@ -1524,7 +1525,6 @@ func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_timestamp_proto = out.File - file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_timestamp_proto_depIdxs = nil } 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 6693d16..4db47c9 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_wrappers.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -991,7 +992,7 @@ func (b0 WrapperRequiredFloat_builder) Build() *WrapperRequiredFloat { var File_buf_validate_conformance_cases_wkt_wrappers_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, @@ -1088,7 +1089,7 @@ var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = []byte{ 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = []any{ @@ -1147,7 +1148,7 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc)), NumEnums: 0, NumMessages: 14, NumExtensions: 0, @@ -1158,7 +1159,6 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_wrappers_proto = out.File - file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_wrappers_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/wkt_wrappers_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/wkt_wrappers_protoopaque.pb.go index 469ea1a..7301cbe 100644 --- a/internal/gen/buf/validate/conformance/cases/wkt_wrappers_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/wkt_wrappers_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/wkt_wrappers.proto @@ -28,6 +28,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,7 +40,7 @@ const ( type WrapperNone struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -107,7 +108,7 @@ func (b0 WrapperNone_builder) Build() *WrapperNone { type WrapperFloat struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -175,7 +176,7 @@ func (b0 WrapperFloat_builder) Build() *WrapperFloat { type WrapperDouble struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -243,7 +244,7 @@ func (b0 WrapperDouble_builder) Build() *WrapperDouble { type WrapperInt64 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -311,7 +312,7 @@ func (b0 WrapperInt64_builder) Build() *WrapperInt64 { type WrapperInt32 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -379,7 +380,7 @@ func (b0 WrapperInt32_builder) Build() *WrapperInt32 { type WrapperUInt64 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -447,7 +448,7 @@ func (b0 WrapperUInt64_builder) Build() *WrapperUInt64 { type WrapperUInt32 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -515,7 +516,7 @@ func (b0 WrapperUInt32_builder) Build() *WrapperUInt32 { type WrapperBool struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -583,7 +584,7 @@ func (b0 WrapperBool_builder) Build() *WrapperBool { type WrapperString struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -651,7 +652,7 @@ func (b0 WrapperString_builder) Build() *WrapperString { type WrapperBytes struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -719,7 +720,7 @@ func (b0 WrapperBytes_builder) Build() *WrapperBytes { type WrapperRequiredString struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -787,7 +788,7 @@ func (b0 WrapperRequiredString_builder) Build() *WrapperRequiredString { type WrapperRequiredEmptyString struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -855,7 +856,7 @@ func (b0 WrapperRequiredEmptyString_builder) Build() *WrapperRequiredEmptyString type WrapperOptionalUuidString struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -923,7 +924,7 @@ func (b0 WrapperOptionalUuidString_builder) Build() *WrapperOptionalUuidString { type WrapperRequiredFloat struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -991,7 +992,7 @@ func (b0 WrapperRequiredFloat_builder) Build() *WrapperRequiredFloat { var File_buf_validate_conformance_cases_wkt_wrappers_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = string([]byte{ 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x77, 0x6b, 0x74, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, @@ -1088,7 +1089,7 @@ var file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = []byte{ 0x21, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = []any{ @@ -1147,7 +1148,7 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc)), NumEnums: 0, NumMessages: 14, NumExtensions: 0, @@ -1158,7 +1159,6 @@ func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { MessageInfos: file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_wkt_wrappers_proto = out.File - file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = nil file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = nil file_buf_validate_conformance_cases_wkt_wrappers_proto_depIdxs = nil } 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 f7885c7..ef1990d 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/yet_another_package/embed2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -137,7 +138,7 @@ func (b0 Embed_builder) Build() *Embed { var File_buf_validate_conformance_cases_yet_another_package_embed2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = string([]byte{ 0x0a, 0x3f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x79, 0x65, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x63, @@ -180,7 +181,7 @@ var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x59, 0x65, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -205,7 +206,7 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_init() out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc), len(file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc)), NumEnums: 1, NumMessages: 1, NumExtensions: 0, @@ -217,7 +218,6 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_init() MessageInfos: file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_yet_another_package_embed2_proto = out.File - file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = nil file_buf_validate_conformance_cases_yet_another_package_embed2_proto_goTypes = nil file_buf_validate_conformance_cases_yet_another_package_embed2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2_protoopaque.pb.go b/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2_protoopaque.pb.go index 956e36a..9fd9611 100644 --- a/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/cases/yet_another_package/embed2_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/cases/yet_another_package/embed2.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -80,7 +81,7 @@ func (x Embed_Enumerated) Number() protoreflect.EnumNumber { // Validate message embedding across packages. type Embed struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + xxx_hidden_Val int64 `protobuf:"varint,1,opt,name=val,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -137,7 +138,7 @@ func (b0 Embed_builder) Build() *Embed { var File_buf_validate_conformance_cases_yet_another_package_embed2_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = []byte{ +var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = string([]byte{ 0x0a, 0x3f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x79, 0x65, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x63, @@ -180,7 +181,7 @@ var file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc 0x3a, 0x3a, 0x43, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x3a, 0x59, 0x65, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) 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) @@ -205,7 +206,7 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_init() out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc), len(file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc)), NumEnums: 1, NumMessages: 1, NumExtensions: 0, @@ -217,7 +218,6 @@ func file_buf_validate_conformance_cases_yet_another_package_embed2_proto_init() MessageInfos: file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes, }.Build() File_buf_validate_conformance_cases_yet_another_package_embed2_proto = out.File - file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = nil file_buf_validate_conformance_cases_yet_another_package_embed2_proto_goTypes = nil file_buf_validate_conformance_cases_yet_another_package_embed2_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/harness/harness.pb.go b/internal/gen/buf/validate/conformance/harness/harness.pb.go index 07fb447..b9853c3 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/harness/harness.proto @@ -29,6 +29,7 @@ import ( descriptorpb "google.golang.org/protobuf/types/descriptorpb" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -496,7 +497,7 @@ func (*TestResult_UnexpectedError) isTestResult_Result() {} var File_buf_validate_conformance_harness_harness_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_harness_harness_proto_rawDesc = []byte{ +var file_buf_validate_conformance_harness_harness_proto_rawDesc = string([]byte{ 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -574,7 +575,7 @@ var file_buf_validate_conformance_harness_harness_proto_rawDesc = []byte{ 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_harness_harness_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_buf_validate_conformance_harness_harness_proto_goTypes = []any{ @@ -617,7 +618,7 @@ func file_buf_validate_conformance_harness_harness_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_harness_harness_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_harness_proto_rawDesc), len(file_buf_validate_conformance_harness_harness_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, @@ -628,7 +629,6 @@ func file_buf_validate_conformance_harness_harness_proto_init() { MessageInfos: file_buf_validate_conformance_harness_harness_proto_msgTypes, }.Build() File_buf_validate_conformance_harness_harness_proto = out.File - file_buf_validate_conformance_harness_harness_proto_rawDesc = nil file_buf_validate_conformance_harness_harness_proto_goTypes = nil file_buf_validate_conformance_harness_harness_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/harness/harness_protoopaque.pb.go b/internal/gen/buf/validate/conformance/harness/harness_protoopaque.pb.go index 6b4fb78..84a1b65 100644 --- a/internal/gen/buf/validate/conformance/harness/harness_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/harness/harness_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/harness/harness.proto @@ -29,6 +29,7 @@ import ( descriptorpb "google.golang.org/protobuf/types/descriptorpb" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -43,8 +44,8 @@ const ( // The cases map is a map of case name to the Any message that represents the case. type TestConformanceRequest struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Fdset *descriptorpb.FileDescriptorSet `protobuf:"bytes,2,opt,name=fdset,proto3" json:"fdset,omitempty"` - xxx_hidden_Cases map[string]*anypb.Any `protobuf:"bytes,3,rep,name=cases,proto3" json:"cases,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Fdset *descriptorpb.FileDescriptorSet `protobuf:"bytes,2,opt,name=fdset,proto3"` + xxx_hidden_Cases map[string]*anypb.Any `protobuf:"bytes,3,rep,name=cases,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -127,7 +128,7 @@ func (b0 TestConformanceRequest_builder) Build() *TestConformanceRequest { // The results map is a map of case name to the TestResult. type TestConformanceResponse struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Results map[string]*TestResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Results map[string]*TestResult `protobuf:"bytes,1,rep,name=results,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -482,7 +483,7 @@ func (*testResult_UnexpectedError) isTestResult_Result() {} var File_buf_validate_conformance_harness_harness_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_harness_harness_proto_rawDesc = []byte{ +var file_buf_validate_conformance_harness_harness_proto_rawDesc = string([]byte{ 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -560,7 +561,7 @@ var file_buf_validate_conformance_harness_harness_proto_rawDesc = []byte{ 0x75, 0x66, 0x3a, 0x3a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_harness_harness_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_buf_validate_conformance_harness_harness_proto_goTypes = []any{ @@ -603,7 +604,7 @@ func file_buf_validate_conformance_harness_harness_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_harness_harness_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_harness_proto_rawDesc), len(file_buf_validate_conformance_harness_harness_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, @@ -614,7 +615,6 @@ func file_buf_validate_conformance_harness_harness_proto_init() { MessageInfos: file_buf_validate_conformance_harness_harness_proto_msgTypes, }.Build() File_buf_validate_conformance_harness_harness_proto = out.File - file_buf_validate_conformance_harness_harness_proto_rawDesc = nil file_buf_validate_conformance_harness_harness_proto_goTypes = nil file_buf_validate_conformance_harness_harness_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/harness/results.pb.go b/internal/gen/buf/validate/conformance/harness/results.pb.go index ba06279..61503c1 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/harness/results.proto @@ -28,6 +28,7 @@ import ( descriptorpb "google.golang.org/protobuf/types/descriptorpb" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -639,7 +640,7 @@ func (b0 CaseResult_builder) Build() *CaseResult { var File_buf_validate_conformance_harness_results_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_harness_results_proto_rawDesc = []byte{ +var file_buf_validate_conformance_harness_results_proto_rawDesc = string([]byte{ 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -736,7 +737,7 @@ var file_buf_validate_conformance_harness_results_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_harness_results_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_harness_results_proto_goTypes = []any{ @@ -773,7 +774,7 @@ func file_buf_validate_conformance_harness_results_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_harness_results_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_results_proto_rawDesc), len(file_buf_validate_conformance_harness_results_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -784,7 +785,6 @@ func file_buf_validate_conformance_harness_results_proto_init() { MessageInfos: file_buf_validate_conformance_harness_results_proto_msgTypes, }.Build() File_buf_validate_conformance_harness_results_proto = out.File - file_buf_validate_conformance_harness_results_proto_rawDesc = nil file_buf_validate_conformance_harness_results_proto_goTypes = nil file_buf_validate_conformance_harness_results_proto_depIdxs = nil } diff --git a/internal/gen/buf/validate/conformance/harness/results_protoopaque.pb.go b/internal/gen/buf/validate/conformance/harness/results_protoopaque.pb.go index 3720795..3f6c3a7 100644 --- a/internal/gen/buf/validate/conformance/harness/results_protoopaque.pb.go +++ b/internal/gen/buf/validate/conformance/harness/results_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: buf/validate/conformance/harness/results.proto @@ -28,6 +28,7 @@ import ( descriptorpb "google.golang.org/protobuf/types/descriptorpb" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -41,12 +42,12 @@ const ( // test run. type ResultOptions struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_SuiteFilter string `protobuf:"bytes,1,opt,name=suite_filter,json=suiteFilter,proto3" json:"suite_filter,omitempty"` - xxx_hidden_CaseFilter string `protobuf:"bytes,2,opt,name=case_filter,json=caseFilter,proto3" json:"case_filter,omitempty"` - xxx_hidden_Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"` - xxx_hidden_Strict bool `protobuf:"varint,4,opt,name=strict,proto3" json:"strict,omitempty"` - xxx_hidden_StrictMessage bool `protobuf:"varint,5,opt,name=strict_message,json=strictMessage,proto3" json:"strict_message,omitempty"` - xxx_hidden_StrictError bool `protobuf:"varint,6,opt,name=strict_error,json=strictError,proto3" json:"strict_error,omitempty"` + xxx_hidden_SuiteFilter string `protobuf:"bytes,1,opt,name=suite_filter,json=suiteFilter,proto3"` + xxx_hidden_CaseFilter string `protobuf:"bytes,2,opt,name=case_filter,json=caseFilter,proto3"` + xxx_hidden_Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3"` + xxx_hidden_Strict bool `protobuf:"varint,4,opt,name=strict,proto3"` + xxx_hidden_StrictMessage bool `protobuf:"varint,5,opt,name=strict_message,json=strictMessage,proto3"` + xxx_hidden_StrictError bool `protobuf:"varint,6,opt,name=strict_error,json=strictError,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -175,11 +176,11 @@ func (b0 ResultOptions_builder) Build() *ResultOptions { // A result is the result of a test run. type ResultSet struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Successes int32 `protobuf:"varint,1,opt,name=successes,proto3" json:"successes,omitempty"` - xxx_hidden_Failures int32 `protobuf:"varint,2,opt,name=failures,proto3" json:"failures,omitempty"` - xxx_hidden_Suites *[]*SuiteResults `protobuf:"bytes,3,rep,name=suites,proto3" json:"suites,omitempty"` - xxx_hidden_Options *ResultOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` - xxx_hidden_ExpectedFailures int32 `protobuf:"varint,5,opt,name=expected_failures,json=expectedFailures,proto3" json:"expected_failures,omitempty"` + xxx_hidden_Successes int32 `protobuf:"varint,1,opt,name=successes,proto3"` + xxx_hidden_Failures int32 `protobuf:"varint,2,opt,name=failures,proto3"` + xxx_hidden_Suites *[]*SuiteResults `protobuf:"bytes,3,rep,name=suites,proto3"` + xxx_hidden_Options *ResultOptions `protobuf:"bytes,4,opt,name=options,proto3"` + xxx_hidden_ExpectedFailures int32 `protobuf:"varint,5,opt,name=expected_failures,json=expectedFailures,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -307,12 +308,12 @@ func (b0 ResultSet_builder) Build() *ResultSet { // A suite result is a single test suite result. type SuiteResults struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Successes int32 `protobuf:"varint,2,opt,name=successes,proto3" json:"successes,omitempty"` - xxx_hidden_Failures int32 `protobuf:"varint,3,opt,name=failures,proto3" json:"failures,omitempty"` - xxx_hidden_Cases *[]*CaseResult `protobuf:"bytes,4,rep,name=cases,proto3" json:"cases,omitempty"` - xxx_hidden_Fdset *descriptorpb.FileDescriptorSet `protobuf:"bytes,5,opt,name=fdset,proto3" json:"fdset,omitempty"` - xxx_hidden_ExpectedFailures int32 `protobuf:"varint,6,opt,name=expected_failures,json=expectedFailures,proto3" json:"expected_failures,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3"` + xxx_hidden_Successes int32 `protobuf:"varint,2,opt,name=successes,proto3"` + xxx_hidden_Failures int32 `protobuf:"varint,3,opt,name=failures,proto3"` + xxx_hidden_Cases *[]*CaseResult `protobuf:"bytes,4,rep,name=cases,proto3"` + xxx_hidden_Fdset *descriptorpb.FileDescriptorSet `protobuf:"bytes,5,opt,name=fdset,proto3"` + xxx_hidden_ExpectedFailures int32 `protobuf:"varint,6,opt,name=expected_failures,json=expectedFailures,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -454,12 +455,12 @@ func (b0 SuiteResults_builder) Build() *SuiteResults { // A case result is a single test case result. type CaseResult struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` - xxx_hidden_Wanted *TestResult `protobuf:"bytes,3,opt,name=wanted,proto3" json:"wanted,omitempty"` - xxx_hidden_Got *TestResult `protobuf:"bytes,4,opt,name=got,proto3" json:"got,omitempty"` - xxx_hidden_Input *anypb.Any `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` - xxx_hidden_ExpectedFailure bool `protobuf:"varint,6,opt,name=expected_failure,json=expectedFailure,proto3" json:"expected_failure,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3"` + xxx_hidden_Success bool `protobuf:"varint,2,opt,name=success,proto3"` + xxx_hidden_Wanted *TestResult `protobuf:"bytes,3,opt,name=wanted,proto3"` + xxx_hidden_Got *TestResult `protobuf:"bytes,4,opt,name=got,proto3"` + xxx_hidden_Input *anypb.Any `protobuf:"bytes,5,opt,name=input,proto3"` + xxx_hidden_ExpectedFailure bool `protobuf:"varint,6,opt,name=expected_failure,json=expectedFailure,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -620,7 +621,7 @@ func (b0 CaseResult_builder) Build() *CaseResult { var File_buf_validate_conformance_harness_results_proto protoreflect.FileDescriptor -var file_buf_validate_conformance_harness_results_proto_rawDesc = []byte{ +var file_buf_validate_conformance_harness_results_proto_rawDesc = string([]byte{ 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -717,7 +718,7 @@ var file_buf_validate_conformance_harness_results_proto_rawDesc = []byte{ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x3a, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_buf_validate_conformance_harness_results_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_buf_validate_conformance_harness_results_proto_goTypes = []any{ @@ -754,7 +755,7 @@ func file_buf_validate_conformance_harness_results_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_validate_conformance_harness_results_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_results_proto_rawDesc), len(file_buf_validate_conformance_harness_results_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -765,7 +766,6 @@ func file_buf_validate_conformance_harness_results_proto_init() { MessageInfos: file_buf_validate_conformance_harness_results_proto_msgTypes, }.Build() File_buf_validate_conformance_harness_results_proto = out.File - file_buf_validate_conformance_harness_results_proto_rawDesc = nil file_buf_validate_conformance_harness_results_proto_goTypes = nil file_buf_validate_conformance_harness_results_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/example.pb.go b/internal/gen/tests/example/v1/example.pb.go index f34cd5b..a9fbe47 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/example.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -219,7 +220,7 @@ func (b0 Coordinates_builder) Build() *Coordinates { var File_tests_example_v1_example_proto protoreflect.FileDescriptor -var file_tests_example_v1_example_proto_rawDesc = []byte{ +var file_tests_example_v1_example_proto_rawDesc = string([]byte{ 0x0a, 0x1e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, @@ -257,7 +258,7 @@ var file_tests_example_v1_example_proto_rawDesc = []byte{ 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_example_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_tests_example_v1_example_proto_goTypes = []any{ @@ -282,7 +283,7 @@ func file_tests_example_v1_example_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_example_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_example_proto_rawDesc), len(file_tests_example_v1_example_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -293,7 +294,6 @@ func file_tests_example_v1_example_proto_init() { MessageInfos: file_tests_example_v1_example_proto_msgTypes, }.Build() File_tests_example_v1_example_proto = out.File - file_tests_example_v1_example_proto_rawDesc = nil file_tests_example_v1_example_proto_goTypes = nil file_tests_example_v1_example_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/example_protoopaque.pb.go b/internal/gen/tests/example/v1/example_protoopaque.pb.go index 6cd55e4..26802d8 100644 --- a/internal/gen/tests/example/v1/example_protoopaque.pb.go +++ b/internal/gen/tests/example/v1/example_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/example.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -38,10 +39,10 @@ const ( type Person struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Home *Coordinates `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"` + xxx_hidden_Id uint64 `protobuf:"varint,1,opt,name=id,proto3"` + xxx_hidden_Email string `protobuf:"bytes,2,opt,name=email,proto3"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3"` + xxx_hidden_Home *Coordinates `protobuf:"bytes,4,opt,name=home,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -148,8 +149,8 @@ func (b0 Person_builder) Build() *Person { type Coordinates struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` - xxx_hidden_Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` + xxx_hidden_Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3"` + xxx_hidden_Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -219,7 +220,7 @@ func (b0 Coordinates_builder) Build() *Coordinates { var File_tests_example_v1_example_proto protoreflect.FileDescriptor -var file_tests_example_v1_example_proto_rawDesc = []byte{ +var file_tests_example_v1_example_proto_rawDesc = string([]byte{ 0x0a, 0x1e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, @@ -257,7 +258,7 @@ var file_tests_example_v1_example_proto_rawDesc = []byte{ 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_example_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_tests_example_v1_example_proto_goTypes = []any{ @@ -282,7 +283,7 @@ func file_tests_example_v1_example_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_example_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_example_proto_rawDesc), len(file_tests_example_v1_example_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -293,7 +294,6 @@ func file_tests_example_v1_example_proto_init() { MessageInfos: file_tests_example_v1_example_proto_msgTypes, }.Build() File_tests_example_v1_example_proto = out.File - file_tests_example_v1_example_proto_rawDesc = nil file_tests_example_v1_example_proto_goTypes = nil file_tests_example_v1_example_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/legacy.pb.go b/internal/gen/tests/example/v1/legacy.pb.go index 2b31f22..3ea7379 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/legacy.proto @@ -31,6 +31,7 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1265,7 +1266,7 @@ func (b0 LegacyIgnoreEmpty_builder) Build() *LegacyIgnoreEmpty { var File_tests_example_v1_legacy_proto protoreflect.FileDescriptor -var file_tests_example_v1_legacy_proto_rawDesc = []byte{ +var file_tests_example_v1_legacy_proto_rawDesc = string([]byte{ 0x0a, 0x1d, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, @@ -1356,7 +1357,7 @@ var file_tests_example_v1_legacy_proto_rawDesc = []byte{ 0x70, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_legacy_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_tests_example_v1_legacy_proto_goTypes = []any{ @@ -1413,7 +1414,7 @@ func file_tests_example_v1_legacy_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_legacy_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_legacy_proto_rawDesc), len(file_tests_example_v1_legacy_proto_rawDesc)), NumEnums: 0, NumMessages: 17, NumExtensions: 0, @@ -1424,7 +1425,6 @@ func file_tests_example_v1_legacy_proto_init() { MessageInfos: file_tests_example_v1_legacy_proto_msgTypes, }.Build() File_tests_example_v1_legacy_proto = out.File - file_tests_example_v1_legacy_proto_rawDesc = nil file_tests_example_v1_legacy_proto_goTypes = nil file_tests_example_v1_legacy_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/legacy_protoopaque.pb.go b/internal/gen/tests/example/v1/legacy_protoopaque.pb.go index f954494..5248334 100644 --- a/internal/gen/tests/example/v1/legacy_protoopaque.pb.go +++ b/internal/gen/tests/example/v1/legacy_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/legacy.proto @@ -31,6 +31,7 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -165,7 +166,7 @@ func (*legacyNone_X) isLegacyNone_O() {} type LegacyDisabled struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -222,7 +223,7 @@ func (b0 LegacyDisabled_builder) Build() *LegacyDisabled { type LegacyIgnored struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -402,7 +403,7 @@ func (*legacyOneofRequired_X) isLegacyOneofRequired_O() {} type LegacySimple struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -459,7 +460,7 @@ func (b0 LegacySimple_builder) Build() *LegacySimple { type LegacySkipped struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -527,7 +528,7 @@ func (b0 LegacySkipped_builder) Build() *LegacySkipped { type LegacyMessageRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -595,7 +596,7 @@ func (b0 LegacyMessageRequired_builder) Build() *LegacyMessageRequired { type LegacyIn struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -652,7 +653,7 @@ func (b0 LegacyIn_builder) Build() *LegacyIn { type LegacyRepeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X []int32 `protobuf:"varint,1,rep,packed,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X []int32 `protobuf:"varint,1,rep,packed,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -709,7 +710,7 @@ func (b0 LegacyRepeated_builder) Build() *LegacyRepeated { type LegacyMap struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X map[string]int32 `protobuf:"bytes,1,rep,name=x,proto3" json:"x,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_X map[string]int32 `protobuf:"bytes,1,rep,name=x,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -766,7 +767,7 @@ func (b0 LegacyMap_builder) Build() *LegacyMap { type LegacyEnum struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X string `protobuf:"bytes,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -823,9 +824,9 @@ func (b0 LegacyEnum_builder) Build() *LegacyEnum { type LegacyWKTRequired struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` - xxx_hidden_Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` - xxx_hidden_Dur *durationpb.Duration `protobuf:"bytes,3,opt,name=dur,proto3" json:"dur,omitempty"` + xxx_hidden_Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3"` + xxx_hidden_Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3"` + xxx_hidden_Dur *durationpb.Duration `protobuf:"bytes,3,opt,name=dur,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -941,7 +942,7 @@ func (b0 LegacyWKTRequired_builder) Build() *LegacyWKTRequired { type LegacyMixedMessage struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1121,7 +1122,7 @@ func (*legacyMixedOneof_X) isLegacyMixedOneof_O() {} type LegacyMixedFields struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1178,7 +1179,7 @@ func (b0 LegacyMixedFields_builder) Build() *LegacyMixedFields { type LegacyIgnoreEmpty struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1235,7 +1236,7 @@ func (b0 LegacyIgnoreEmpty_builder) Build() *LegacyIgnoreEmpty { var File_tests_example_v1_legacy_proto protoreflect.FileDescriptor -var file_tests_example_v1_legacy_proto_rawDesc = []byte{ +var file_tests_example_v1_legacy_proto_rawDesc = string([]byte{ 0x0a, 0x1d, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x76, @@ -1326,7 +1327,7 @@ var file_tests_example_v1_legacy_proto_rawDesc = []byte{ 0x70, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_legacy_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_tests_example_v1_legacy_proto_goTypes = []any{ @@ -1383,7 +1384,7 @@ func file_tests_example_v1_legacy_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_legacy_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_legacy_proto_rawDesc), len(file_tests_example_v1_legacy_proto_rawDesc)), NumEnums: 0, NumMessages: 17, NumExtensions: 0, @@ -1394,7 +1395,6 @@ func file_tests_example_v1_legacy_proto_init() { MessageInfos: file_tests_example_v1_legacy_proto_msgTypes, }.Build() File_tests_example_v1_legacy_proto = out.File - file_tests_example_v1_legacy_proto_rawDesc = nil file_tests_example_v1_legacy_proto_goTypes = nil file_tests_example_v1_legacy_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/predefined.pb.go b/internal/gen/tests/example/v1/predefined.pb.go index a729f7c..c373445 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/predefined.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -124,7 +125,7 @@ var ( var File_tests_example_v1_predefined_proto protoreflect.FileDescriptor -var file_tests_example_v1_predefined_proto_rawDesc = []byte{ +var file_tests_example_v1_predefined_proto_rawDesc = string([]byte{ 0x0a, 0x21, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, @@ -158,7 +159,7 @@ var file_tests_example_v1_predefined_proto_rawDesc = []byte{ 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, -} +}) var file_tests_example_v1_predefined_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_tests_example_v1_predefined_proto_goTypes = []any{ @@ -183,7 +184,7 @@ func file_tests_example_v1_predefined_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_predefined_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_predefined_proto_rawDesc), len(file_tests_example_v1_predefined_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 1, @@ -195,7 +196,6 @@ func file_tests_example_v1_predefined_proto_init() { ExtensionInfos: file_tests_example_v1_predefined_proto_extTypes, }.Build() File_tests_example_v1_predefined_proto = out.File - file_tests_example_v1_predefined_proto_rawDesc = nil file_tests_example_v1_predefined_proto_goTypes = nil file_tests_example_v1_predefined_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/predefined_protoopaque.pb.go b/internal/gen/tests/example/v1/predefined_protoopaque.pb.go index be175d6..d65ded5 100644 --- a/internal/gen/tests/example/v1/predefined_protoopaque.pb.go +++ b/internal/gen/tests/example/v1/predefined_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/predefined.proto @@ -27,6 +27,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -39,7 +40,7 @@ const ( // https://github.com/bufbuild/protovalidate-go/issues/148 type Issue148 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Test int32 `protobuf:"varint,1,opt,name=test" json:"test,omitempty"` + xxx_hidden_Test int32 `protobuf:"varint,1,opt,name=test"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -131,7 +132,7 @@ var ( var File_tests_example_v1_predefined_proto protoreflect.FileDescriptor -var file_tests_example_v1_predefined_proto_rawDesc = []byte{ +var file_tests_example_v1_predefined_proto_rawDesc = string([]byte{ 0x0a, 0x21, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, @@ -165,7 +166,7 @@ var file_tests_example_v1_predefined_proto_rawDesc = []byte{ 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, -} +}) var file_tests_example_v1_predefined_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_tests_example_v1_predefined_proto_goTypes = []any{ @@ -190,7 +191,7 @@ func file_tests_example_v1_predefined_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_predefined_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_predefined_proto_rawDesc), len(file_tests_example_v1_predefined_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 1, @@ -202,7 +203,6 @@ func file_tests_example_v1_predefined_proto_init() { ExtensionInfos: file_tests_example_v1_predefined_proto_extTypes, }.Build() File_tests_example_v1_predefined_proto = out.File - file_tests_example_v1_predefined_proto_rawDesc = nil file_tests_example_v1_predefined_proto_goTypes = nil file_tests_example_v1_predefined_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/validations.pb.go b/internal/gen/tests/example/v1/validations.pb.go index b4e9623..1bf218e 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.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/validations.proto @@ -30,6 +30,7 @@ import ( apipb "google.golang.org/protobuf/types/known/apipb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -1570,7 +1571,7 @@ func (b0 CelMapOnARepeated_Value_builder) Build() *CelMapOnARepeated_Value { var File_tests_example_v1_validations_proto protoreflect.FileDescriptor -var file_tests_example_v1_validations_proto_rawDesc = []byte{ +var file_tests_example_v1_validations_proto_rawDesc = string([]byte{ 0x0a, 0x22, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, @@ -1772,7 +1773,7 @@ var file_tests_example_v1_validations_proto_rawDesc = []byte{ 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_validations_proto_msgTypes = make([]protoimpl.MessageInfo, 22) var file_tests_example_v1_validations_proto_goTypes = []any{ @@ -1844,7 +1845,7 @@ func file_tests_example_v1_validations_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_validations_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_validations_proto_rawDesc), len(file_tests_example_v1_validations_proto_rawDesc)), NumEnums: 0, NumMessages: 22, NumExtensions: 0, @@ -1855,7 +1856,6 @@ func file_tests_example_v1_validations_proto_init() { MessageInfos: file_tests_example_v1_validations_proto_msgTypes, }.Build() File_tests_example_v1_validations_proto = out.File - file_tests_example_v1_validations_proto_rawDesc = nil file_tests_example_v1_validations_proto_goTypes = nil file_tests_example_v1_validations_proto_depIdxs = nil } diff --git a/internal/gen/tests/example/v1/validations_protoopaque.pb.go b/internal/gen/tests/example/v1/validations_protoopaque.pb.go index 9f7e1e8..518bea7 100644 --- a/internal/gen/tests/example/v1/validations_protoopaque.pb.go +++ b/internal/gen/tests/example/v1/validations_protoopaque.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: tests/example/v1/validations.proto @@ -30,6 +30,7 @@ import ( apipb "google.golang.org/protobuf/types/known/apipb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -41,8 +42,8 @@ const ( type HasMsgExprs struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - xxx_hidden_Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` + xxx_hidden_Y int32 `protobuf:"varint,2,opt,name=y,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -112,8 +113,8 @@ func (b0 HasMsgExprs_builder) Build() *HasMsgExprs { type SelfRecursive struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - xxx_hidden_Turtle *SelfRecursive `protobuf:"bytes,2,opt,name=turtle,proto3" json:"turtle,omitempty"` + xxx_hidden_X int32 `protobuf:"varint,1,opt,name=x,proto3"` + xxx_hidden_Turtle *SelfRecursive `protobuf:"bytes,2,opt,name=turtle,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -194,7 +195,7 @@ func (b0 SelfRecursive_builder) Build() *SelfRecursive { type LoopRecursiveA struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_B *LoopRecursiveB `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` + xxx_hidden_B *LoopRecursiveB `protobuf:"bytes,1,opt,name=b,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -262,7 +263,7 @@ func (b0 LoopRecursiveA_builder) Build() *LoopRecursiveA { type LoopRecursiveB struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_A *LoopRecursiveA `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` + xxx_hidden_A *LoopRecursiveA `protobuf:"bytes,1,opt,name=a,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -537,9 +538,9 @@ func (*msgHasOneof_Msg) isMsgHasOneof_O() {} type MsgHasRepeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_X []float32 `protobuf:"fixed32,1,rep,packed,name=x,proto3" json:"x,omitempty"` - xxx_hidden_Y []string `protobuf:"bytes,2,rep,name=y,proto3" json:"y,omitempty"` - xxx_hidden_Z *[]*HasMsgExprs `protobuf:"bytes,3,rep,name=z,proto3" json:"z,omitempty"` + xxx_hidden_X []float32 `protobuf:"fixed32,1,rep,packed,name=x,proto3"` + xxx_hidden_Y []string `protobuf:"bytes,2,rep,name=y,proto3"` + xxx_hidden_Z *[]*HasMsgExprs `protobuf:"bytes,3,rep,name=z,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -624,9 +625,9 @@ func (b0 MsgHasRepeated_builder) Build() *MsgHasRepeated { type MsgHasMap struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Int32Map map[int32]int32 `protobuf:"bytes,1,rep,name=int32map,proto3" json:"int32map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - xxx_hidden_StringMap map[string]string `protobuf:"bytes,2,rep,name=string_map,json=stringMap,proto3" json:"string_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - xxx_hidden_MessageMap map[int64]*LoopRecursiveA `protobuf:"bytes,3,rep,name=message_map,json=messageMap,proto3" json:"message_map,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Int32Map map[int32]int32 `protobuf:"bytes,1,rep,name=int32map,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + xxx_hidden_StringMap map[string]string `protobuf:"bytes,2,rep,name=string_map,json=stringMap,proto3" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_MessageMap map[int64]*LoopRecursiveA `protobuf:"bytes,3,rep,name=message_map,json=messageMap,proto3" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -709,7 +710,7 @@ func (b0 MsgHasMap_builder) Build() *MsgHasMap { type TransitiveFieldConstraint struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Mask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=mask,proto3" json:"mask,omitempty"` + xxx_hidden_Mask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=mask,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -777,7 +778,7 @@ func (b0 TransitiveFieldConstraint_builder) Build() *TransitiveFieldConstraint { type MultipleStepsTransitiveFieldConstraints struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Api *apipb.Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` + xxx_hidden_Api *apipb.Api `protobuf:"bytes,1,opt,name=api,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -845,7 +846,7 @@ func (b0 MultipleStepsTransitiveFieldConstraints_builder) Build() *MultipleSteps type Simple struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_S string `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"` + xxx_hidden_S string `protobuf:"bytes,1,opt,name=s,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -902,7 +903,7 @@ func (b0 Simple_builder) Build() *Simple { type FieldOfTypeAny struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` + xxx_hidden_Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -971,7 +972,7 @@ func (b0 FieldOfTypeAny_builder) Build() *FieldOfTypeAny { // https://github.com/bufbuild/protovalidate/issues/92 type CelMapOnARepeated struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Values *[]*CelMapOnARepeated_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + xxx_hidden_Values *[]*CelMapOnARepeated_Value `protobuf:"bytes,1,rep,name=values,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1030,7 +1031,7 @@ func (b0 CelMapOnARepeated_builder) Build() *CelMapOnARepeated { type RepeatedItemCel struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + xxx_hidden_Paths []string `protobuf:"bytes,1,rep,name=paths,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1087,8 +1088,8 @@ func (b0 RepeatedItemCel_builder) Build() *RepeatedItemCel { type OneTwo struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Field1 *F1 `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"` - xxx_hidden_Field2 *F2 `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"` + xxx_hidden_Field1 *F1 `protobuf:"bytes,1,opt,name=field1,proto3"` + xxx_hidden_Field2 *F2 `protobuf:"bytes,2,opt,name=field2,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1180,8 +1181,8 @@ func (b0 OneTwo_builder) Build() *OneTwo { type TwoOne struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Field2 *F2 `protobuf:"bytes,1,opt,name=field2,proto3" json:"field2,omitempty"` - xxx_hidden_Field1 *F1 `protobuf:"bytes,2,opt,name=field1,proto3" json:"field1,omitempty"` + xxx_hidden_Field2 *F2 `protobuf:"bytes,1,opt,name=field2,proto3"` + xxx_hidden_Field1 *F1 `protobuf:"bytes,2,opt,name=field1,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1273,8 +1274,8 @@ func (b0 TwoOne_builder) Build() *TwoOne { type F1 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_NeedThis string `protobuf:"bytes,1,opt,name=need_this,json=needThis,proto3" json:"need_this,omitempty"` - xxx_hidden_Field *FieldWithIssue `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` + xxx_hidden_NeedThis string `protobuf:"bytes,1,opt,name=need_this,json=needThis,proto3"` + xxx_hidden_Field *FieldWithIssue `protobuf:"bytes,2,opt,name=field,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1355,7 +1356,7 @@ func (b0 F1_builder) Build() *F1 { type F2 struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Field *FieldWithIssue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` + xxx_hidden_Field *FieldWithIssue `protobuf:"bytes,1,opt,name=field,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1423,8 +1424,8 @@ func (b0 F2_builder) Build() *F2 { type FieldWithIssue struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_F1 *F1 `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_F1 *F1 `protobuf:"bytes,1,opt,name=f1,proto3"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1505,7 +1506,7 @@ func (b0 FieldWithIssue_builder) Build() *FieldWithIssue { type CelMapOnARepeated_Value struct { state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1562,7 +1563,7 @@ func (b0 CelMapOnARepeated_Value_builder) Build() *CelMapOnARepeated_Value { var File_tests_example_v1_validations_proto protoreflect.FileDescriptor -var file_tests_example_v1_validations_proto_rawDesc = []byte{ +var file_tests_example_v1_validations_proto_rawDesc = string([]byte{ 0x0a, 0x22, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x65, 0x78, 0x61, 0x6d, @@ -1764,7 +1765,7 @@ var file_tests_example_v1_validations_proto_rawDesc = []byte{ 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x73, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var file_tests_example_v1_validations_proto_msgTypes = make([]protoimpl.MessageInfo, 22) var file_tests_example_v1_validations_proto_goTypes = []any{ @@ -1836,7 +1837,7 @@ func file_tests_example_v1_validations_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_tests_example_v1_validations_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_tests_example_v1_validations_proto_rawDesc), len(file_tests_example_v1_validations_proto_rawDesc)), NumEnums: 0, NumMessages: 22, NumExtensions: 0, @@ -1847,7 +1848,6 @@ func file_tests_example_v1_validations_proto_init() { MessageInfos: file_tests_example_v1_validations_proto_msgTypes, }.Build() File_tests_example_v1_validations_proto = out.File - file_tests_example_v1_validations_proto_rawDesc = nil file_tests_example_v1_validations_proto_goTypes = nil file_tests_example_v1_validations_proto_depIdxs = nil }