| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: google/protobuf/descriptor.proto |
| |
| #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
| #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED |
| |
| #include <string> |
| |
| #include <google/protobuf/stubs/common.h> |
| |
| #if GOOGLE_PROTOBUF_VERSION < 2005000 |
| #error This file was generated by a newer version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please update |
| #error your headers. |
| #endif |
| #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| #error This file was generated by an older version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please |
| #error regenerate this file with a newer version of protoc. |
| #endif |
| |
| #include <google/protobuf/generated_message_util.h> |
| #include <google/protobuf/message.h> |
| #include <google/protobuf/repeated_field.h> |
| #include <google/protobuf/extension_set.h> |
| #include <google/protobuf/generated_enum_reflection.h> |
| #include <google/protobuf/unknown_field_set.h> |
| // @@protoc_insertion_point(includes) |
| |
| namespace google { |
| namespace protobuf { |
| |
| // Internal implementation detail -- do not call these. |
| void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| class FileDescriptorSet; |
| class FileDescriptorProto; |
| class DescriptorProto; |
| class DescriptorProto_ExtensionRange; |
| class FieldDescriptorProto; |
| class EnumDescriptorProto; |
| class EnumValueDescriptorProto; |
| class ServiceDescriptorProto; |
| class MethodDescriptorProto; |
| class FileOptions; |
| class MessageOptions; |
| class FieldOptions; |
| class EnumOptions; |
| class EnumValueOptions; |
| class ServiceOptions; |
| class MethodOptions; |
| class UninterpretedOption; |
| class UninterpretedOption_NamePart; |
| class SourceCodeInfo; |
| class SourceCodeInfo_Location; |
| |
| enum FieldDescriptorProto_Type { |
| FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
| FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
| FieldDescriptorProto_Type_TYPE_INT64 = 3, |
| FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
| FieldDescriptorProto_Type_TYPE_INT32 = 5, |
| FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
| FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
| FieldDescriptorProto_Type_TYPE_BOOL = 8, |
| FieldDescriptorProto_Type_TYPE_STRING = 9, |
| FieldDescriptorProto_Type_TYPE_GROUP = 10, |
| FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
| FieldDescriptorProto_Type_TYPE_BYTES = 12, |
| FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
| FieldDescriptorProto_Type_TYPE_ENUM = 14, |
| FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
| FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
| FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
| FieldDescriptorProto_Type_TYPE_SINT64 = 18 |
| }; |
| LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
| const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE; |
| const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64; |
| const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1; |
| |
| LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); |
| inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
| return ::google::protobuf::internal::NameOfEnum( |
| FieldDescriptorProto_Type_descriptor(), value); |
| } |
| inline bool FieldDescriptorProto_Type_Parse( |
| const ::std::string& name, FieldDescriptorProto_Type* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
| FieldDescriptorProto_Type_descriptor(), name, value); |
| } |
| enum FieldDescriptorProto_Label { |
| FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
| FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
| FieldDescriptorProto_Label_LABEL_REPEATED = 3 |
| }; |
| LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
| const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED; |
| const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1; |
| |
| LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor(); |
| inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
| return ::google::protobuf::internal::NameOfEnum( |
| FieldDescriptorProto_Label_descriptor(), value); |
| } |
| inline bool FieldDescriptorProto_Label_Parse( |
| const ::std::string& name, FieldDescriptorProto_Label* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
| FieldDescriptorProto_Label_descriptor(), name, value); |
| } |
| enum FileOptions_OptimizeMode { |
| FileOptions_OptimizeMode_SPEED = 1, |
| FileOptions_OptimizeMode_CODE_SIZE = 2, |
| FileOptions_OptimizeMode_LITE_RUNTIME = 3 |
| }; |
| LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
| const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED; |
| const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME; |
| const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1; |
| |
| LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); |
| inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
| return ::google::protobuf::internal::NameOfEnum( |
| FileOptions_OptimizeMode_descriptor(), value); |
| } |
| inline bool FileOptions_OptimizeMode_Parse( |
| const ::std::string& name, FileOptions_OptimizeMode* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
| FileOptions_OptimizeMode_descriptor(), name, value); |
| } |
| enum FieldOptions_CType { |
| FieldOptions_CType_STRING = 0, |
| FieldOptions_CType_CORD = 1, |
| FieldOptions_CType_STRING_PIECE = 2 |
| }; |
| LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
| const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING; |
| const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE; |
| const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1; |
| |
| LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor(); |
| inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
| return ::google::protobuf::internal::NameOfEnum( |
| FieldOptions_CType_descriptor(), value); |
| } |
| inline bool FieldOptions_CType_Parse( |
| const ::std::string& name, FieldOptions_CType* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
| FieldOptions_CType_descriptor(), name, value); |
| } |
| // =================================================================== |
| |
| class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message { |
| public: |
| FileDescriptorSet(); |
| virtual ~FileDescriptorSet(); |
| |
| FileDescriptorSet(const FileDescriptorSet& from); |
| |
| inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const FileDescriptorSet& default_instance(); |
| |
| void Swap(FileDescriptorSet* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| FileDescriptorSet* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const FileDescriptorSet& from); |
| void MergeFrom(const FileDescriptorSet& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .google.protobuf.FileDescriptorProto file = 1; |
| inline int file_size() const; |
| inline void clear_file(); |
| static const int kFileFieldNumber = 1; |
| inline const ::google::protobuf::FileDescriptorProto& file(int index) const; |
| inline ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
| inline ::google::protobuf::FileDescriptorProto* add_file(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& |
| file() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* |
| mutable_file(); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
| private: |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static FileDescriptorSet* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message { |
| public: |
| FileDescriptorProto(); |
| virtual ~FileDescriptorProto(); |
| |
| FileDescriptorProto(const FileDescriptorProto& from); |
| |
| inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const FileDescriptorProto& default_instance(); |
| |
| void Swap(FileDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| FileDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const FileDescriptorProto& from); |
| void MergeFrom(const FileDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // optional string package = 2; |
| inline bool has_package() const; |
| inline void clear_package(); |
| static const int kPackageFieldNumber = 2; |
| inline const ::std::string& package() const; |
| inline void set_package(const ::std::string& value); |
| inline void set_package(const char* value); |
| inline void set_package(const char* value, size_t size); |
| inline ::std::string* mutable_package(); |
| inline ::std::string* release_package(); |
| inline void set_allocated_package(::std::string* package); |
| |
| // repeated string dependency = 3; |
| inline int dependency_size() const; |
| inline void clear_dependency(); |
| static const int kDependencyFieldNumber = 3; |
| inline const ::std::string& dependency(int index) const; |
| inline ::std::string* mutable_dependency(int index); |
| inline void set_dependency(int index, const ::std::string& value); |
| inline void set_dependency(int index, const char* value); |
| inline void set_dependency(int index, const char* value, size_t size); |
| inline ::std::string* add_dependency(); |
| inline void add_dependency(const ::std::string& value); |
| inline void add_dependency(const char* value); |
| inline void add_dependency(const char* value, size_t size); |
| inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const; |
| inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency(); |
| |
| // repeated int32 public_dependency = 10; |
| inline int public_dependency_size() const; |
| inline void clear_public_dependency(); |
| static const int kPublicDependencyFieldNumber = 10; |
| inline ::google::protobuf::int32 public_dependency(int index) const; |
| inline void set_public_dependency(int index, ::google::protobuf::int32 value); |
| inline void add_public_dependency(::google::protobuf::int32 value); |
| inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| public_dependency() const; |
| inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| mutable_public_dependency(); |
| |
| // repeated int32 weak_dependency = 11; |
| inline int weak_dependency_size() const; |
| inline void clear_weak_dependency(); |
| static const int kWeakDependencyFieldNumber = 11; |
| inline ::google::protobuf::int32 weak_dependency(int index) const; |
| inline void set_weak_dependency(int index, ::google::protobuf::int32 value); |
| inline void add_weak_dependency(::google::protobuf::int32 value); |
| inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| weak_dependency() const; |
| inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| mutable_weak_dependency(); |
| |
| // repeated .google.protobuf.DescriptorProto message_type = 4; |
| inline int message_type_size() const; |
| inline void clear_message_type(); |
| static const int kMessageTypeFieldNumber = 4; |
| inline const ::google::protobuf::DescriptorProto& message_type(int index) const; |
| inline ::google::protobuf::DescriptorProto* mutable_message_type(int index); |
| inline ::google::protobuf::DescriptorProto* add_message_type(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| message_type() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| mutable_message_type(); |
| |
| // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| inline int enum_type_size() const; |
| inline void clear_enum_type(); |
| static const int kEnumTypeFieldNumber = 5; |
| inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
| inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
| inline ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| enum_type() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| mutable_enum_type(); |
| |
| // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| inline int service_size() const; |
| inline void clear_service(); |
| static const int kServiceFieldNumber = 6; |
| inline const ::google::protobuf::ServiceDescriptorProto& service(int index) const; |
| inline ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); |
| inline ::google::protobuf::ServiceDescriptorProto* add_service(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >& |
| service() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >* |
| mutable_service(); |
| |
| // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| inline int extension_size() const; |
| inline void clear_extension(); |
| static const int kExtensionFieldNumber = 7; |
| inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
| inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
| inline ::google::protobuf::FieldDescriptorProto* add_extension(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| extension() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| mutable_extension(); |
| |
| // optional .google.protobuf.FileOptions options = 8; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 8; |
| inline const ::google::protobuf::FileOptions& options() const; |
| inline ::google::protobuf::FileOptions* mutable_options(); |
| inline ::google::protobuf::FileOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::FileOptions* options); |
| |
| // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| inline bool has_source_code_info() const; |
| inline void clear_source_code_info(); |
| static const int kSourceCodeInfoFieldNumber = 9; |
| inline const ::google::protobuf::SourceCodeInfo& source_code_info() const; |
| inline ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
| inline ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
| inline void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_package(); |
| inline void clear_has_package(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| inline void set_has_source_code_info(); |
| inline void clear_has_source_code_info(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::std::string* package_; |
| ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; |
| ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_; |
| ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
| ::google::protobuf::FileOptions* options_; |
| ::google::protobuf::SourceCodeInfo* source_code_info_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(11 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static FileDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message { |
| public: |
| DescriptorProto_ExtensionRange(); |
| virtual ~DescriptorProto_ExtensionRange(); |
| |
| DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
| |
| inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const DescriptorProto_ExtensionRange& default_instance(); |
| |
| void Swap(DescriptorProto_ExtensionRange* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| DescriptorProto_ExtensionRange* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const DescriptorProto_ExtensionRange& from); |
| void MergeFrom(const DescriptorProto_ExtensionRange& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional int32 start = 1; |
| inline bool has_start() const; |
| inline void clear_start(); |
| static const int kStartFieldNumber = 1; |
| inline ::google::protobuf::int32 start() const; |
| inline void set_start(::google::protobuf::int32 value); |
| |
| // optional int32 end = 2; |
| inline bool has_end() const; |
| inline void clear_end(); |
| static const int kEndFieldNumber = 2; |
| inline ::google::protobuf::int32 end() const; |
| inline void set_end(::google::protobuf::int32 value); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
| private: |
| inline void set_has_start(); |
| inline void clear_has_start(); |
| inline void set_has_end(); |
| inline void clear_has_end(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::int32 start_; |
| ::google::protobuf::int32 end_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static DescriptorProto_ExtensionRange* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message { |
| public: |
| DescriptorProto(); |
| virtual ~DescriptorProto(); |
| |
| DescriptorProto(const DescriptorProto& from); |
| |
| inline DescriptorProto& operator=(const DescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const DescriptorProto& default_instance(); |
| |
| void Swap(DescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| DescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const DescriptorProto& from); |
| void MergeFrom(const DescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef DescriptorProto_ExtensionRange ExtensionRange; |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| inline int field_size() const; |
| inline void clear_field(); |
| static const int kFieldFieldNumber = 2; |
| inline const ::google::protobuf::FieldDescriptorProto& field(int index) const; |
| inline ::google::protobuf::FieldDescriptorProto* mutable_field(int index); |
| inline ::google::protobuf::FieldDescriptorProto* add_field(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| field() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| mutable_field(); |
| |
| // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
| inline int extension_size() const; |
| inline void clear_extension(); |
| static const int kExtensionFieldNumber = 6; |
| inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
| inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
| inline ::google::protobuf::FieldDescriptorProto* add_extension(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| extension() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| mutable_extension(); |
| |
| // repeated .google.protobuf.DescriptorProto nested_type = 3; |
| inline int nested_type_size() const; |
| inline void clear_nested_type(); |
| static const int kNestedTypeFieldNumber = 3; |
| inline const ::google::protobuf::DescriptorProto& nested_type(int index) const; |
| inline ::google::protobuf::DescriptorProto* mutable_nested_type(int index); |
| inline ::google::protobuf::DescriptorProto* add_nested_type(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| nested_type() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| mutable_nested_type(); |
| |
| // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
| inline int enum_type_size() const; |
| inline void clear_enum_type(); |
| static const int kEnumTypeFieldNumber = 4; |
| inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
| inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
| inline ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| enum_type() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| mutable_enum_type(); |
| |
| // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
| inline int extension_range_size() const; |
| inline void clear_extension_range(); |
| static const int kExtensionRangeFieldNumber = 5; |
| inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const; |
| inline ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
| inline ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >& |
| extension_range() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >* |
| mutable_extension_range(); |
| |
| // optional .google.protobuf.MessageOptions options = 7; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 7; |
| inline const ::google::protobuf::MessageOptions& options() const; |
| inline ::google::protobuf::MessageOptions* mutable_options(); |
| inline ::google::protobuf::MessageOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::MessageOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_; |
| ::google::protobuf::MessageOptions* options_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static DescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message { |
| public: |
| FieldDescriptorProto(); |
| virtual ~FieldDescriptorProto(); |
| |
| FieldDescriptorProto(const FieldDescriptorProto& from); |
| |
| inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const FieldDescriptorProto& default_instance(); |
| |
| void Swap(FieldDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| FieldDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const FieldDescriptorProto& from); |
| void MergeFrom(const FieldDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef FieldDescriptorProto_Type Type; |
| static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; |
| static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; |
| static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; |
| static const Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64; |
| static const Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32; |
| static const Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64; |
| static const Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32; |
| static const Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL; |
| static const Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING; |
| static const Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP; |
| static const Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE; |
| static const Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES; |
| static const Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32; |
| static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM; |
| static const Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32; |
| static const Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64; |
| static const Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32; |
| static const Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64; |
| static inline bool Type_IsValid(int value) { |
| return FieldDescriptorProto_Type_IsValid(value); |
| } |
| static const Type Type_MIN = |
| FieldDescriptorProto_Type_Type_MIN; |
| static const Type Type_MAX = |
| FieldDescriptorProto_Type_Type_MAX; |
| static const int Type_ARRAYSIZE = |
| FieldDescriptorProto_Type_Type_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* |
| Type_descriptor() { |
| return FieldDescriptorProto_Type_descriptor(); |
| } |
| static inline const ::std::string& Type_Name(Type value) { |
| return FieldDescriptorProto_Type_Name(value); |
| } |
| static inline bool Type_Parse(const ::std::string& name, |
| Type* value) { |
| return FieldDescriptorProto_Type_Parse(name, value); |
| } |
| |
| typedef FieldDescriptorProto_Label Label; |
| static const Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| static const Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED; |
| static const Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED; |
| static inline bool Label_IsValid(int value) { |
| return FieldDescriptorProto_Label_IsValid(value); |
| } |
| static const Label Label_MIN = |
| FieldDescriptorProto_Label_Label_MIN; |
| static const Label Label_MAX = |
| FieldDescriptorProto_Label_Label_MAX; |
| static const int Label_ARRAYSIZE = |
| FieldDescriptorProto_Label_Label_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* |
| Label_descriptor() { |
| return FieldDescriptorProto_Label_descriptor(); |
| } |
| static inline const ::std::string& Label_Name(Label value) { |
| return FieldDescriptorProto_Label_Name(value); |
| } |
| static inline bool Label_Parse(const ::std::string& name, |
| Label* value) { |
| return FieldDescriptorProto_Label_Parse(name, value); |
| } |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // optional int32 number = 3; |
| inline bool has_number() const; |
| inline void clear_number(); |
| static const int kNumberFieldNumber = 3; |
| inline ::google::protobuf::int32 number() const; |
| inline void set_number(::google::protobuf::int32 value); |
| |
| // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| inline bool has_label() const; |
| inline void clear_label(); |
| static const int kLabelFieldNumber = 4; |
| inline ::google::protobuf::FieldDescriptorProto_Label label() const; |
| inline void set_label(::google::protobuf::FieldDescriptorProto_Label value); |
| |
| // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| inline bool has_type() const; |
| inline void clear_type(); |
| static const int kTypeFieldNumber = 5; |
| inline ::google::protobuf::FieldDescriptorProto_Type type() const; |
| inline void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
| |
| // optional string type_name = 6; |
| inline bool has_type_name() const; |
| inline void clear_type_name(); |
| static const int kTypeNameFieldNumber = 6; |
| inline const ::std::string& type_name() const; |
| inline void set_type_name(const ::std::string& value); |
| inline void set_type_name(const char* value); |
| inline void set_type_name(const char* value, size_t size); |
| inline ::std::string* mutable_type_name(); |
| inline ::std::string* release_type_name(); |
| inline void set_allocated_type_name(::std::string* type_name); |
| |
| // optional string extendee = 2; |
| inline bool has_extendee() const; |
| inline void clear_extendee(); |
| static const int kExtendeeFieldNumber = 2; |
| inline const ::std::string& extendee() const; |
| inline void set_extendee(const ::std::string& value); |
| inline void set_extendee(const char* value); |
| inline void set_extendee(const char* value, size_t size); |
| inline ::std::string* mutable_extendee(); |
| inline ::std::string* release_extendee(); |
| inline void set_allocated_extendee(::std::string* extendee); |
| |
| // optional string default_value = 7; |
| inline bool has_default_value() const; |
| inline void clear_default_value(); |
| static const int kDefaultValueFieldNumber = 7; |
| inline const ::std::string& default_value() const; |
| inline void set_default_value(const ::std::string& value); |
| inline void set_default_value(const char* value); |
| inline void set_default_value(const char* value, size_t size); |
| inline ::std::string* mutable_default_value(); |
| inline ::std::string* release_default_value(); |
| inline void set_allocated_default_value(::std::string* default_value); |
| |
| // optional .google.protobuf.FieldOptions options = 8; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 8; |
| inline const ::google::protobuf::FieldOptions& options() const; |
| inline ::google::protobuf::FieldOptions* mutable_options(); |
| inline ::google::protobuf::FieldOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::FieldOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_number(); |
| inline void clear_has_number(); |
| inline void set_has_label(); |
| inline void clear_has_label(); |
| inline void set_has_type(); |
| inline void clear_has_type(); |
| inline void set_has_type_name(); |
| inline void clear_has_type_name(); |
| inline void set_has_extendee(); |
| inline void clear_has_extendee(); |
| inline void set_has_default_value(); |
| inline void clear_has_default_value(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::google::protobuf::int32 number_; |
| int label_; |
| ::std::string* type_name_; |
| ::std::string* extendee_; |
| ::std::string* default_value_; |
| ::google::protobuf::FieldOptions* options_; |
| int type_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static FieldDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message { |
| public: |
| EnumDescriptorProto(); |
| virtual ~EnumDescriptorProto(); |
| |
| EnumDescriptorProto(const EnumDescriptorProto& from); |
| |
| inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const EnumDescriptorProto& default_instance(); |
| |
| void Swap(EnumDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| EnumDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const EnumDescriptorProto& from); |
| void MergeFrom(const EnumDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| inline int value_size() const; |
| inline void clear_value(); |
| static const int kValueFieldNumber = 2; |
| inline const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
| inline ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
| inline ::google::protobuf::EnumValueDescriptorProto* add_value(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >& |
| value() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >* |
| mutable_value(); |
| |
| // optional .google.protobuf.EnumOptions options = 3; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 3; |
| inline const ::google::protobuf::EnumOptions& options() const; |
| inline ::google::protobuf::EnumOptions* mutable_options(); |
| inline ::google::protobuf::EnumOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::EnumOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_; |
| ::google::protobuf::EnumOptions* options_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static EnumDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message { |
| public: |
| EnumValueDescriptorProto(); |
| virtual ~EnumValueDescriptorProto(); |
| |
| EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
| |
| inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const EnumValueDescriptorProto& default_instance(); |
| |
| void Swap(EnumValueDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| EnumValueDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const EnumValueDescriptorProto& from); |
| void MergeFrom(const EnumValueDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // optional int32 number = 2; |
| inline bool has_number() const; |
| inline void clear_number(); |
| static const int kNumberFieldNumber = 2; |
| inline ::google::protobuf::int32 number() const; |
| inline void set_number(::google::protobuf::int32 value); |
| |
| // optional .google.protobuf.EnumValueOptions options = 3; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 3; |
| inline const ::google::protobuf::EnumValueOptions& options() const; |
| inline ::google::protobuf::EnumValueOptions* mutable_options(); |
| inline ::google::protobuf::EnumValueOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::EnumValueOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_number(); |
| inline void clear_has_number(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::google::protobuf::EnumValueOptions* options_; |
| ::google::protobuf::int32 number_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static EnumValueDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message { |
| public: |
| ServiceDescriptorProto(); |
| virtual ~ServiceDescriptorProto(); |
| |
| ServiceDescriptorProto(const ServiceDescriptorProto& from); |
| |
| inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const ServiceDescriptorProto& default_instance(); |
| |
| void Swap(ServiceDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| ServiceDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const ServiceDescriptorProto& from); |
| void MergeFrom(const ServiceDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| inline int method_size() const; |
| inline void clear_method(); |
| static const int kMethodFieldNumber = 2; |
| inline const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
| inline ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
| inline ::google::protobuf::MethodDescriptorProto* add_method(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >& |
| method() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >* |
| mutable_method(); |
| |
| // optional .google.protobuf.ServiceOptions options = 3; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 3; |
| inline const ::google::protobuf::ServiceOptions& options() const; |
| inline ::google::protobuf::ServiceOptions* mutable_options(); |
| inline ::google::protobuf::ServiceOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::ServiceOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_; |
| ::google::protobuf::ServiceOptions* options_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static ServiceDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message { |
| public: |
| MethodDescriptorProto(); |
| virtual ~MethodDescriptorProto(); |
| |
| MethodDescriptorProto(const MethodDescriptorProto& from); |
| |
| inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const MethodDescriptorProto& default_instance(); |
| |
| void Swap(MethodDescriptorProto* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| MethodDescriptorProto* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const MethodDescriptorProto& from); |
| void MergeFrom(const MethodDescriptorProto& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string name = 1; |
| inline bool has_name() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 1; |
| inline const ::std::string& name() const; |
| inline void set_name(const ::std::string& value); |
| inline void set_name(const char* value); |
| inline void set_name(const char* value, size_t size); |
| inline ::std::string* mutable_name(); |
| inline ::std::string* release_name(); |
| inline void set_allocated_name(::std::string* name); |
| |
| // optional string input_type = 2; |
| inline bool has_input_type() const; |
| inline void clear_input_type(); |
| static const int kInputTypeFieldNumber = 2; |
| inline const ::std::string& input_type() const; |
| inline void set_input_type(const ::std::string& value); |
| inline void set_input_type(const char* value); |
| inline void set_input_type(const char* value, size_t size); |
| inline ::std::string* mutable_input_type(); |
| inline ::std::string* release_input_type(); |
| inline void set_allocated_input_type(::std::string* input_type); |
| |
| // optional string output_type = 3; |
| inline bool has_output_type() const; |
| inline void clear_output_type(); |
| static const int kOutputTypeFieldNumber = 3; |
| inline const ::std::string& output_type() const; |
| inline void set_output_type(const ::std::string& value); |
| inline void set_output_type(const char* value); |
| inline void set_output_type(const char* value, size_t size); |
| inline ::std::string* mutable_output_type(); |
| inline ::std::string* release_output_type(); |
| inline void set_allocated_output_type(::std::string* output_type); |
| |
| // optional .google.protobuf.MethodOptions options = 4; |
| inline bool has_options() const; |
| inline void clear_options(); |
| static const int kOptionsFieldNumber = 4; |
| inline const ::google::protobuf::MethodOptions& options() const; |
| inline ::google::protobuf::MethodOptions* mutable_options(); |
| inline ::google::protobuf::MethodOptions* release_options(); |
| inline void set_allocated_options(::google::protobuf::MethodOptions* options); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
| private: |
| inline void set_has_name(); |
| inline void clear_has_name(); |
| inline void set_has_input_type(); |
| inline void clear_has_input_type(); |
| inline void set_has_output_type(); |
| inline void clear_has_output_type(); |
| inline void set_has_options(); |
| inline void clear_has_options(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_; |
| ::std::string* input_type_; |
| ::std::string* output_type_; |
| ::google::protobuf::MethodOptions* options_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static MethodDescriptorProto* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message { |
| public: |
| FileOptions(); |
| virtual ~FileOptions(); |
| |
| FileOptions(const FileOptions& from); |
| |
| inline FileOptions& operator=(const FileOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const FileOptions& default_instance(); |
| |
| void Swap(FileOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| FileOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const FileOptions& from); |
| void MergeFrom(const FileOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef FileOptions_OptimizeMode OptimizeMode; |
| static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED; |
| static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE; |
| static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME; |
| static inline bool OptimizeMode_IsValid(int value) { |
| return FileOptions_OptimizeMode_IsValid(value); |
| } |
| static const OptimizeMode OptimizeMode_MIN = |
| FileOptions_OptimizeMode_OptimizeMode_MIN; |
| static const OptimizeMode OptimizeMode_MAX = |
| FileOptions_OptimizeMode_OptimizeMode_MAX; |
| static const int OptimizeMode_ARRAYSIZE = |
| FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* |
| OptimizeMode_descriptor() { |
| return FileOptions_OptimizeMode_descriptor(); |
| } |
| static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) { |
| return FileOptions_OptimizeMode_Name(value); |
| } |
| static inline bool OptimizeMode_Parse(const ::std::string& name, |
| OptimizeMode* value) { |
| return FileOptions_OptimizeMode_Parse(name, value); |
| } |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional string java_package = 1; |
| inline bool has_java_package() const; |
| inline void clear_java_package(); |
| static const int kJavaPackageFieldNumber = 1; |
| inline const ::std::string& java_package() const; |
| inline void set_java_package(const ::std::string& value); |
| inline void set_java_package(const char* value); |
| inline void set_java_package(const char* value, size_t size); |
| inline ::std::string* mutable_java_package(); |
| inline ::std::string* release_java_package(); |
| inline void set_allocated_java_package(::std::string* java_package); |
| |
| // optional string java_outer_classname = 8; |
| inline bool has_java_outer_classname() const; |
| inline void clear_java_outer_classname(); |
| static const int kJavaOuterClassnameFieldNumber = 8; |
| inline const ::std::string& java_outer_classname() const; |
| inline void set_java_outer_classname(const ::std::string& value); |
| inline void set_java_outer_classname(const char* value); |
| inline void set_java_outer_classname(const char* value, size_t size); |
| inline ::std::string* mutable_java_outer_classname(); |
| inline ::std::string* release_java_outer_classname(); |
| inline void set_allocated_java_outer_classname(::std::string* java_outer_classname); |
| |
| // optional bool java_multiple_files = 10 [default = false]; |
| inline bool has_java_multiple_files() const; |
| inline void clear_java_multiple_files(); |
| static const int kJavaMultipleFilesFieldNumber = 10; |
| inline bool java_multiple_files() const; |
| inline void set_java_multiple_files(bool value); |
| |
| // optional bool java_generate_equals_and_hash = 20 [default = false]; |
| inline bool has_java_generate_equals_and_hash() const; |
| inline void clear_java_generate_equals_and_hash(); |
| static const int kJavaGenerateEqualsAndHashFieldNumber = 20; |
| inline bool java_generate_equals_and_hash() const; |
| inline void set_java_generate_equals_and_hash(bool value); |
| |
| // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
| inline bool has_optimize_for() const; |
| inline void clear_optimize_for(); |
| static const int kOptimizeForFieldNumber = 9; |
| inline ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
| inline void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
| |
| // optional string go_package = 11; |
| inline bool has_go_package() const; |
| inline void clear_go_package(); |
| static const int kGoPackageFieldNumber = 11; |
| inline const ::std::string& go_package() const; |
| inline void set_go_package(const ::std::string& value); |
| inline void set_go_package(const char* value); |
| inline void set_go_package(const char* value, size_t size); |
| inline ::std::string* mutable_go_package(); |
| inline ::std::string* release_go_package(); |
| inline void set_allocated_go_package(::std::string* go_package); |
| |
| // optional bool cc_generic_services = 16 [default = false]; |
| inline bool has_cc_generic_services() const; |
| inline void clear_cc_generic_services(); |
| static const int kCcGenericServicesFieldNumber = 16; |
| inline bool cc_generic_services() const; |
| inline void set_cc_generic_services(bool value); |
| |
| // optional bool java_generic_services = 17 [default = false]; |
| inline bool has_java_generic_services() const; |
| inline void clear_java_generic_services(); |
| static const int kJavaGenericServicesFieldNumber = 17; |
| inline bool java_generic_services() const; |
| inline void set_java_generic_services(bool value); |
| |
| // optional bool py_generic_services = 18 [default = false]; |
| inline bool has_py_generic_services() const; |
| inline void clear_py_generic_services(); |
| static const int kPyGenericServicesFieldNumber = 18; |
| inline bool py_generic_services() const; |
| inline void set_py_generic_services(bool value); |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
| private: |
| inline void set_has_java_package(); |
| inline void clear_has_java_package(); |
| inline void set_has_java_outer_classname(); |
| inline void clear_has_java_outer_classname(); |
| inline void set_has_java_multiple_files(); |
| inline void clear_has_java_multiple_files(); |
| inline void set_has_java_generate_equals_and_hash(); |
| inline void clear_has_java_generate_equals_and_hash(); |
| inline void set_has_optimize_for(); |
| inline void clear_has_optimize_for(); |
| inline void set_has_go_package(); |
| inline void clear_has_go_package(); |
| inline void set_has_cc_generic_services(); |
| inline void clear_has_cc_generic_services(); |
| inline void set_has_java_generic_services(); |
| inline void clear_has_java_generic_services(); |
| inline void set_has_py_generic_services(); |
| inline void clear_has_py_generic_services(); |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* java_package_; |
| ::std::string* java_outer_classname_; |
| int optimize_for_; |
| bool java_multiple_files_; |
| bool java_generate_equals_and_hash_; |
| bool cc_generic_services_; |
| bool java_generic_services_; |
| ::std::string* go_package_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| bool py_generic_services_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(10 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static FileOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message { |
| public: |
| MessageOptions(); |
| virtual ~MessageOptions(); |
| |
| MessageOptions(const MessageOptions& from); |
| |
| inline MessageOptions& operator=(const MessageOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const MessageOptions& default_instance(); |
| |
| void Swap(MessageOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| MessageOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const MessageOptions& from); |
| void MergeFrom(const MessageOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional bool message_set_wire_format = 1 [default = false]; |
| inline bool has_message_set_wire_format() const; |
| inline void clear_message_set_wire_format(); |
| static const int kMessageSetWireFormatFieldNumber = 1; |
| inline bool message_set_wire_format() const; |
| inline void set_message_set_wire_format(bool value); |
| |
| // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
| inline bool has_no_standard_descriptor_accessor() const; |
| inline void clear_no_standard_descriptor_accessor(); |
| static const int kNoStandardDescriptorAccessorFieldNumber = 2; |
| inline bool no_standard_descriptor_accessor() const; |
| inline void set_no_standard_descriptor_accessor(bool value); |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
| private: |
| inline void set_has_message_set_wire_format(); |
| inline void clear_has_message_set_wire_format(); |
| inline void set_has_no_standard_descriptor_accessor(); |
| inline void clear_has_no_standard_descriptor_accessor(); |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| bool message_set_wire_format_; |
| bool no_standard_descriptor_accessor_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static MessageOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message { |
| public: |
| FieldOptions(); |
| virtual ~FieldOptions(); |
| |
| FieldOptions(const FieldOptions& from); |
| |
| inline FieldOptions& operator=(const FieldOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const FieldOptions& default_instance(); |
| |
| void Swap(FieldOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| FieldOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const FieldOptions& from); |
| void MergeFrom(const FieldOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef FieldOptions_CType CType; |
| static const CType STRING = FieldOptions_CType_STRING; |
| static const CType CORD = FieldOptions_CType_CORD; |
| static const CType STRING_PIECE = FieldOptions_CType_STRING_PIECE; |
| static inline bool CType_IsValid(int value) { |
| return FieldOptions_CType_IsValid(value); |
| } |
| static const CType CType_MIN = |
| FieldOptions_CType_CType_MIN; |
| static const CType CType_MAX = |
| FieldOptions_CType_CType_MAX; |
| static const int CType_ARRAYSIZE = |
| FieldOptions_CType_CType_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* |
| CType_descriptor() { |
| return FieldOptions_CType_descriptor(); |
| } |
| static inline const ::std::string& CType_Name(CType value) { |
| return FieldOptions_CType_Name(value); |
| } |
| static inline bool CType_Parse(const ::std::string& name, |
| CType* value) { |
| return FieldOptions_CType_Parse(name, value); |
| } |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
| inline bool has_ctype() const; |
| inline void clear_ctype(); |
| static const int kCtypeFieldNumber = 1; |
| inline ::google::protobuf::FieldOptions_CType ctype() const; |
| inline void set_ctype(::google::protobuf::FieldOptions_CType value); |
| |
| // optional bool packed = 2; |
| inline bool has_packed() const; |
| inline void clear_packed(); |
| static const int kPackedFieldNumber = 2; |
| inline bool packed() const; |
| inline void set_packed(bool value); |
| |
| // optional bool lazy = 5 [default = false]; |
| inline bool has_lazy() const; |
| inline void clear_lazy(); |
| static const int kLazyFieldNumber = 5; |
| inline bool lazy() const; |
| inline void set_lazy(bool value); |
| |
| // optional bool deprecated = 3 [default = false]; |
| inline bool has_deprecated() const; |
| inline void clear_deprecated(); |
| static const int kDeprecatedFieldNumber = 3; |
| inline bool deprecated() const; |
| inline void set_deprecated(bool value); |
| |
| // optional string experimental_map_key = 9; |
| inline bool has_experimental_map_key() const; |
| inline void clear_experimental_map_key(); |
| static const int kExperimentalMapKeyFieldNumber = 9; |
| inline const ::std::string& experimental_map_key() const; |
| inline void set_experimental_map_key(const ::std::string& value); |
| inline void set_experimental_map_key(const char* value); |
| inline void set_experimental_map_key(const char* value, size_t size); |
| inline ::std::string* mutable_experimental_map_key(); |
| inline ::std::string* release_experimental_map_key(); |
| inline void set_allocated_experimental_map_key(::std::string* experimental_map_key); |
| |
| // optional bool weak = 10 [default = false]; |
| inline bool has_weak() const; |
| inline void clear_weak(); |
| static const int kWeakFieldNumber = 10; |
| inline bool weak() const; |
| inline void set_weak(bool value); |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
| private: |
| inline void set_has_ctype(); |
| inline void clear_has_ctype(); |
| inline void set_has_packed(); |
| inline void clear_has_packed(); |
| inline void set_has_lazy(); |
| inline void clear_has_lazy(); |
| inline void set_has_deprecated(); |
| inline void clear_has_deprecated(); |
| inline void set_has_experimental_map_key(); |
| inline void clear_has_experimental_map_key(); |
| inline void set_has_weak(); |
| inline void clear_has_weak(); |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| int ctype_; |
| bool packed_; |
| bool lazy_; |
| bool deprecated_; |
| bool weak_; |
| ::std::string* experimental_map_key_; |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static FieldOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message { |
| public: |
| EnumOptions(); |
| virtual ~EnumOptions(); |
| |
| EnumOptions(const EnumOptions& from); |
| |
| inline EnumOptions& operator=(const EnumOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const EnumOptions& default_instance(); |
| |
| void Swap(EnumOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| EnumOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const EnumOptions& from); |
| void MergeFrom(const EnumOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // optional bool allow_alias = 2 [default = true]; |
| inline bool has_allow_alias() const; |
| inline void clear_allow_alias(); |
| static const int kAllowAliasFieldNumber = 2; |
| inline bool allow_alias() const; |
| inline void set_allow_alias(bool value); |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
| private: |
| inline void set_has_allow_alias(); |
| inline void clear_has_allow_alias(); |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| bool allow_alias_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static EnumOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message { |
| public: |
| EnumValueOptions(); |
| virtual ~EnumValueOptions(); |
| |
| EnumValueOptions(const EnumValueOptions& from); |
| |
| inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const EnumValueOptions& default_instance(); |
| |
| void Swap(EnumValueOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| EnumValueOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const EnumValueOptions& from); |
| void MergeFrom(const EnumValueOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
| private: |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static EnumValueOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message { |
| public: |
| ServiceOptions(); |
| virtual ~ServiceOptions(); |
| |
| ServiceOptions(const ServiceOptions& from); |
| |
| inline ServiceOptions& operator=(const ServiceOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const ServiceOptions& default_instance(); |
| |
| void Swap(ServiceOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| ServiceOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const ServiceOptions& from); |
| void MergeFrom(const ServiceOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
| private: |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static ServiceOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message { |
| public: |
| MethodOptions(); |
| virtual ~MethodOptions(); |
| |
| MethodOptions(const MethodOptions& from); |
| |
| inline MethodOptions& operator=(const MethodOptions& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const MethodOptions& default_instance(); |
| |
| void Swap(MethodOptions* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| MethodOptions* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const MethodOptions& from); |
| void MergeFrom(const MethodOptions& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| inline int uninterpreted_option_size() const; |
| inline void clear_uninterpreted_option(); |
| static const int kUninterpretedOptionFieldNumber = 999; |
| inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| uninterpreted_option() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| mutable_uninterpreted_option(); |
| |
| GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) |
| // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
| private: |
| |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static MethodOptions* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message { |
| public: |
| UninterpretedOption_NamePart(); |
| virtual ~UninterpretedOption_NamePart(); |
| |
| UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
| |
| inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const UninterpretedOption_NamePart& default_instance(); |
| |
| void Swap(UninterpretedOption_NamePart* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| UninterpretedOption_NamePart* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const UninterpretedOption_NamePart& from); |
| void MergeFrom(const UninterpretedOption_NamePart& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| // required string name_part = 1; |
| inline bool has_name_part() const; |
| inline void clear_name_part(); |
| static const int kNamePartFieldNumber = 1; |
| inline const ::std::string& name_part() const; |
| inline void set_name_part(const ::std::string& value); |
| inline void set_name_part(const char* value); |
| inline void set_name_part(const char* value, size_t size); |
| inline ::std::string* mutable_name_part(); |
| inline ::std::string* release_name_part(); |
| inline void set_allocated_name_part(::std::string* name_part); |
| |
| // required bool is_extension = 2; |
| inline bool has_is_extension() const; |
| inline void clear_is_extension(); |
| static const int kIsExtensionFieldNumber = 2; |
| inline bool is_extension() const; |
| inline void set_is_extension(bool value); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
| private: |
| inline void set_has_name_part(); |
| inline void clear_has_name_part(); |
| inline void set_has_is_extension(); |
| inline void clear_has_is_extension(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::std::string* name_part_; |
| bool is_extension_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static UninterpretedOption_NamePart* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message { |
| public: |
| UninterpretedOption(); |
| virtual ~UninterpretedOption(); |
| |
| UninterpretedOption(const UninterpretedOption& from); |
| |
| inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const UninterpretedOption& default_instance(); |
| |
| void Swap(UninterpretedOption* other); |
| |
| // implements Message ---------------------------------------------- |
| |
| UninterpretedOption* New() const; |
| void CopyFrom(const ::google::protobuf::Message& from); |
| void MergeFrom(const ::google::protobuf::Message& from); |
| void CopyFrom(const UninterpretedOption& from); |
| void MergeFrom(const UninterpretedOption& from); |
| void Clear(); |
| bool IsInitialized() const; |
| |
| int ByteSize() const; |
| bool MergePartialFromCodedStream( |
| ::google::protobuf::io::CodedInputStream* input); |
| void SerializeWithCachedSizes( |
| ::google::protobuf::io::CodedOutputStream* output) const; |
| ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
| int GetCachedSize() const { return _cached_size_; } |
| private: |
| void SharedCtor(); |
| void SharedDtor(); |
| void SetCachedSize(int size) const; |
| public: |
| |
| ::google::protobuf::Metadata GetMetadata() const; |
| |
| // nested types ---------------------------------------------------- |
| |
| typedef UninterpretedOption_NamePart NamePart; |
| |
| // accessors ------------------------------------------------------- |
| |
| // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| inline int name_size() const; |
| inline void clear_name(); |
| static const int kNameFieldNumber = 2; |
| inline const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; |
| inline ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); |
| inline ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
| inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >& |
| name() const; |
| inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >* |
| mutable_name(); |
| |
| // optional string identifier_value = 3; |
| inline bool has_identifier_value() const; |
| inline void clear_identifier_value(); |
| static const int kIdentifierValueFieldNumber = 3; |
| inline const ::std::string& identifier_value() const; |
| inline void set_identifier_value(const ::std::string& value); |
| inline void set_identifier_value(const char* value); |
| inline void set_identifier_value(const char* value, size_t size); |
| inline ::std::string* mutable_identifier_value(); |
| inline ::std::string* release_identifier_value(); |
| inline void set_allocated_identifier_value(::std::string* identifier_value); |
| |
| // optional uint64 positive_int_value = 4; |
| inline bool has_positive_int_value() const; |
| inline void clear_positive_int_value(); |
| static const int kPositiveIntValueFieldNumber = 4; |
| inline ::google::protobuf::uint64 positive_int_value() const; |
| inline void set_positive_int_value(::google::protobuf::uint64 value); |
| |
| // optional int64 negative_int_value = 5; |
| inline bool has_negative_int_value() const; |
| inline void clear_negative_int_value(); |
| static const int kNegativeIntValueFieldNumber = 5; |
| inline ::google::protobuf::int64 negative_int_value() const; |
| inline void set_negative_int_value(::google::protobuf::int64 value); |
| |
| // optional double double_value = 6; |
| inline bool has_double_value() const; |
| inline void clear_double_value(); |
| static const int kDoubleValueFieldNumber = 6; |
| inline double double_value() const; |
| inline void set_double_value(double value); |
| |
| // optional bytes string_value = 7; |
| inline bool has_string_value() const; |
| inline void clear_string_value(); |
| static const int kStringValueFieldNumber = 7; |
| inline const ::std::string& string_value() const; |
| inline void set_string_value(const ::std::string& value); |
| inline void set_string_value(const char* value); |
| inline void set_string_value(const void* value, size_t size); |
| inline ::std::string* mutable_string_value(); |
| inline ::std::string* release_string_value(); |
| inline void set_allocated_string_value(::std::string* string_value); |
| |
| // optional string aggregate_value = 8; |
| inline bool has_aggregate_value() const; |
| inline void clear_aggregate_value(); |
| static const int kAggregateValueFieldNumber = 8; |
| inline const ::std::string& aggregate_value() const; |
| inline void set_aggregate_value(const ::std::string& value); |
| inline void set_aggregate_value(const char* value); |
| inline void set_aggregate_value(const char* value, size_t size); |
| inline ::std::string* mutable_aggregate_value(); |
| inline ::std::string* release_aggregate_value(); |
| inline void set_allocated_aggregate_value(::std::string* aggregate_value); |
| |
| // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
| private: |
| inline void set_has_identifier_value(); |
| inline void clear_has_identifier_value(); |
| inline void set_has_positive_int_value(); |
| inline void clear_has_positive_int_value(); |
| inline void set_has_negative_int_value(); |
| inline void clear_has_negative_int_value(); |
| inline void set_has_double_value(); |
| inline void clear_has_double_value(); |
| inline void set_has_string_value(); |
| inline void clear_has_string_value(); |
| inline void set_has_aggregate_value(); |
| inline void clear_has_aggregate_value(); |
| |
| ::google::protobuf::UnknownFieldSet _unknown_fields_; |
| |
| ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_; |
| ::std::string* identifier_value_; |
| ::google::protobuf::uint64 positive_int_value_; |
| ::google::protobuf::int64 negative_int_value_; |
| double double_value_; |
| ::std::string* string_value_; |
| ::std::string* aggregate_value_; |
| |
| mutable int _cached_size_; |
| ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| |
| friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
| friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto(); |
| |
| void InitAsDefaultInstance(); |
| static UninterpretedOption* default_instance_; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message { |
| public: |
| SourceCodeInfo_Location(); |
| virtual ~SourceCodeInfo_Location(); |
| |
| SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
| |
| inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| |
| inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| return _unknown_fields_; |
| } |
| |
| inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| return &_unknown_fields_; |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor(); |
| static const SourceCodeInfo_Location& default_instance(); |
| |
| void Swap(SourceCodeInfo_Location* other); |
| |
| // implements Message ---------------------------------------------- |
|