/* This file is autogenerated. DO NOT CHANGE. All changes will be lost */ #ifndef API_QPB_H #define API_QPB_H #include "google/protobuf/source_context.qpb.h" #include "google/protobuf/type.qpb.h" #include "protobufwellknowntypes_exports.qpb.h" #include #include #include #include #include #include #include #include #include namespace google::protobuf { class Api; namespace Api_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace Api_QtProtobufNested class Method; namespace Method_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace Method_QtProtobufNested class Mixin; namespace Mixin_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace Mixin_QtProtobufNested #ifdef QT_USE_PROTOBUF_LIST_ALIASES using ApiRepeated = QList; using MethodRepeated = QList; using MixinRepeated = QList; #endif // QT_USE_PROTOBUF_LIST_ALIASES class Api_QtProtobufData; class Api : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QString name READ name WRITE setName SCRIPTABLE true) Q_PROPERTY(QList methodsData READ methods WRITE setMethods SCRIPTABLE true) Q_PROPERTY(QList optionsData READ options WRITE setOptions SCRIPTABLE true) Q_PROPERTY(QString version READ version WRITE setVersion SCRIPTABLE true) Q_PROPERTY(google::protobuf::SourceContext *sourceContext_p READ sourceContext_p WRITE setSourceContext_p SCRIPTABLE false) Q_PROPERTY(bool hasSourceContext READ hasSourceContext) Q_PROPERTY(QList mixinsData READ mixins WRITE setMixins SCRIPTABLE true) Q_PROPERTY(google::protobuf::SyntaxGadget::Syntax syntax READ syntax WRITE setSyntax SCRIPTABLE true) Q_PROPERTY(QString edition READ edition WRITE setEdition SCRIPTABLE true) public: using QtProtobufFieldEnum = Api_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Api(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~Api(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Api(const Api &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Api &operator =(const Api &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Api(Api &&other) noexcept; Api &operator =(Api &&other) noexcept { swap(other); return *this; } void swap(Api &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT const QString &name() const &; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT const QList &methods() const &; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT const QList