This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhuyujia-webhopper/collector/adg-linux/gen/components/sync/protocol/dictionary_specifics.pb.h

233 lines
8.2 KiB
C
Raw Normal View History

2022-05-05 20:41:28 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dictionary_specifics.proto
#ifndef PROTOBUF_dictionary_5fspecifics_2eproto__INCLUDED
#define PROTOBUF_dictionary_5fspecifics_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3003000
#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 3003002 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
// @@protoc_insertion_point(includes)
namespace sync_pb {
class DictionarySpecifics;
class DictionarySpecificsDefaultTypeInternal;
extern DictionarySpecificsDefaultTypeInternal _DictionarySpecifics_default_instance_;
} // namespace sync_pb
namespace sync_pb {
namespace protobuf_dictionary_5fspecifics_2eproto {
// Internal implementation detail -- do not call these.
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[];
static const ::google::protobuf::uint32 offsets[];
static void InitDefaultsImpl();
static void Shutdown();
};
void AddDescriptors();
void InitDefaults();
} // namespace protobuf_dictionary_5fspecifics_2eproto
// ===================================================================
class DictionarySpecifics : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.DictionarySpecifics) */ {
public:
DictionarySpecifics();
virtual ~DictionarySpecifics();
DictionarySpecifics(const DictionarySpecifics& from);
inline DictionarySpecifics& operator=(const DictionarySpecifics& from) {
CopyFrom(from);
return *this;
}
inline const ::std::string& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::std::string* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const DictionarySpecifics& default_instance();
static inline const DictionarySpecifics* internal_default_instance() {
return reinterpret_cast<const DictionarySpecifics*>(
&_DictionarySpecifics_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
GOOGLE_ATTRIBUTE_NOINLINE void Swap(DictionarySpecifics* other);
// implements Message ----------------------------------------------
inline DictionarySpecifics* New() const PROTOBUF_FINAL { return New(NULL); }
DictionarySpecifics* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
PROTOBUF_FINAL;
void CopyFrom(const DictionarySpecifics& from);
void MergeFrom(const DictionarySpecifics& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(DictionarySpecifics* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string word = 1;
bool has_word() const;
void clear_word();
static const int kWordFieldNumber = 1;
const ::std::string& word() const;
void set_word(const ::std::string& value);
#if LANG_CXX11
void set_word(::std::string&& value);
#endif
void set_word(const char* value);
void set_word(const char* value, size_t size);
::std::string* mutable_word();
::std::string* release_word();
void set_allocated_word(::std::string* word);
// @@protoc_insertion_point(class_scope:sync_pb.DictionarySpecifics)
private:
void set_has_word();
void clear_has_word();
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr word_;
friend struct protobuf_dictionary_5fspecifics_2eproto::TableStruct;
};
// ===================================================================
// ===================================================================
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// DictionarySpecifics
// optional string word = 1;
inline bool DictionarySpecifics::has_word() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void DictionarySpecifics::set_has_word() {
_has_bits_[0] |= 0x00000001u;
}
inline void DictionarySpecifics::clear_has_word() {
_has_bits_[0] &= ~0x00000001u;
}
inline void DictionarySpecifics::clear_word() {
word_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_word();
}
inline const ::std::string& DictionarySpecifics::word() const {
// @@protoc_insertion_point(field_get:sync_pb.DictionarySpecifics.word)
return word_.GetNoArena();
}
inline void DictionarySpecifics::set_word(const ::std::string& value) {
set_has_word();
word_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:sync_pb.DictionarySpecifics.word)
}
#if LANG_CXX11
inline void DictionarySpecifics::set_word(::std::string&& value) {
set_has_word();
word_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:sync_pb.DictionarySpecifics.word)
}
#endif
inline void DictionarySpecifics::set_word(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_word();
word_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:sync_pb.DictionarySpecifics.word)
}
inline void DictionarySpecifics::set_word(const char* value, size_t size) {
set_has_word();
word_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:sync_pb.DictionarySpecifics.word)
}
inline ::std::string* DictionarySpecifics::mutable_word() {
set_has_word();
// @@protoc_insertion_point(field_mutable:sync_pb.DictionarySpecifics.word)
return word_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* DictionarySpecifics::release_word() {
// @@protoc_insertion_point(field_release:sync_pb.DictionarySpecifics.word)
clear_has_word();
return word_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void DictionarySpecifics::set_allocated_word(::std::string* word) {
if (word != NULL) {
set_has_word();
} else {
clear_has_word();
}
word_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), word);
// @@protoc_insertion_point(field_set_allocated:sync_pb.DictionarySpecifics.word)
}
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
// @@protoc_insertion_point(namespace_scope)
} // namespace sync_pb
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_dictionary_5fspecifics_2eproto__INCLUDED