Revision control

+ /* This file is autogenerated. DO NOT CHANGE. All changes will be lost */
+
+ #ifndef PROTOC2_GROUP_FIELDS_QPB_H
+ #define PROTOC2_GROUP_FIELDS_QPB_H
+
+ #include <QtProtobuf/qprotobuflazymessagepointer.h>
+ #include <QtProtobuf/qprotobufmessage.h>
+ #include <QtProtobuf/qprotobufobject.h>
+ #include <QtProtobuf/qtprotobuftypes.h>
+
+ #include <QtCore/qbytearray.h>
+ #include <QtCore/qlist.h>
+ #include <QtCore/qmetatype.h>
+ #include <QtCore/qshareddata.h>
+ #include <QtCore/qstring.h>
+
+ #include <optional>
+
+ class GroupFieldMessage;
+ namespace GroupFieldMessage_QtProtobufNested {
+ enum class QtProtobufFieldEnum;
+ class SkippedGroup;
+ namespace SkippedGroup_QtProtobufNested {
+ enum class QtProtobufFieldEnum;
+ } // namespace SkippedGroup_QtProtobufNested
+
+ } // namespace GroupFieldMessage_QtProtobufNested
+
+ #ifdef QT_USE_PROTOBUF_LIST_ALIASES
+ using GroupFieldMessageRepeated = QList<GroupFieldMessage>;
+ #endif // QT_USE_PROTOBUF_LIST_ALIASES
+
+ class GroupFieldMessage_QtProtobufData;
+ class GroupFieldMessage final : public QProtobufMessage
+ {
+ Q_PROTOBUF_OBJECT
+ Q_PROPERTY(bool beforeGroup READ beforeGroup_p WRITE setBeforeGroup_p FINAL)
+ Q_PROPERTY(bool hasBeforeGroup READ hasBeforeGroup FINAL)
+ Q_PROPERTY(bool afterGroup READ afterGroup_p WRITE setAfterGroup_p FINAL)
+ Q_PROPERTY(bool hasAfterGroup READ hasAfterGroup FINAL)
+
+ public:
+ using QtProtobufFieldEnum = GroupFieldMessage_QtProtobufNested::QtProtobufFieldEnum;
+ using SkippedGroup = GroupFieldMessage_QtProtobufNested::SkippedGroup;
+ GroupFieldMessage();
+ ~GroupFieldMessage();
+ GroupFieldMessage(const GroupFieldMessage &other);
+ GroupFieldMessage &operator =(const GroupFieldMessage &other);
+ GroupFieldMessage(GroupFieldMessage &&other) noexcept;
+ GroupFieldMessage &operator =(GroupFieldMessage &&other) noexcept
+ {
+ swap(other);
+ return *this;
+ }
+ void swap(GroupFieldMessage &other) noexcept
+ {
+ QProtobufMessage::swap(other);
+ dptr.swap(other.dptr);
+ }
+ Q_IMPLICIT operator QVariant() const;
+
+ bool hasBeforeGroup() const;
+ bool beforeGroup() const;
+
+ bool hasAfterGroup() const;
+ bool afterGroup() const;
+ void setBeforeGroup(bool beforeGroup);
+ void clearBeforeGroup();
+ void setAfterGroup(bool afterGroup);
+ void clearAfterGroup();
+ static void registerTypes();
+
+ private:
+ friend bool comparesEqual(const GroupFieldMessage &lhs, const GroupFieldMessage &rhs) noexcept;
+ friend bool operator==(const GroupFieldMessage &lhs, const GroupFieldMessage &rhs) noexcept
+ {
+ return comparesEqual(lhs, rhs);
+ }
+ friend bool operator!=(const GroupFieldMessage &lhs, const GroupFieldMessage &rhs) noexcept
+ {
+ return !comparesEqual(lhs, rhs);
+ }
+ bool beforeGroup_p() const;
+ bool afterGroup_p() const;
+ void setBeforeGroup_p(bool beforeGroup);
+ void setAfterGroup_p(bool afterGroup);
+ QExplicitlySharedDataPointer<GroupFieldMessage_QtProtobufData> dptr;
+ };
+ namespace GroupFieldMessage_QtProtobufNested {
+ Q_NAMESPACE
+
+ enum class QtProtobufFieldEnum {
+ BeforeGroupProtoFieldNumber = 1,
+ AfterGroupProtoFieldNumber = 4,
+ };
+ Q_ENUM_NS(QtProtobufFieldEnum)
+
+
+ class SkippedGroup_QtProtobufData;
+ class SkippedGroup final : public QProtobufMessage
+ {
+ Q_PROTOBUF_OBJECT
+ Q_PROPERTY(bool groupMember READ groupMember_p WRITE setGroupMember_p FINAL)
+ Q_PROPERTY(bool hasGroupMember READ hasGroupMember FINAL)
+
+ public:
+ using QtProtobufFieldEnum = SkippedGroup_QtProtobufNested::QtProtobufFieldEnum;
+ SkippedGroup();
+ ~SkippedGroup();
+ SkippedGroup(const SkippedGroup &other);
+ SkippedGroup &operator =(const SkippedGroup &other);
+ SkippedGroup(SkippedGroup &&other) noexcept;
+ SkippedGroup &operator =(SkippedGroup &&other) noexcept
+ {
+ swap(other);
+ return *this;
+ }
+ void swap(SkippedGroup &other) noexcept
+ {
+ QProtobufMessage::swap(other);
+ dptr.swap(other.dptr);
+ }
+ Q_IMPLICIT operator QVariant() const;
+
+ bool hasGroupMember() const;
+ bool groupMember() const;
+ void setGroupMember(bool groupMember);
+ void clearGroupMember();
+ static void registerTypes();
+
+ private:
+ friend bool comparesEqual(const SkippedGroup &lhs, const SkippedGroup &rhs) noexcept;
+ friend bool operator==(const SkippedGroup &lhs, const SkippedGroup &rhs) noexcept
+ {
+ return comparesEqual(lhs, rhs);
+ }
+ friend bool operator!=(const SkippedGroup &lhs, const SkippedGroup &rhs) noexcept
+ {
+ return !comparesEqual(lhs, rhs);
+ }
+ bool groupMember_p() const;
+ void setGroupMember_p(bool groupMember);
+ QExplicitlySharedDataPointer<SkippedGroup_QtProtobufData> dptr;
+ };
+ namespace SkippedGroup_QtProtobufNested {
+ Q_NAMESPACE
+
+ enum class QtProtobufFieldEnum {
+ GroupMemberProtoFieldNumber = 3,
+ };
+ Q_ENUM_NS(QtProtobufFieldEnum)
+
+ } // namespace SkippedGroup_QtProtobufNested
+ } // namespace GroupFieldMessage_QtProtobufNested
+
+ #endif // PROTOC2_GROUP_FIELDS_QPB_H