mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-12 00:40:00 +00:00
This change required updating editions_defaults.binpb with --edition_defaults_maximum=2024 so that we can use edition 2024 in our testdata/enumprefix.proto test file. For end users, this feature will only be available once: 1. protoc declares support for edition 2024 (expected early 2025). 2. protoc-gen-go declares support for edition 2024. related to golang/protobuf#513 Change-Id: Ib8daeecae39ef32eff942279707d256c312f2a53 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/618979 Reviewed-by: Lasse Folger <lassefolger@google.com> Reviewed-by: Mike Kruskal <mkruskal@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
54 lines
1.8 KiB
Go
54 lines
1.8 KiB
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Code generated by generate-protos. DO NOT EDIT.
|
|
|
|
package genid
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
)
|
|
|
|
const File_google_protobuf_go_features_proto = "google/protobuf/go_features.proto"
|
|
|
|
// Names for pb.GoFeatures.
|
|
const (
|
|
GoFeatures_message_name protoreflect.Name = "GoFeatures"
|
|
GoFeatures_message_fullname protoreflect.FullName = "pb.GoFeatures"
|
|
)
|
|
|
|
// Field names for pb.GoFeatures.
|
|
const (
|
|
GoFeatures_LegacyUnmarshalJsonEnum_field_name protoreflect.Name = "legacy_unmarshal_json_enum"
|
|
GoFeatures_StripEnumPrefix_field_name protoreflect.Name = "strip_enum_prefix"
|
|
|
|
GoFeatures_LegacyUnmarshalJsonEnum_field_fullname protoreflect.FullName = "pb.GoFeatures.legacy_unmarshal_json_enum"
|
|
GoFeatures_StripEnumPrefix_field_fullname protoreflect.FullName = "pb.GoFeatures.strip_enum_prefix"
|
|
)
|
|
|
|
// Field numbers for pb.GoFeatures.
|
|
const (
|
|
GoFeatures_LegacyUnmarshalJsonEnum_field_number protoreflect.FieldNumber = 1
|
|
GoFeatures_StripEnumPrefix_field_number protoreflect.FieldNumber = 3
|
|
)
|
|
|
|
// Full and short names for pb.GoFeatures.StripEnumPrefix.
|
|
const (
|
|
GoFeatures_StripEnumPrefix_enum_fullname = "pb.GoFeatures.StripEnumPrefix"
|
|
GoFeatures_StripEnumPrefix_enum_name = "StripEnumPrefix"
|
|
)
|
|
|
|
// Enum values for pb.GoFeatures.StripEnumPrefix.
|
|
const (
|
|
GoFeatures_STRIP_ENUM_PREFIX_UNSPECIFIED_enum_value = 0
|
|
GoFeatures_STRIP_ENUM_PREFIX_KEEP_enum_value = 1
|
|
GoFeatures_STRIP_ENUM_PREFIX_GENERATE_BOTH_enum_value = 2
|
|
GoFeatures_STRIP_ENUM_PREFIX_STRIP_enum_value = 3
|
|
)
|
|
|
|
// Extension numbers
|
|
const (
|
|
FeatureSet_Go_ext_number protoreflect.FieldNumber = 1002
|
|
)
|