Allocate an editions FeatureSet extension for https://github.com/bufbuild/protobuf-es

PiperOrigin-RevId: 599369761
pull/15439/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 32c17c0919
commit fedd34df47
  1. 72
      src/google/protobuf/descriptor.pb.cc
  2. 1
      src/google/protobuf/descriptor.proto

@ -1837,7 +1837,7 @@ const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] AB
"ative_int_value\030\005 \001(\003\022\024\n\014double_value\030\006 "
"\001(\001\022\024\n\014string_value\030\007 \001(\014\022\027\n\017aggregate_v"
"alue\030\010 \001(\t\0323\n\010NamePart\022\021\n\tname_part\030\001 \002("
"\t\022\024\n\014is_extension\030\002 \002(\010\"\245\t\n\nFeatureSet\022|"
"\t\022\024\n\014is_extension\030\002 \002(\010\"\255\t\n\nFeatureSet\022|"
"\n\016field_presence\030\001 \001(\0162).google.protobuf"
".FeatureSet.FieldPresenceB9\210\001\001\230\001\004\230\001\001\242\001\r\022"
"\010EXPLICIT\030\346\007\242\001\r\022\010IMPLICIT\030\347\007\242\001\r\022\010EXPLICI"
@ -1867,44 +1867,44 @@ const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] AB
"IXED\020\001\022\r\n\tDELIMITED\020\002\"H\n\nJsonFormat\022\027\n\023J"
"SON_FORMAT_UNKNOWN\020\000\022\t\n\005ALLOW\020\001\022\026\n\022LEGAC"
"Y_BEST_EFFORT\020\002*\006\010\350\007\020\351\007*\006\010\351\007\020\352\007*\006\010\352\007\020\353\007*"
"\006\010\213N\020\220NJ\006\010\347\007\020\350\007\"\300\002\n\022FeatureSetDefaults\022N"
"\n\010defaults\030\001 \003(\0132<.google.protobuf.Featu"
"reSetDefaults.FeatureSetEditionDefault\0221"
"\n\017minimum_edition\030\004 \001(\0162\030.google.protobu"
"f.Edition\0221\n\017maximum_edition\030\005 \001(\0162\030.goo"
"gle.protobuf.Edition\032t\n\030FeatureSetEditio"
"nDefault\022)\n\007edition\030\003 \001(\0162\030.google.proto"
"buf.Edition\022-\n\010features\030\002 \001(\0132\033.google.p"
"rotobuf.FeatureSet\"\325\001\n\016SourceCodeInfo\022:\n"
"\010location\030\001 \003(\0132(.google.protobuf.Source"
"CodeInfo.Location\032\206\001\n\010Location\022\020\n\004path\030\001"
" \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020leading_co"
"mments\030\003 \001(\t\022\031\n\021trailing_comments\030\004 \001(\t\022"
"!\n\031leading_detached_comments\030\006 \003(\t\"\234\002\n\021G"
"eneratedCodeInfo\022A\n\nannotation\030\001 \003(\0132-.g"
"oogle.protobuf.GeneratedCodeInfo.Annotat"
"ion\032\303\001\n\nAnnotation\022\020\n\004path\030\001 \003(\005B\002\020\001\022\023\n\013"
"source_file\030\002 \001(\t\022\r\n\005begin\030\003 \001(\005\022\013\n\003end\030"
"\004 \001(\005\022H\n\010semantic\030\005 \001(\01626.google.protobu"
"f.GeneratedCodeInfo.Annotation.Semantic\""
"(\n\010Semantic\022\010\n\004NONE\020\000\022\007\n\003SET\020\001\022\t\n\005ALIAS\020"
"\002*\222\002\n\007Edition\022\023\n\017EDITION_UNKNOWN\020\000\022\023\n\016ED"
"ITION_PROTO2\020\346\007\022\023\n\016EDITION_PROTO3\020\347\007\022\021\n\014"
"EDITION_2023\020\350\007\022\021\n\014EDITION_2024\020\351\007\022\027\n\023ED"
"ITION_1_TEST_ONLY\020\001\022\027\n\023EDITION_2_TEST_ON"
"LY\020\002\022\035\n\027EDITION_99997_TEST_ONLY\020\235\215\006\022\035\n\027E"
"DITION_99998_TEST_ONLY\020\236\215\006\022\035\n\027EDITION_99"
"999_TEST_ONLY\020\237\215\006\022\023\n\013EDITION_MAX\020\377\377\377\377\007B~"
"\n\023com.google.protobufB\020DescriptorProtosH"
"\001Z-google.golang.org/protobuf/types/desc"
"riptorpb\370\001\001\242\002\003GPB\252\002\032Google.Protobuf.Refl"
"ection"
"\006\010\213N\020\220N*\006\010\220N\020\221NJ\006\010\347\007\020\350\007\"\300\002\n\022FeatureSetDe"
"faults\022N\n\010defaults\030\001 \003(\0132<.google.protob"
"uf.FeatureSetDefaults.FeatureSetEditionD"
"efault\0221\n\017minimum_edition\030\004 \001(\0162\030.google"
".protobuf.Edition\0221\n\017maximum_edition\030\005 \001"
"(\0162\030.google.protobuf.Edition\032t\n\030FeatureS"
"etEditionDefault\022)\n\007edition\030\003 \001(\0162\030.goog"
"le.protobuf.Edition\022-\n\010features\030\002 \001(\0132\033."
"google.protobuf.FeatureSet\"\325\001\n\016SourceCod"
"eInfo\022:\n\010location\030\001 \003(\0132(.google.protobu"
"f.SourceCodeInfo.Location\032\206\001\n\010Location\022\020"
"\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020le"
"ading_comments\030\003 \001(\t\022\031\n\021trailing_comment"
"s\030\004 \001(\t\022!\n\031leading_detached_comments\030\006 \003"
"(\t\"\234\002\n\021GeneratedCodeInfo\022A\n\nannotation\030\001"
" \003(\0132-.google.protobuf.GeneratedCodeInfo"
".Annotation\032\303\001\n\nAnnotation\022\020\n\004path\030\001 \003(\005"
"B\002\020\001\022\023\n\013source_file\030\002 \001(\t\022\r\n\005begin\030\003 \001(\005"
"\022\013\n\003end\030\004 \001(\005\022H\n\010semantic\030\005 \001(\01626.google"
".protobuf.GeneratedCodeInfo.Annotation.S"
"emantic\"(\n\010Semantic\022\010\n\004NONE\020\000\022\007\n\003SET\020\001\022\t"
"\n\005ALIAS\020\002*\222\002\n\007Edition\022\023\n\017EDITION_UNKNOWN"
"\020\000\022\023\n\016EDITION_PROTO2\020\346\007\022\023\n\016EDITION_PROTO"
"3\020\347\007\022\021\n\014EDITION_2023\020\350\007\022\021\n\014EDITION_2024\020"
"\351\007\022\027\n\023EDITION_1_TEST_ONLY\020\001\022\027\n\023EDITION_2"
"_TEST_ONLY\020\002\022\035\n\027EDITION_99997_TEST_ONLY\020"
"\235\215\006\022\035\n\027EDITION_99998_TEST_ONLY\020\236\215\006\022\035\n\027ED"
"ITION_99999_TEST_ONLY\020\237\215\006\022\023\n\013EDITION_MAX"
"\020\377\377\377\377\007B~\n\023com.google.protobufB\020Descripto"
"rProtosH\001Z-google.golang.org/protobuf/ty"
"pes/descriptorpb\370\001\001\242\002\003GPB\252\002\032Google.Proto"
"buf.Reflection"
};
static ::absl::once_flag descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto = {
false,
false,
9566,
9574,
descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto,
"google/protobuf/descriptor.proto",
&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
@ -11574,9 +11574,9 @@ constexpr ::_pbi::TcParseTable<3, 6, 6, 0, 2> FeatureSet::_table_ = {
6, this->_internal_json_format(), target);
}
// Extension range [1000, 10000)
// Extension range [1000, 10001)
target = _impl_._extensions_._InternalSerialize(
internal_default_instance(), 1000, 10000, target, stream);
internal_default_instance(), 1000, 10001, target, stream);
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(

@ -1017,6 +1017,7 @@ message FeatureSet {
extensions 1002; // for Protobuf Go
extensions 9995 to 9999; // For internal testing
extensions 10000; // for https://github.com/bufbuild/protobuf-es
}
// A compiled specification for the defaults of a set of features. These

Loading…
Cancel
Save