mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-26 21:24:22 +00:00
eb7b468655
For golang/protobuf#1657 Change-Id: I7b2b0c30506706015ce278e6054439c9ad9ef727 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/634815 TryBot-Bypass: Michael Stapelberg <stapelberg@google.com> Reviewed-by: Joseph Tsai <joetsai@digital-static.net> Reviewed-by: Damien Neil <dneil@google.com>
71 lines
2.4 KiB
Go
71 lines
2.4 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_ApiLevel_field_name protoreflect.Name = "api_level"
|
|
GoFeatures_StripEnumPrefix_field_name protoreflect.Name = "strip_enum_prefix"
|
|
|
|
GoFeatures_LegacyUnmarshalJsonEnum_field_fullname protoreflect.FullName = "pb.GoFeatures.legacy_unmarshal_json_enum"
|
|
GoFeatures_ApiLevel_field_fullname protoreflect.FullName = "pb.GoFeatures.api_level"
|
|
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_ApiLevel_field_number protoreflect.FieldNumber = 2
|
|
GoFeatures_StripEnumPrefix_field_number protoreflect.FieldNumber = 3
|
|
)
|
|
|
|
// Full and short names for pb.GoFeatures.APILevel.
|
|
const (
|
|
GoFeatures_APILevel_enum_fullname = "pb.GoFeatures.APILevel"
|
|
GoFeatures_APILevel_enum_name = "APILevel"
|
|
)
|
|
|
|
// Enum values for pb.GoFeatures.APILevel.
|
|
const (
|
|
GoFeatures_API_LEVEL_UNSPECIFIED_enum_value = 0
|
|
GoFeatures_API_OPEN_enum_value = 1
|
|
GoFeatures_API_HYBRID_enum_value = 2
|
|
GoFeatures_API_OPAQUE_enum_value = 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
|
|
)
|