Internal changes

PiperOrigin-RevId: 601765705
pull/15584/head
Mike Kruskal 1 year ago committed by Copybara-Service
parent 5ecfdd76ef
commit a12409b0f6
  1. 10
      src/google/protobuf/descriptor.h

@ -1924,12 +1924,6 @@ class PROTOBUF_EXPORT FileDescriptor : private internal::SymbolBase {
bool GetSourceLocation(const std::vector<int>& path,
SourceLocation* out_location) const;
private:
// Returns edition of this file. For legacy proto2/proto3 files, special
// EDITION_PROTO2 and EDITION_PROTO3 values are used.
Edition edition() const;
private:
friend class Symbol;
friend class FileDescriptorLegacy;
@ -1948,6 +1942,10 @@ class PROTOBUF_EXPORT FileDescriptor : private internal::SymbolBase {
const DescriptorPool* pool_;
Edition edition_;
// Returns edition of this file. For legacy proto2/proto3 files, special
// EDITION_PROTO2 and EDITION_PROTO3 values are used.
Edition edition() const;
// Get the merged features that apply to this file. These are specified in
// the .proto file through the feature options in the message definition.
// Allowed features are defined by FeatureSet in descriptor.proto, along with

Loading…
Cancel
Save