| | |
| | | #include <string> |
| | | |
| | | #include <google/protobuf/port_def.inc> |
| | | #if PROTOBUF_VERSION < 3010000 |
| | | #if PROTOBUF_VERSION < 3017000 |
| | | #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 3010000 < PROTOBUF_MIN_PROTOC_VERSION |
| | | #if 3017000 < 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. |
| | |
| | | #include <google/protobuf/arenastring.h> |
| | | #include <google/protobuf/generated_message_table_driven.h> |
| | | #include <google/protobuf/generated_message_util.h> |
| | | #include <google/protobuf/inlined_string_field.h> |
| | | #include <google/protobuf/metadata.h> |
| | | #include <google/protobuf/metadata_lite.h> |
| | | #include <google/protobuf/generated_message_reflection.h> |
| | | #include <google/protobuf/message.h> |
| | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| | |
| | | struct TableStruct_protomsg_2eproto { |
| | | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
| | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| | | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
| | | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] |
| | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| | | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] |
| | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| | |
| | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protomsg_2eproto; |
| | | namespace protomsg { |
| | | class Image; |
| | | class ImageDefaultTypeInternal; |
| | | struct ImageDefaultTypeInternal; |
| | | extern ImageDefaultTypeInternal _Image_default_instance_; |
| | | class Rect; |
| | | class RectDefaultTypeInternal; |
| | | struct RectDefaultTypeInternal; |
| | | extern RectDefaultTypeInternal _Rect_default_instance_; |
| | | class RuleMessage; |
| | | class RuleMessageDefaultTypeInternal; |
| | | struct RuleMessageDefaultTypeInternal; |
| | | extern RuleMessageDefaultTypeInternal _RuleMessage_default_instance_; |
| | | class SDKMessage; |
| | | class SDKMessageDefaultTypeInternal; |
| | | struct SDKMessageDefaultTypeInternal; |
| | | extern SDKMessageDefaultTypeInternal _SDKMessage_default_instance_; |
| | | class Target; |
| | | class TargetDefaultTypeInternal; |
| | | struct TargetDefaultTypeInternal; |
| | | extern TargetDefaultTypeInternal _Target_default_instance_; |
| | | } // namespace protomsg |
| | | PROTOBUF_NAMESPACE_OPEN |
| | |
| | | |
| | | // =================================================================== |
| | | |
| | | class Image : |
| | | class Image final : |
| | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protomsg.Image) */ { |
| | | public: |
| | | Image(); |
| | | virtual ~Image(); |
| | | inline Image() : Image(nullptr) {} |
| | | ~Image() override; |
| | | explicit constexpr Image(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| | | |
| | | Image(const Image& from); |
| | | Image(Image&& from) noexcept |
| | |
| | | return *this; |
| | | } |
| | | inline Image& operator=(Image&& from) noexcept { |
| | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| | | if (this != &from) InternalSwap(&from); |
| | | if (this == &from) return *this; |
| | | if (GetOwningArena() == from.GetOwningArena()) { |
| | | InternalSwap(&from); |
| | | } else { |
| | | CopyFrom(from); |
| | | } |
| | |
| | | return GetDescriptor(); |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| | | return GetMetadataStatic().descriptor; |
| | | return default_instance().GetMetadata().descriptor; |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| | | return GetMetadataStatic().reflection; |
| | | return default_instance().GetMetadata().reflection; |
| | | } |
| | | static const Image& default_instance(); |
| | | |
| | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| | | static const Image& default_instance() { |
| | | return *internal_default_instance(); |
| | | } |
| | | static inline const Image* internal_default_instance() { |
| | | return reinterpret_cast<const Image*>( |
| | | &_Image_default_instance_); |
| | |
| | | } |
| | | inline void Swap(Image* other) { |
| | | if (other == this) return; |
| | | if (GetOwningArena() == other->GetOwningArena()) { |
| | | InternalSwap(other); |
| | | } else { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| | | } |
| | | } |
| | | void UnsafeArenaSwap(Image* other) { |
| | | if (other == this) return; |
| | | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| | | InternalSwap(other); |
| | | } |
| | | |
| | | // implements Message ---------------------------------------------- |
| | | |
| | | inline Image* New() const final { |
| | | return CreateMaybeMessage<Image>(nullptr); |
| | | return new Image(); |
| | | } |
| | | |
| | | Image* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| | |
| | | |
| | | size_t ByteSizeLong() const final; |
| | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| | | int GetCachedSize() const final { return _cached_size_.Get(); } |
| | | |
| | | private: |
| | | inline void SharedCtor(); |
| | | inline void SharedDtor(); |
| | | void SharedCtor(); |
| | | void SharedDtor(); |
| | | void SetCachedSize(int size) const final; |
| | | void InternalSwap(Image* other); |
| | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| | | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| | | return "protomsg.Image"; |
| | | } |
| | | protected: |
| | | explicit Image(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | private: |
| | | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
| | | return nullptr; |
| | | } |
| | | inline void* MaybeArenaPtr() const { |
| | | return nullptr; |
| | | } |
| | | static void ArenaDtor(void* object); |
| | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | public: |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| | | private: |
| | | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protomsg_2eproto); |
| | | return ::descriptor_table_protomsg_2eproto.file_level_metadata[kIndexInFileMessages]; |
| | | } |
| | | |
| | | public: |
| | | |
| | | // nested types ---------------------------------------------------- |
| | | |
| | |
| | | // bytes data = 3; |
| | | void clear_data(); |
| | | const std::string& data() const; |
| | | void set_data(const std::string& value); |
| | | void set_data(std::string&& value); |
| | | void set_data(const char* value); |
| | | void set_data(const void* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_data(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_data(); |
| | | std::string* release_data(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_data(); |
| | | void set_allocated_data(std::string* data); |
| | | private: |
| | | const std::string& _internal_data() const; |
| | | void _internal_set_data(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); |
| | | std::string* _internal_mutable_data(); |
| | | public: |
| | | |
| | | // string timestamp = 4; |
| | | void clear_timestamp(); |
| | | const std::string& timestamp() const; |
| | | void set_timestamp(const std::string& value); |
| | | void set_timestamp(std::string&& value); |
| | | void set_timestamp(const char* value); |
| | | void set_timestamp(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_timestamp(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_timestamp(); |
| | | std::string* release_timestamp(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_timestamp(); |
| | | void set_allocated_timestamp(std::string* timestamp); |
| | | private: |
| | | const std::string& _internal_timestamp() const; |
| | | void _internal_set_timestamp(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_timestamp(const std::string& value); |
| | | std::string* _internal_mutable_timestamp(); |
| | | public: |
| | | |
| | | // string cid = 6; |
| | | void clear_cid(); |
| | | const std::string& cid() const; |
| | | void set_cid(const std::string& value); |
| | | void set_cid(std::string&& value); |
| | | void set_cid(const char* value); |
| | | void set_cid(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_cid(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_cid(); |
| | | std::string* release_cid(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_cid(); |
| | | void set_allocated_cid(std::string* cid); |
| | | private: |
| | | const std::string& _internal_cid() const; |
| | | void _internal_set_cid(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_cid(const std::string& value); |
| | | std::string* _internal_mutable_cid(); |
| | | public: |
| | | |
| | | // string cname = 7; |
| | | void clear_cname(); |
| | | const std::string& cname() const; |
| | | void set_cname(const std::string& value); |
| | | void set_cname(std::string&& value); |
| | | void set_cname(const char* value); |
| | | void set_cname(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_cname(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_cname(); |
| | | std::string* release_cname(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_cname(); |
| | | void set_allocated_cname(std::string* cname); |
| | | private: |
| | | const std::string& _internal_cname() const; |
| | | void _internal_set_cname(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_cname(const std::string& value); |
| | | std::string* _internal_mutable_cname(); |
| | | public: |
| | | |
| | |
| | | private: |
| | | class _Internal; |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
| | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| | | typedef void InternalArenaConstructable_; |
| | | typedef void DestructorSkippable_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timestamp_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cid_; |
| | |
| | | }; |
| | | // ------------------------------------------------------------------- |
| | | |
| | | class Rect : |
| | | class Rect final : |
| | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protomsg.Rect) */ { |
| | | public: |
| | | Rect(); |
| | | virtual ~Rect(); |
| | | inline Rect() : Rect(nullptr) {} |
| | | ~Rect() override; |
| | | explicit constexpr Rect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| | | |
| | | Rect(const Rect& from); |
| | | Rect(Rect&& from) noexcept |
| | |
| | | return *this; |
| | | } |
| | | inline Rect& operator=(Rect&& from) noexcept { |
| | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| | | if (this != &from) InternalSwap(&from); |
| | | if (this == &from) return *this; |
| | | if (GetOwningArena() == from.GetOwningArena()) { |
| | | InternalSwap(&from); |
| | | } else { |
| | | CopyFrom(from); |
| | | } |
| | |
| | | return GetDescriptor(); |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| | | return GetMetadataStatic().descriptor; |
| | | return default_instance().GetMetadata().descriptor; |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| | | return GetMetadataStatic().reflection; |
| | | return default_instance().GetMetadata().reflection; |
| | | } |
| | | static const Rect& default_instance(); |
| | | |
| | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| | | static const Rect& default_instance() { |
| | | return *internal_default_instance(); |
| | | } |
| | | static inline const Rect* internal_default_instance() { |
| | | return reinterpret_cast<const Rect*>( |
| | | &_Rect_default_instance_); |
| | |
| | | } |
| | | inline void Swap(Rect* other) { |
| | | if (other == this) return; |
| | | if (GetOwningArena() == other->GetOwningArena()) { |
| | | InternalSwap(other); |
| | | } else { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| | | } |
| | | } |
| | | void UnsafeArenaSwap(Rect* other) { |
| | | if (other == this) return; |
| | | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| | | InternalSwap(other); |
| | | } |
| | | |
| | | // implements Message ---------------------------------------------- |
| | | |
| | | inline Rect* New() const final { |
| | | return CreateMaybeMessage<Rect>(nullptr); |
| | | return new Rect(); |
| | | } |
| | | |
| | | Rect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| | |
| | | |
| | | size_t ByteSizeLong() const final; |
| | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| | | int GetCachedSize() const final { return _cached_size_.Get(); } |
| | | |
| | | private: |
| | | inline void SharedCtor(); |
| | | inline void SharedDtor(); |
| | | void SharedCtor(); |
| | | void SharedDtor(); |
| | | void SetCachedSize(int size) const final; |
| | | void InternalSwap(Rect* other); |
| | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| | | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| | | return "protomsg.Rect"; |
| | | } |
| | | protected: |
| | | explicit Rect(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | private: |
| | | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
| | | return nullptr; |
| | | } |
| | | inline void* MaybeArenaPtr() const { |
| | | return nullptr; |
| | | } |
| | | static void ArenaDtor(void* object); |
| | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | public: |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| | | private: |
| | | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protomsg_2eproto); |
| | | return ::descriptor_table_protomsg_2eproto.file_level_metadata[kIndexInFileMessages]; |
| | | } |
| | | |
| | | public: |
| | | |
| | | // nested types ---------------------------------------------------- |
| | | |
| | |
| | | private: |
| | | class _Internal; |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
| | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| | | typedef void InternalArenaConstructable_; |
| | | typedef void DestructorSkippable_; |
| | | ::PROTOBUF_NAMESPACE_ID::int32 left_; |
| | | ::PROTOBUF_NAMESPACE_ID::int32 top_; |
| | | ::PROTOBUF_NAMESPACE_ID::int32 right_; |
| | |
| | | }; |
| | | // ------------------------------------------------------------------- |
| | | |
| | | class Target : |
| | | class Target final : |
| | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protomsg.Target) */ { |
| | | public: |
| | | Target(); |
| | | virtual ~Target(); |
| | | inline Target() : Target(nullptr) {} |
| | | ~Target() override; |
| | | explicit constexpr Target(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| | | |
| | | Target(const Target& from); |
| | | Target(Target&& from) noexcept |
| | |
| | | return *this; |
| | | } |
| | | inline Target& operator=(Target&& from) noexcept { |
| | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| | | if (this != &from) InternalSwap(&from); |
| | | if (this == &from) return *this; |
| | | if (GetOwningArena() == from.GetOwningArena()) { |
| | | InternalSwap(&from); |
| | | } else { |
| | | CopyFrom(from); |
| | | } |
| | |
| | | return GetDescriptor(); |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| | | return GetMetadataStatic().descriptor; |
| | | return default_instance().GetMetadata().descriptor; |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| | | return GetMetadataStatic().reflection; |
| | | return default_instance().GetMetadata().reflection; |
| | | } |
| | | static const Target& default_instance(); |
| | | |
| | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| | | static const Target& default_instance() { |
| | | return *internal_default_instance(); |
| | | } |
| | | static inline const Target* internal_default_instance() { |
| | | return reinterpret_cast<const Target*>( |
| | | &_Target_default_instance_); |
| | |
| | | } |
| | | inline void Swap(Target* other) { |
| | | if (other == this) return; |
| | | if (GetOwningArena() == other->GetOwningArena()) { |
| | | InternalSwap(other); |
| | | } else { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| | | } |
| | | } |
| | | void UnsafeArenaSwap(Target* other) { |
| | | if (other == this) return; |
| | | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| | | InternalSwap(other); |
| | | } |
| | | |
| | | // implements Message ---------------------------------------------- |
| | | |
| | | inline Target* New() const final { |
| | | return CreateMaybeMessage<Target>(nullptr); |
| | | return new Target(); |
| | | } |
| | | |
| | | Target* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| | |
| | | |
| | | size_t ByteSizeLong() const final; |
| | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| | | int GetCachedSize() const final { return _cached_size_.Get(); } |
| | | |
| | | private: |
| | | inline void SharedCtor(); |
| | | inline void SharedDtor(); |
| | | void SharedCtor(); |
| | | void SharedDtor(); |
| | | void SetCachedSize(int size) const final; |
| | | void InternalSwap(Target* other); |
| | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| | | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| | | return "protomsg.Target"; |
| | | } |
| | | protected: |
| | | explicit Target(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | private: |
| | | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
| | | return nullptr; |
| | | } |
| | | inline void* MaybeArenaPtr() const { |
| | | return nullptr; |
| | | } |
| | | static void ArenaDtor(void* object); |
| | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | public: |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| | | private: |
| | | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protomsg_2eproto); |
| | | return ::descriptor_table_protomsg_2eproto.file_level_metadata[kIndexInFileMessages]; |
| | | } |
| | | |
| | | public: |
| | | |
| | | // nested types ---------------------------------------------------- |
| | | |
| | |
| | | // string type = 2; |
| | | void clear_type(); |
| | | const std::string& type() const; |
| | | void set_type(const std::string& value); |
| | | void set_type(std::string&& value); |
| | | void set_type(const char* value); |
| | | void set_type(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_type(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_type(); |
| | | std::string* release_type(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_type(); |
| | | void set_allocated_type(std::string* type); |
| | | private: |
| | | const std::string& _internal_type() const; |
| | | void _internal_set_type(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); |
| | | std::string* _internal_mutable_type(); |
| | | public: |
| | | |
| | | // bytes feature = 5; |
| | | void clear_feature(); |
| | | const std::string& feature() const; |
| | | void set_feature(const std::string& value); |
| | | void set_feature(std::string&& value); |
| | | void set_feature(const char* value); |
| | | void set_feature(const void* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_feature(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_feature(); |
| | | std::string* release_feature(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_feature(); |
| | | void set_allocated_feature(std::string* feature); |
| | | private: |
| | | const std::string& _internal_feature() const; |
| | | void _internal_set_feature(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_feature(const std::string& value); |
| | | std::string* _internal_mutable_feature(); |
| | | public: |
| | | |
| | | // bytes attribute = 6; |
| | | void clear_attribute(); |
| | | const std::string& attribute() const; |
| | | void set_attribute(const std::string& value); |
| | | void set_attribute(std::string&& value); |
| | | void set_attribute(const char* value); |
| | | void set_attribute(const void* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_attribute(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_attribute(); |
| | | std::string* release_attribute(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_attribute(); |
| | | void set_allocated_attribute(std::string* attribute); |
| | | private: |
| | | const std::string& _internal_attribute() const; |
| | | void _internal_set_attribute(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_attribute(const std::string& value); |
| | | std::string* _internal_mutable_attribute(); |
| | | public: |
| | | |
| | |
| | | public: |
| | | void clear_rect(); |
| | | const ::protomsg::Rect& rect() const; |
| | | ::protomsg::Rect* release_rect(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT ::protomsg::Rect* release_rect(); |
| | | ::protomsg::Rect* mutable_rect(); |
| | | void set_allocated_rect(::protomsg::Rect* rect); |
| | | private: |
| | | const ::protomsg::Rect& _internal_rect() const; |
| | | ::protomsg::Rect* _internal_mutable_rect(); |
| | | public: |
| | | void unsafe_arena_set_allocated_rect( |
| | | ::protomsg::Rect* rect); |
| | | ::protomsg::Rect* unsafe_arena_release_rect(); |
| | | |
| | | // uint64 id = 1; |
| | | void clear_id(); |
| | |
| | | private: |
| | | class _Internal; |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
| | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| | | typedef void InternalArenaConstructable_; |
| | | typedef void DestructorSkippable_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr feature_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attribute_; |
| | |
| | | }; |
| | | // ------------------------------------------------------------------- |
| | | |
| | | class SDKMessage : |
| | | class SDKMessage final : |
| | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protomsg.SDKMessage) */ { |
| | | public: |
| | | SDKMessage(); |
| | | virtual ~SDKMessage(); |
| | | inline SDKMessage() : SDKMessage(nullptr) {} |
| | | ~SDKMessage() override; |
| | | explicit constexpr SDKMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| | | |
| | | SDKMessage(const SDKMessage& from); |
| | | SDKMessage(SDKMessage&& from) noexcept |
| | |
| | | return *this; |
| | | } |
| | | inline SDKMessage& operator=(SDKMessage&& from) noexcept { |
| | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| | | if (this != &from) InternalSwap(&from); |
| | | if (this == &from) return *this; |
| | | if (GetOwningArena() == from.GetOwningArena()) { |
| | | InternalSwap(&from); |
| | | } else { |
| | | CopyFrom(from); |
| | | } |
| | |
| | | return GetDescriptor(); |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| | | return GetMetadataStatic().descriptor; |
| | | return default_instance().GetMetadata().descriptor; |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| | | return GetMetadataStatic().reflection; |
| | | return default_instance().GetMetadata().reflection; |
| | | } |
| | | static const SDKMessage& default_instance(); |
| | | |
| | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| | | static const SDKMessage& default_instance() { |
| | | return *internal_default_instance(); |
| | | } |
| | | static inline const SDKMessage* internal_default_instance() { |
| | | return reinterpret_cast<const SDKMessage*>( |
| | | &_SDKMessage_default_instance_); |
| | |
| | | } |
| | | inline void Swap(SDKMessage* other) { |
| | | if (other == this) return; |
| | | if (GetOwningArena() == other->GetOwningArena()) { |
| | | InternalSwap(other); |
| | | } else { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| | | } |
| | | } |
| | | void UnsafeArenaSwap(SDKMessage* other) { |
| | | if (other == this) return; |
| | | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| | | InternalSwap(other); |
| | | } |
| | | |
| | | // implements Message ---------------------------------------------- |
| | | |
| | | inline SDKMessage* New() const final { |
| | | return CreateMaybeMessage<SDKMessage>(nullptr); |
| | | return new SDKMessage(); |
| | | } |
| | | |
| | | SDKMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| | |
| | | |
| | | size_t ByteSizeLong() const final; |
| | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| | | int GetCachedSize() const final { return _cached_size_.Get(); } |
| | | |
| | | private: |
| | | inline void SharedCtor(); |
| | | inline void SharedDtor(); |
| | | void SharedCtor(); |
| | | void SharedDtor(); |
| | | void SetCachedSize(int size) const final; |
| | | void InternalSwap(SDKMessage* other); |
| | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| | | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| | | return "protomsg.SDKMessage"; |
| | | } |
| | | protected: |
| | | explicit SDKMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | private: |
| | | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
| | | return nullptr; |
| | | } |
| | | inline void* MaybeArenaPtr() const { |
| | | return nullptr; |
| | | } |
| | | static void ArenaDtor(void* object); |
| | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | public: |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| | | private: |
| | | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protomsg_2eproto); |
| | | return ::descriptor_table_protomsg_2eproto.file_level_metadata[kIndexInFileMessages]; |
| | | } |
| | | |
| | | public: |
| | | |
| | | // nested types ---------------------------------------------------- |
| | | |
| | |
| | | // string sdkID = 1; |
| | | void clear_sdkid(); |
| | | const std::string& sdkid() const; |
| | | void set_sdkid(const std::string& value); |
| | | void set_sdkid(std::string&& value); |
| | | void set_sdkid(const char* value); |
| | | void set_sdkid(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_sdkid(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_sdkid(); |
| | | std::string* release_sdkid(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_sdkid(); |
| | | void set_allocated_sdkid(std::string* sdkid); |
| | | private: |
| | | const std::string& _internal_sdkid() const; |
| | | void _internal_set_sdkid(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdkid(const std::string& value); |
| | | std::string* _internal_mutable_sdkid(); |
| | | public: |
| | | |
| | | // string sdkType = 2; |
| | | void clear_sdktype(); |
| | | const std::string& sdktype() const; |
| | | void set_sdktype(const std::string& value); |
| | | void set_sdktype(std::string&& value); |
| | | void set_sdktype(const char* value); |
| | | void set_sdktype(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_sdktype(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_sdktype(); |
| | | std::string* release_sdktype(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_sdktype(); |
| | | void set_allocated_sdktype(std::string* sdktype); |
| | | private: |
| | | const std::string& _internal_sdktype() const; |
| | | void _internal_set_sdktype(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdktype(const std::string& value); |
| | | std::string* _internal_mutable_sdktype(); |
| | | public: |
| | | |
| | | // string sdkName = 3; |
| | | void clear_sdkname(); |
| | | const std::string& sdkname() const; |
| | | void set_sdkname(const std::string& value); |
| | | void set_sdkname(std::string&& value); |
| | | void set_sdkname(const char* value); |
| | | void set_sdkname(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_sdkname(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_sdkname(); |
| | | std::string* release_sdkname(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_sdkname(); |
| | | void set_allocated_sdkname(std::string* sdkname); |
| | | private: |
| | | const std::string& _internal_sdkname() const; |
| | | void _internal_set_sdkname(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdkname(const std::string& value); |
| | | std::string* _internal_mutable_sdkname(); |
| | | public: |
| | | |
| | | // string timestamp = 5; |
| | | void clear_timestamp(); |
| | | const std::string& timestamp() const; |
| | | void set_timestamp(const std::string& value); |
| | | void set_timestamp(std::string&& value); |
| | | void set_timestamp(const char* value); |
| | | void set_timestamp(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_timestamp(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_timestamp(); |
| | | std::string* release_timestamp(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_timestamp(); |
| | | void set_allocated_timestamp(std::string* timestamp); |
| | | private: |
| | | const std::string& _internal_timestamp() const; |
| | | void _internal_set_timestamp(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_timestamp(const std::string& value); |
| | | std::string* _internal_mutable_timestamp(); |
| | | public: |
| | | |
| | |
| | | private: |
| | | class _Internal; |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
| | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| | | typedef void InternalArenaConstructable_; |
| | | typedef void DestructorSkippable_; |
| | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protomsg::Target > target_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdkid_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdktype_; |
| | |
| | | }; |
| | | // ------------------------------------------------------------------- |
| | | |
| | | class RuleMessage : |
| | | class RuleMessage final : |
| | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protomsg.RuleMessage) */ { |
| | | public: |
| | | RuleMessage(); |
| | | virtual ~RuleMessage(); |
| | | inline RuleMessage() : RuleMessage(nullptr) {} |
| | | ~RuleMessage() override; |
| | | explicit constexpr RuleMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| | | |
| | | RuleMessage(const RuleMessage& from); |
| | | RuleMessage(RuleMessage&& from) noexcept |
| | |
| | | return *this; |
| | | } |
| | | inline RuleMessage& operator=(RuleMessage&& from) noexcept { |
| | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| | | if (this != &from) InternalSwap(&from); |
| | | if (this == &from) return *this; |
| | | if (GetOwningArena() == from.GetOwningArena()) { |
| | | InternalSwap(&from); |
| | | } else { |
| | | CopyFrom(from); |
| | | } |
| | |
| | | return GetDescriptor(); |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| | | return GetMetadataStatic().descriptor; |
| | | return default_instance().GetMetadata().descriptor; |
| | | } |
| | | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| | | return GetMetadataStatic().reflection; |
| | | return default_instance().GetMetadata().reflection; |
| | | } |
| | | static const RuleMessage& default_instance(); |
| | | |
| | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| | | static const RuleMessage& default_instance() { |
| | | return *internal_default_instance(); |
| | | } |
| | | static inline const RuleMessage* internal_default_instance() { |
| | | return reinterpret_cast<const RuleMessage*>( |
| | | &_RuleMessage_default_instance_); |
| | |
| | | } |
| | | inline void Swap(RuleMessage* other) { |
| | | if (other == this) return; |
| | | if (GetOwningArena() == other->GetOwningArena()) { |
| | | InternalSwap(other); |
| | | } else { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| | | } |
| | | } |
| | | void UnsafeArenaSwap(RuleMessage* other) { |
| | | if (other == this) return; |
| | | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| | | InternalSwap(other); |
| | | } |
| | | |
| | | // implements Message ---------------------------------------------- |
| | | |
| | | inline RuleMessage* New() const final { |
| | | return CreateMaybeMessage<RuleMessage>(nullptr); |
| | | return new RuleMessage(); |
| | | } |
| | | |
| | | RuleMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| | |
| | | |
| | | size_t ByteSizeLong() const final; |
| | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| | | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| | | int GetCachedSize() const final { return _cached_size_.Get(); } |
| | | |
| | | private: |
| | | inline void SharedCtor(); |
| | | inline void SharedDtor(); |
| | | void SharedCtor(); |
| | | void SharedDtor(); |
| | | void SetCachedSize(int size) const final; |
| | | void InternalSwap(RuleMessage* other); |
| | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| | | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| | | return "protomsg.RuleMessage"; |
| | | } |
| | | protected: |
| | | explicit RuleMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | private: |
| | | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
| | | return nullptr; |
| | | } |
| | | inline void* MaybeArenaPtr() const { |
| | | return nullptr; |
| | | } |
| | | static void ArenaDtor(void* object); |
| | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| | | public: |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| | | private: |
| | | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
| | | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protomsg_2eproto); |
| | | return ::descriptor_table_protomsg_2eproto.file_level_metadata[kIndexInFileMessages]; |
| | | } |
| | | |
| | | public: |
| | | |
| | | // nested types ---------------------------------------------------- |
| | | |
| | |
| | | // string dataType = 1; |
| | | void clear_datatype(); |
| | | const std::string& datatype() const; |
| | | void set_datatype(const std::string& value); |
| | | void set_datatype(std::string&& value); |
| | | void set_datatype(const char* value); |
| | | void set_datatype(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_datatype(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_datatype(); |
| | | std::string* release_datatype(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_datatype(); |
| | | void set_allocated_datatype(std::string* datatype); |
| | | private: |
| | | const std::string& _internal_datatype() const; |
| | | void _internal_set_datatype(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_datatype(const std::string& value); |
| | | std::string* _internal_mutable_datatype(); |
| | | public: |
| | | |
| | | // string handleTrack = 2; |
| | | void clear_handletrack(); |
| | | const std::string& handletrack() const; |
| | | void set_handletrack(const std::string& value); |
| | | void set_handletrack(std::string&& value); |
| | | void set_handletrack(const char* value); |
| | | void set_handletrack(const char* value, size_t size); |
| | | template <typename ArgT0 = const std::string&, typename... ArgT> |
| | | void set_handletrack(ArgT0&& arg0, ArgT... args); |
| | | std::string* mutable_handletrack(); |
| | | std::string* release_handletrack(); |
| | | PROTOBUF_FUTURE_MUST_USE_RESULT std::string* release_handletrack(); |
| | | void set_allocated_handletrack(std::string* handletrack); |
| | | private: |
| | | const std::string& _internal_handletrack() const; |
| | | void _internal_set_handletrack(const std::string& value); |
| | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_handletrack(const std::string& value); |
| | | std::string* _internal_mutable_handletrack(); |
| | | public: |
| | | |
| | |
| | | private: |
| | | class _Internal; |
| | | |
| | | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
| | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| | | typedef void InternalArenaConstructable_; |
| | | typedef void DestructorSkippable_; |
| | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::protomsg::SDKMessage > message_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr datatype_; |
| | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr handletrack_; |
| | |
| | | |
| | | // bytes data = 3; |
| | | inline void Image::clear_data() { |
| | | data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | data_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Image::data() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Image.data) |
| | | return _internal_data(); |
| | | } |
| | | inline void Image::set_data(const std::string& value) { |
| | | _internal_set_data(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Image::set_data(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Image.data) |
| | | } |
| | | inline std::string* Image::mutable_data() { |
| | |
| | | return _internal_mutable_data(); |
| | | } |
| | | inline const std::string& Image::_internal_data() const { |
| | | return data_.GetNoArena(); |
| | | return data_.Get(); |
| | | } |
| | | inline void Image::_internal_set_data(const std::string& value) { |
| | | |
| | | data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Image::set_data(std::string&& value) { |
| | | |
| | | data_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Image.data) |
| | | } |
| | | inline void Image::set_data(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Image.data) |
| | | } |
| | | inline void Image::set_data(const void* value, size_t size) { |
| | | |
| | | data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Image.data) |
| | | data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::_internal_mutable_data() { |
| | | |
| | | return data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::release_data() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Image.data) |
| | | |
| | | return data_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Image::set_allocated_data(std::string* data) { |
| | | if (data != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data); |
| | | data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Image.data) |
| | | } |
| | | |
| | | // string timestamp = 4; |
| | | inline void Image::clear_timestamp() { |
| | | timestamp_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | timestamp_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Image::timestamp() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Image.timestamp) |
| | | return _internal_timestamp(); |
| | | } |
| | | inline void Image::set_timestamp(const std::string& value) { |
| | | _internal_set_timestamp(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Image::set_timestamp(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | timestamp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Image.timestamp) |
| | | } |
| | | inline std::string* Image::mutable_timestamp() { |
| | |
| | | return _internal_mutable_timestamp(); |
| | | } |
| | | inline const std::string& Image::_internal_timestamp() const { |
| | | return timestamp_.GetNoArena(); |
| | | return timestamp_.Get(); |
| | | } |
| | | inline void Image::_internal_set_timestamp(const std::string& value) { |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Image::set_timestamp(std::string&& value) { |
| | | |
| | | timestamp_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Image.timestamp) |
| | | } |
| | | inline void Image::set_timestamp(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Image.timestamp) |
| | | } |
| | | inline void Image::set_timestamp(const char* value, size_t size) { |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Image.timestamp) |
| | | timestamp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::_internal_mutable_timestamp() { |
| | | |
| | | return timestamp_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return timestamp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::release_timestamp() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Image.timestamp) |
| | | |
| | | return timestamp_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return timestamp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Image::set_allocated_timestamp(std::string* timestamp) { |
| | | if (timestamp != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | timestamp_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), timestamp); |
| | | timestamp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), timestamp, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Image.timestamp) |
| | | } |
| | | |
| | | // int64 id = 5; |
| | | inline void Image::clear_id() { |
| | | id_ = PROTOBUF_LONGLONG(0); |
| | | id_ = int64_t{0}; |
| | | } |
| | | inline ::PROTOBUF_NAMESPACE_ID::int64 Image::_internal_id() const { |
| | | return id_; |
| | |
| | | |
| | | // string cid = 6; |
| | | inline void Image::clear_cid() { |
| | | cid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | cid_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Image::cid() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Image.cid) |
| | | return _internal_cid(); |
| | | } |
| | | inline void Image::set_cid(const std::string& value) { |
| | | _internal_set_cid(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Image::set_cid(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | cid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Image.cid) |
| | | } |
| | | inline std::string* Image::mutable_cid() { |
| | |
| | | return _internal_mutable_cid(); |
| | | } |
| | | inline const std::string& Image::_internal_cid() const { |
| | | return cid_.GetNoArena(); |
| | | return cid_.Get(); |
| | | } |
| | | inline void Image::_internal_set_cid(const std::string& value) { |
| | | |
| | | cid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Image::set_cid(std::string&& value) { |
| | | |
| | | cid_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Image.cid) |
| | | } |
| | | inline void Image::set_cid(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | cid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Image.cid) |
| | | } |
| | | inline void Image::set_cid(const char* value, size_t size) { |
| | | |
| | | cid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Image.cid) |
| | | cid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::_internal_mutable_cid() { |
| | | |
| | | return cid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return cid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::release_cid() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Image.cid) |
| | | |
| | | return cid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return cid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Image::set_allocated_cid(std::string* cid) { |
| | | if (cid != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | cid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cid); |
| | | cid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cid, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Image.cid) |
| | | } |
| | | |
| | | // string cname = 7; |
| | | inline void Image::clear_cname() { |
| | | cname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | cname_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Image::cname() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Image.cname) |
| | | return _internal_cname(); |
| | | } |
| | | inline void Image::set_cname(const std::string& value) { |
| | | _internal_set_cname(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Image::set_cname(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | cname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Image.cname) |
| | | } |
| | | inline std::string* Image::mutable_cname() { |
| | |
| | | return _internal_mutable_cname(); |
| | | } |
| | | inline const std::string& Image::_internal_cname() const { |
| | | return cname_.GetNoArena(); |
| | | return cname_.Get(); |
| | | } |
| | | inline void Image::_internal_set_cname(const std::string& value) { |
| | | |
| | | cname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Image::set_cname(std::string&& value) { |
| | | |
| | | cname_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Image.cname) |
| | | } |
| | | inline void Image::set_cname(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | cname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Image.cname) |
| | | } |
| | | inline void Image::set_cname(const char* value, size_t size) { |
| | | |
| | | cname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Image.cname) |
| | | cname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::_internal_mutable_cname() { |
| | | |
| | | return cname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return cname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Image::release_cname() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Image.cname) |
| | | |
| | | return cname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return cname_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Image::set_allocated_cname(std::string* cname) { |
| | | if (cname != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | cname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cname); |
| | | cname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cname, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Image.cname) |
| | | } |
| | | |
| | |
| | | |
| | | // uint64 id = 1; |
| | | inline void Target::clear_id() { |
| | | id_ = PROTOBUF_ULONGLONG(0); |
| | | id_ = uint64_t{0u}; |
| | | } |
| | | inline ::PROTOBUF_NAMESPACE_ID::uint64 Target::_internal_id() const { |
| | | return id_; |
| | |
| | | |
| | | // string type = 2; |
| | | inline void Target::clear_type() { |
| | | type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | type_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Target::type() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Target.type) |
| | | return _internal_type(); |
| | | } |
| | | inline void Target::set_type(const std::string& value) { |
| | | _internal_set_type(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Target::set_type(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Target.type) |
| | | } |
| | | inline std::string* Target::mutable_type() { |
| | |
| | | return _internal_mutable_type(); |
| | | } |
| | | inline const std::string& Target::_internal_type() const { |
| | | return type_.GetNoArena(); |
| | | return type_.Get(); |
| | | } |
| | | inline void Target::_internal_set_type(const std::string& value) { |
| | | |
| | | type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Target::set_type(std::string&& value) { |
| | | |
| | | type_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Target.type) |
| | | } |
| | | inline void Target::set_type(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Target.type) |
| | | } |
| | | inline void Target::set_type(const char* value, size_t size) { |
| | | |
| | | type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Target.type) |
| | | type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::_internal_mutable_type() { |
| | | |
| | | return type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::release_type() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Target.type) |
| | | |
| | | return type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Target::set_allocated_type(std::string* type) { |
| | | if (type != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type); |
| | | type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Target.type) |
| | | } |
| | | |
| | |
| | | return _internal_has_rect(); |
| | | } |
| | | inline void Target::clear_rect() { |
| | | if (GetArenaNoVirtual() == nullptr && rect_ != nullptr) { |
| | | if (GetArenaForAllocation() == nullptr && rect_ != nullptr) { |
| | | delete rect_; |
| | | } |
| | | rect_ = nullptr; |
| | | } |
| | | inline const ::protomsg::Rect& Target::_internal_rect() const { |
| | | const ::protomsg::Rect* p = rect_; |
| | | return p != nullptr ? *p : *reinterpret_cast<const ::protomsg::Rect*>( |
| | | &::protomsg::_Rect_default_instance_); |
| | | return p != nullptr ? *p : reinterpret_cast<const ::protomsg::Rect&>( |
| | | ::protomsg::_Rect_default_instance_); |
| | | } |
| | | inline const ::protomsg::Rect& Target::rect() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Target.rect) |
| | | return _internal_rect(); |
| | | } |
| | | inline void Target::unsafe_arena_set_allocated_rect( |
| | | ::protomsg::Rect* rect) { |
| | | if (GetArenaForAllocation() == nullptr) { |
| | | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(rect_); |
| | | } |
| | | rect_ = rect; |
| | | if (rect) { |
| | | |
| | | } else { |
| | | |
| | | } |
| | | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protomsg.Target.rect) |
| | | } |
| | | inline ::protomsg::Rect* Target::release_rect() { |
| | | |
| | | ::protomsg::Rect* temp = rect_; |
| | | rect_ = nullptr; |
| | | if (GetArenaForAllocation() != nullptr) { |
| | | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| | | } |
| | | return temp; |
| | | } |
| | | inline ::protomsg::Rect* Target::unsafe_arena_release_rect() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Target.rect) |
| | | |
| | | ::protomsg::Rect* temp = rect_; |
| | |
| | | inline ::protomsg::Rect* Target::_internal_mutable_rect() { |
| | | |
| | | if (rect_ == nullptr) { |
| | | auto* p = CreateMaybeMessage<::protomsg::Rect>(GetArenaNoVirtual()); |
| | | auto* p = CreateMaybeMessage<::protomsg::Rect>(GetArenaForAllocation()); |
| | | rect_ = p; |
| | | } |
| | | return rect_; |
| | |
| | | return _internal_mutable_rect(); |
| | | } |
| | | inline void Target::set_allocated_rect(::protomsg::Rect* rect) { |
| | | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
| | | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| | | if (message_arena == nullptr) { |
| | | delete rect_; |
| | | } |
| | | if (rect) { |
| | | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
| | | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| | | ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::protomsg::Rect>::GetOwningArena(rect); |
| | | if (message_arena != submessage_arena) { |
| | | rect = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| | | message_arena, rect, submessage_arena); |
| | |
| | | |
| | | // bytes feature = 5; |
| | | inline void Target::clear_feature() { |
| | | feature_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | feature_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Target::feature() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Target.feature) |
| | | return _internal_feature(); |
| | | } |
| | | inline void Target::set_feature(const std::string& value) { |
| | | _internal_set_feature(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Target::set_feature(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | feature_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Target.feature) |
| | | } |
| | | inline std::string* Target::mutable_feature() { |
| | |
| | | return _internal_mutable_feature(); |
| | | } |
| | | inline const std::string& Target::_internal_feature() const { |
| | | return feature_.GetNoArena(); |
| | | return feature_.Get(); |
| | | } |
| | | inline void Target::_internal_set_feature(const std::string& value) { |
| | | |
| | | feature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Target::set_feature(std::string&& value) { |
| | | |
| | | feature_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Target.feature) |
| | | } |
| | | inline void Target::set_feature(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | feature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Target.feature) |
| | | } |
| | | inline void Target::set_feature(const void* value, size_t size) { |
| | | |
| | | feature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Target.feature) |
| | | feature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::_internal_mutable_feature() { |
| | | |
| | | return feature_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return feature_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::release_feature() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Target.feature) |
| | | |
| | | return feature_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return feature_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Target::set_allocated_feature(std::string* feature) { |
| | | if (feature != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | feature_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), feature); |
| | | feature_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), feature, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Target.feature) |
| | | } |
| | | |
| | | // bytes attribute = 6; |
| | | inline void Target::clear_attribute() { |
| | | attribute_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | attribute_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& Target::attribute() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.Target.attribute) |
| | | return _internal_attribute(); |
| | | } |
| | | inline void Target::set_attribute(const std::string& value) { |
| | | _internal_set_attribute(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void Target::set_attribute(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | attribute_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.Target.attribute) |
| | | } |
| | | inline std::string* Target::mutable_attribute() { |
| | |
| | | return _internal_mutable_attribute(); |
| | | } |
| | | inline const std::string& Target::_internal_attribute() const { |
| | | return attribute_.GetNoArena(); |
| | | return attribute_.Get(); |
| | | } |
| | | inline void Target::_internal_set_attribute(const std::string& value) { |
| | | |
| | | attribute_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void Target::set_attribute(std::string&& value) { |
| | | |
| | | attribute_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.Target.attribute) |
| | | } |
| | | inline void Target::set_attribute(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | attribute_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.Target.attribute) |
| | | } |
| | | inline void Target::set_attribute(const void* value, size_t size) { |
| | | |
| | | attribute_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.Target.attribute) |
| | | attribute_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::_internal_mutable_attribute() { |
| | | |
| | | return attribute_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return attribute_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* Target::release_attribute() { |
| | | // @@protoc_insertion_point(field_release:protomsg.Target.attribute) |
| | | |
| | | return attribute_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return attribute_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void Target::set_allocated_attribute(std::string* attribute) { |
| | | if (attribute != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | attribute_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attribute); |
| | | attribute_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attribute, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.Target.attribute) |
| | | } |
| | | |
| | |
| | | |
| | | // string sdkID = 1; |
| | | inline void SDKMessage::clear_sdkid() { |
| | | sdkid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | sdkid_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& SDKMessage::sdkid() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.SDKMessage.sdkID) |
| | | return _internal_sdkid(); |
| | | } |
| | | inline void SDKMessage::set_sdkid(const std::string& value) { |
| | | _internal_set_sdkid(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void SDKMessage::set_sdkid(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | sdkid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.SDKMessage.sdkID) |
| | | } |
| | | inline std::string* SDKMessage::mutable_sdkid() { |
| | |
| | | return _internal_mutable_sdkid(); |
| | | } |
| | | inline const std::string& SDKMessage::_internal_sdkid() const { |
| | | return sdkid_.GetNoArena(); |
| | | return sdkid_.Get(); |
| | | } |
| | | inline void SDKMessage::_internal_set_sdkid(const std::string& value) { |
| | | |
| | | sdkid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void SDKMessage::set_sdkid(std::string&& value) { |
| | | |
| | | sdkid_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.SDKMessage.sdkID) |
| | | } |
| | | inline void SDKMessage::set_sdkid(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | sdkid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.SDKMessage.sdkID) |
| | | } |
| | | inline void SDKMessage::set_sdkid(const char* value, size_t size) { |
| | | |
| | | sdkid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.SDKMessage.sdkID) |
| | | sdkid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::_internal_mutable_sdkid() { |
| | | |
| | | return sdkid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdkid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::release_sdkid() { |
| | | // @@protoc_insertion_point(field_release:protomsg.SDKMessage.sdkID) |
| | | |
| | | return sdkid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdkid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void SDKMessage::set_allocated_sdkid(std::string* sdkid) { |
| | | if (sdkid != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | sdkid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdkid); |
| | | sdkid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdkid, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.SDKMessage.sdkID) |
| | | } |
| | | |
| | | // string sdkType = 2; |
| | | inline void SDKMessage::clear_sdktype() { |
| | | sdktype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | sdktype_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& SDKMessage::sdktype() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.SDKMessage.sdkType) |
| | | return _internal_sdktype(); |
| | | } |
| | | inline void SDKMessage::set_sdktype(const std::string& value) { |
| | | _internal_set_sdktype(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void SDKMessage::set_sdktype(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | sdktype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.SDKMessage.sdkType) |
| | | } |
| | | inline std::string* SDKMessage::mutable_sdktype() { |
| | |
| | | return _internal_mutable_sdktype(); |
| | | } |
| | | inline const std::string& SDKMessage::_internal_sdktype() const { |
| | | return sdktype_.GetNoArena(); |
| | | return sdktype_.Get(); |
| | | } |
| | | inline void SDKMessage::_internal_set_sdktype(const std::string& value) { |
| | | |
| | | sdktype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void SDKMessage::set_sdktype(std::string&& value) { |
| | | |
| | | sdktype_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.SDKMessage.sdkType) |
| | | } |
| | | inline void SDKMessage::set_sdktype(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | sdktype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.SDKMessage.sdkType) |
| | | } |
| | | inline void SDKMessage::set_sdktype(const char* value, size_t size) { |
| | | |
| | | sdktype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.SDKMessage.sdkType) |
| | | sdktype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::_internal_mutable_sdktype() { |
| | | |
| | | return sdktype_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdktype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::release_sdktype() { |
| | | // @@protoc_insertion_point(field_release:protomsg.SDKMessage.sdkType) |
| | | |
| | | return sdktype_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdktype_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void SDKMessage::set_allocated_sdktype(std::string* sdktype) { |
| | | if (sdktype != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | sdktype_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdktype); |
| | | sdktype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdktype, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.SDKMessage.sdkType) |
| | | } |
| | | |
| | | // string sdkName = 3; |
| | | inline void SDKMessage::clear_sdkname() { |
| | | sdkname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | sdkname_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& SDKMessage::sdkname() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.SDKMessage.sdkName) |
| | | return _internal_sdkname(); |
| | | } |
| | | inline void SDKMessage::set_sdkname(const std::string& value) { |
| | | _internal_set_sdkname(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void SDKMessage::set_sdkname(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | sdkname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.SDKMessage.sdkName) |
| | | } |
| | | inline std::string* SDKMessage::mutable_sdkname() { |
| | |
| | | return _internal_mutable_sdkname(); |
| | | } |
| | | inline const std::string& SDKMessage::_internal_sdkname() const { |
| | | return sdkname_.GetNoArena(); |
| | | return sdkname_.Get(); |
| | | } |
| | | inline void SDKMessage::_internal_set_sdkname(const std::string& value) { |
| | | |
| | | sdkname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void SDKMessage::set_sdkname(std::string&& value) { |
| | | |
| | | sdkname_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.SDKMessage.sdkName) |
| | | } |
| | | inline void SDKMessage::set_sdkname(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | sdkname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.SDKMessage.sdkName) |
| | | } |
| | | inline void SDKMessage::set_sdkname(const char* value, size_t size) { |
| | | |
| | | sdkname_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.SDKMessage.sdkName) |
| | | sdkname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::_internal_mutable_sdkname() { |
| | | |
| | | return sdkname_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdkname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::release_sdkname() { |
| | | // @@protoc_insertion_point(field_release:protomsg.SDKMessage.sdkName) |
| | | |
| | | return sdkname_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return sdkname_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void SDKMessage::set_allocated_sdkname(std::string* sdkname) { |
| | | if (sdkname != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | sdkname_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdkname); |
| | | sdkname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdkname, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.SDKMessage.sdkName) |
| | | } |
| | | |
| | |
| | | |
| | | // string timestamp = 5; |
| | | inline void SDKMessage::clear_timestamp() { |
| | | timestamp_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | timestamp_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& SDKMessage::timestamp() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.SDKMessage.timestamp) |
| | | return _internal_timestamp(); |
| | | } |
| | | inline void SDKMessage::set_timestamp(const std::string& value) { |
| | | _internal_set_timestamp(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void SDKMessage::set_timestamp(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | timestamp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.SDKMessage.timestamp) |
| | | } |
| | | inline std::string* SDKMessage::mutable_timestamp() { |
| | |
| | | return _internal_mutable_timestamp(); |
| | | } |
| | | inline const std::string& SDKMessage::_internal_timestamp() const { |
| | | return timestamp_.GetNoArena(); |
| | | return timestamp_.Get(); |
| | | } |
| | | inline void SDKMessage::_internal_set_timestamp(const std::string& value) { |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void SDKMessage::set_timestamp(std::string&& value) { |
| | | |
| | | timestamp_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.SDKMessage.timestamp) |
| | | } |
| | | inline void SDKMessage::set_timestamp(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.SDKMessage.timestamp) |
| | | } |
| | | inline void SDKMessage::set_timestamp(const char* value, size_t size) { |
| | | |
| | | timestamp_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.SDKMessage.timestamp) |
| | | timestamp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::_internal_mutable_timestamp() { |
| | | |
| | | return timestamp_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return timestamp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* SDKMessage::release_timestamp() { |
| | | // @@protoc_insertion_point(field_release:protomsg.SDKMessage.timestamp) |
| | | |
| | | return timestamp_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return timestamp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void SDKMessage::set_allocated_timestamp(std::string* timestamp) { |
| | | if (timestamp != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | timestamp_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), timestamp); |
| | | timestamp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), timestamp, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.SDKMessage.timestamp) |
| | | } |
| | | |
| | |
| | | |
| | | // string dataType = 1; |
| | | inline void RuleMessage::clear_datatype() { |
| | | datatype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | datatype_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& RuleMessage::datatype() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.RuleMessage.dataType) |
| | | return _internal_datatype(); |
| | | } |
| | | inline void RuleMessage::set_datatype(const std::string& value) { |
| | | _internal_set_datatype(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void RuleMessage::set_datatype(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | datatype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.RuleMessage.dataType) |
| | | } |
| | | inline std::string* RuleMessage::mutable_datatype() { |
| | |
| | | return _internal_mutable_datatype(); |
| | | } |
| | | inline const std::string& RuleMessage::_internal_datatype() const { |
| | | return datatype_.GetNoArena(); |
| | | return datatype_.Get(); |
| | | } |
| | | inline void RuleMessage::_internal_set_datatype(const std::string& value) { |
| | | |
| | | datatype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void RuleMessage::set_datatype(std::string&& value) { |
| | | |
| | | datatype_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.RuleMessage.dataType) |
| | | } |
| | | inline void RuleMessage::set_datatype(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | datatype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.RuleMessage.dataType) |
| | | } |
| | | inline void RuleMessage::set_datatype(const char* value, size_t size) { |
| | | |
| | | datatype_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.RuleMessage.dataType) |
| | | datatype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* RuleMessage::_internal_mutable_datatype() { |
| | | |
| | | return datatype_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return datatype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* RuleMessage::release_datatype() { |
| | | // @@protoc_insertion_point(field_release:protomsg.RuleMessage.dataType) |
| | | |
| | | return datatype_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return datatype_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void RuleMessage::set_allocated_datatype(std::string* datatype) { |
| | | if (datatype != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | datatype_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), datatype); |
| | | datatype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), datatype, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.RuleMessage.dataType) |
| | | } |
| | | |
| | | // string handleTrack = 2; |
| | | inline void RuleMessage::clear_handletrack() { |
| | | handletrack_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | handletrack_.ClearToEmpty(); |
| | | } |
| | | inline const std::string& RuleMessage::handletrack() const { |
| | | // @@protoc_insertion_point(field_get:protomsg.RuleMessage.handleTrack) |
| | | return _internal_handletrack(); |
| | | } |
| | | inline void RuleMessage::set_handletrack(const std::string& value) { |
| | | _internal_set_handletrack(value); |
| | | template <typename ArgT0, typename... ArgT> |
| | | inline PROTOBUF_ALWAYS_INLINE |
| | | void RuleMessage::set_handletrack(ArgT0&& arg0, ArgT... args) { |
| | | |
| | | handletrack_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set:protomsg.RuleMessage.handleTrack) |
| | | } |
| | | inline std::string* RuleMessage::mutable_handletrack() { |
| | |
| | | return _internal_mutable_handletrack(); |
| | | } |
| | | inline const std::string& RuleMessage::_internal_handletrack() const { |
| | | return handletrack_.GetNoArena(); |
| | | return handletrack_.Get(); |
| | | } |
| | | inline void RuleMessage::_internal_set_handletrack(const std::string& value) { |
| | | |
| | | handletrack_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
| | | } |
| | | inline void RuleMessage::set_handletrack(std::string&& value) { |
| | | |
| | | handletrack_.SetNoArena( |
| | | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
| | | // @@protoc_insertion_point(field_set_rvalue:protomsg.RuleMessage.handleTrack) |
| | | } |
| | | inline void RuleMessage::set_handletrack(const char* value) { |
| | | GOOGLE_DCHECK(value != nullptr); |
| | | |
| | | handletrack_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| | | // @@protoc_insertion_point(field_set_char:protomsg.RuleMessage.handleTrack) |
| | | } |
| | | inline void RuleMessage::set_handletrack(const char* value, size_t size) { |
| | | |
| | | handletrack_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
| | | ::std::string(reinterpret_cast<const char*>(value), size)); |
| | | // @@protoc_insertion_point(field_set_pointer:protomsg.RuleMessage.handleTrack) |
| | | handletrack_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* RuleMessage::_internal_mutable_handletrack() { |
| | | |
| | | return handletrack_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return handletrack_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); |
| | | } |
| | | inline std::string* RuleMessage::release_handletrack() { |
| | | // @@protoc_insertion_point(field_release:protomsg.RuleMessage.handleTrack) |
| | | |
| | | return handletrack_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
| | | return handletrack_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); |
| | | } |
| | | inline void RuleMessage::set_allocated_handletrack(std::string* handletrack) { |
| | | if (handletrack != nullptr) { |
| | |
| | | } else { |
| | | |
| | | } |
| | | handletrack_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), handletrack); |
| | | handletrack_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), handletrack, |
| | | GetArenaForAllocation()); |
| | | // @@protoc_insertion_point(field_set_allocated:protomsg.RuleMessage.handleTrack) |
| | | } |
| | | |