Move note to the top

pull/10493/head
Jakub Chábek 2 years ago committed by GitHub
parent e58ff9821b
commit 63e94a4e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/google/protobuf/descriptor.proto

@ -502,6 +502,10 @@ message MessageOptions {
reserved 4, 5, 6;
// NOTE: Do not set the option in .proto files. Always use the maps syntax
// instead. The option should only be implicitly set by the proto compiler
// parser.
//
// Whether the message is an automatically generated map entry type for the
// maps field.
//
@ -519,10 +523,6 @@ message MessageOptions {
// use a native map in the target language to hold the keys and values.
// The reflection APIs in such implementations still need to work as
// if the field is a repeated message field.
//
// NOTE: Do not set the option in .proto files. Always use the maps syntax
// instead. The option should only be implicitly set by the proto compiler
// parser.
optional bool map_entry = 7;
reserved 8; // javalite_serializable

Loading…
Cancel
Save