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/entity_metadata.pb.h

680 lines
27 KiB
C
Raw Normal View History

2022-05-05 20:41:28 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: entity_metadata.proto
#ifndef PROTOBUF_entity_5fmetadata_2eproto__INCLUDED
#define PROTOBUF_entity_5fmetadata_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 EntityMetadata;
class EntityMetadataDefaultTypeInternal;
extern EntityMetadataDefaultTypeInternal _EntityMetadata_default_instance_;
} // namespace sync_pb
namespace sync_pb {
namespace protobuf_entity_5fmetadata_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_entity_5fmetadata_2eproto
// ===================================================================
class EntityMetadata : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:sync_pb.EntityMetadata) */ {
public:
EntityMetadata();
virtual ~EntityMetadata();
EntityMetadata(const EntityMetadata& from);
inline EntityMetadata& operator=(const EntityMetadata& 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 EntityMetadata& default_instance();
static inline const EntityMetadata* internal_default_instance() {
return reinterpret_cast<const EntityMetadata*>(
&_EntityMetadata_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
GOOGLE_ATTRIBUTE_NOINLINE void Swap(EntityMetadata* other);
// implements Message ----------------------------------------------
inline EntityMetadata* New() const PROTOBUF_FINAL { return New(NULL); }
EntityMetadata* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
PROTOBUF_FINAL;
void CopyFrom(const EntityMetadata& from);
void MergeFrom(const EntityMetadata& 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(EntityMetadata* 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 client_tag_hash = 1;
bool has_client_tag_hash() const;
void clear_client_tag_hash();
static const int kClientTagHashFieldNumber = 1;
const ::std::string& client_tag_hash() const;
void set_client_tag_hash(const ::std::string& value);
#if LANG_CXX11
void set_client_tag_hash(::std::string&& value);
#endif
void set_client_tag_hash(const char* value);
void set_client_tag_hash(const char* value, size_t size);
::std::string* mutable_client_tag_hash();
::std::string* release_client_tag_hash();
void set_allocated_client_tag_hash(::std::string* client_tag_hash);
// optional string server_id = 2;
bool has_server_id() const;
void clear_server_id();
static const int kServerIdFieldNumber = 2;
const ::std::string& server_id() const;
void set_server_id(const ::std::string& value);
#if LANG_CXX11
void set_server_id(::std::string&& value);
#endif
void set_server_id(const char* value);
void set_server_id(const char* value, size_t size);
::std::string* mutable_server_id();
::std::string* release_server_id();
void set_allocated_server_id(::std::string* server_id);
// optional string specifics_hash = 9;
bool has_specifics_hash() const;
void clear_specifics_hash();
static const int kSpecificsHashFieldNumber = 9;
const ::std::string& specifics_hash() const;
void set_specifics_hash(const ::std::string& value);
#if LANG_CXX11
void set_specifics_hash(::std::string&& value);
#endif
void set_specifics_hash(const char* value);
void set_specifics_hash(const char* value, size_t size);
::std::string* mutable_specifics_hash();
::std::string* release_specifics_hash();
void set_allocated_specifics_hash(::std::string* specifics_hash);
// optional string base_specifics_hash = 10;
bool has_base_specifics_hash() const;
void clear_base_specifics_hash();
static const int kBaseSpecificsHashFieldNumber = 10;
const ::std::string& base_specifics_hash() const;
void set_base_specifics_hash(const ::std::string& value);
#if LANG_CXX11
void set_base_specifics_hash(::std::string&& value);
#endif
void set_base_specifics_hash(const char* value);
void set_base_specifics_hash(const char* value, size_t size);
::std::string* mutable_base_specifics_hash();
::std::string* release_base_specifics_hash();
void set_allocated_base_specifics_hash(::std::string* base_specifics_hash);
// optional int64 sequence_number = 4;
bool has_sequence_number() const;
void clear_sequence_number();
static const int kSequenceNumberFieldNumber = 4;
::google::protobuf::int64 sequence_number() const;
void set_sequence_number(::google::protobuf::int64 value);
// optional int64 acked_sequence_number = 5;
bool has_acked_sequence_number() const;
void clear_acked_sequence_number();
static const int kAckedSequenceNumberFieldNumber = 5;
::google::protobuf::int64 acked_sequence_number() const;
void set_acked_sequence_number(::google::protobuf::int64 value);
// optional int64 creation_time = 7;
bool has_creation_time() const;
void clear_creation_time();
static const int kCreationTimeFieldNumber = 7;
::google::protobuf::int64 creation_time() const;
void set_creation_time(::google::protobuf::int64 value);
// optional int64 modification_time = 8;
bool has_modification_time() const;
void clear_modification_time();
static const int kModificationTimeFieldNumber = 8;
::google::protobuf::int64 modification_time() const;
void set_modification_time(::google::protobuf::int64 value);
// optional bool is_deleted = 3;
bool has_is_deleted() const;
void clear_is_deleted();
static const int kIsDeletedFieldNumber = 3;
bool is_deleted() const;
void set_is_deleted(bool value);
// optional int64 server_version = 6 [default = -1];
bool has_server_version() const;
void clear_server_version();
static const int kServerVersionFieldNumber = 6;
::google::protobuf::int64 server_version() const;
void set_server_version(::google::protobuf::int64 value);
// @@protoc_insertion_point(class_scope:sync_pb.EntityMetadata)
private:
void set_has_client_tag_hash();
void clear_has_client_tag_hash();
void set_has_server_id();
void clear_has_server_id();
void set_has_is_deleted();
void clear_has_is_deleted();
void set_has_sequence_number();
void clear_has_sequence_number();
void set_has_acked_sequence_number();
void clear_has_acked_sequence_number();
void set_has_server_version();
void clear_has_server_version();
void set_has_creation_time();
void clear_has_creation_time();
void set_has_modification_time();
void clear_has_modification_time();
void set_has_specifics_hash();
void clear_has_specifics_hash();
void set_has_base_specifics_hash();
void clear_has_base_specifics_hash();
::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr client_tag_hash_;
::google::protobuf::internal::ArenaStringPtr server_id_;
::google::protobuf::internal::ArenaStringPtr specifics_hash_;
::google::protobuf::internal::ArenaStringPtr base_specifics_hash_;
::google::protobuf::int64 sequence_number_;
::google::protobuf::int64 acked_sequence_number_;
::google::protobuf::int64 creation_time_;
::google::protobuf::int64 modification_time_;
bool is_deleted_;
::google::protobuf::int64 server_version_;
friend struct protobuf_entity_5fmetadata_2eproto::TableStruct;
};
// ===================================================================
// ===================================================================
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// EntityMetadata
// optional string client_tag_hash = 1;
inline bool EntityMetadata::has_client_tag_hash() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void EntityMetadata::set_has_client_tag_hash() {
_has_bits_[0] |= 0x00000001u;
}
inline void EntityMetadata::clear_has_client_tag_hash() {
_has_bits_[0] &= ~0x00000001u;
}
inline void EntityMetadata::clear_client_tag_hash() {
client_tag_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_client_tag_hash();
}
inline const ::std::string& EntityMetadata::client_tag_hash() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.client_tag_hash)
return client_tag_hash_.GetNoArena();
}
inline void EntityMetadata::set_client_tag_hash(const ::std::string& value) {
set_has_client_tag_hash();
client_tag_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.client_tag_hash)
}
#if LANG_CXX11
inline void EntityMetadata::set_client_tag_hash(::std::string&& value) {
set_has_client_tag_hash();
client_tag_hash_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:sync_pb.EntityMetadata.client_tag_hash)
}
#endif
inline void EntityMetadata::set_client_tag_hash(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_client_tag_hash();
client_tag_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:sync_pb.EntityMetadata.client_tag_hash)
}
inline void EntityMetadata::set_client_tag_hash(const char* value, size_t size) {
set_has_client_tag_hash();
client_tag_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:sync_pb.EntityMetadata.client_tag_hash)
}
inline ::std::string* EntityMetadata::mutable_client_tag_hash() {
set_has_client_tag_hash();
// @@protoc_insertion_point(field_mutable:sync_pb.EntityMetadata.client_tag_hash)
return client_tag_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* EntityMetadata::release_client_tag_hash() {
// @@protoc_insertion_point(field_release:sync_pb.EntityMetadata.client_tag_hash)
clear_has_client_tag_hash();
return client_tag_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void EntityMetadata::set_allocated_client_tag_hash(::std::string* client_tag_hash) {
if (client_tag_hash != NULL) {
set_has_client_tag_hash();
} else {
clear_has_client_tag_hash();
}
client_tag_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client_tag_hash);
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntityMetadata.client_tag_hash)
}
// optional string server_id = 2;
inline bool EntityMetadata::has_server_id() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void EntityMetadata::set_has_server_id() {
_has_bits_[0] |= 0x00000002u;
}
inline void EntityMetadata::clear_has_server_id() {
_has_bits_[0] &= ~0x00000002u;
}
inline void EntityMetadata::clear_server_id() {
server_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_server_id();
}
inline const ::std::string& EntityMetadata::server_id() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.server_id)
return server_id_.GetNoArena();
}
inline void EntityMetadata::set_server_id(const ::std::string& value) {
set_has_server_id();
server_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.server_id)
}
#if LANG_CXX11
inline void EntityMetadata::set_server_id(::std::string&& value) {
set_has_server_id();
server_id_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:sync_pb.EntityMetadata.server_id)
}
#endif
inline void EntityMetadata::set_server_id(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_server_id();
server_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:sync_pb.EntityMetadata.server_id)
}
inline void EntityMetadata::set_server_id(const char* value, size_t size) {
set_has_server_id();
server_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:sync_pb.EntityMetadata.server_id)
}
inline ::std::string* EntityMetadata::mutable_server_id() {
set_has_server_id();
// @@protoc_insertion_point(field_mutable:sync_pb.EntityMetadata.server_id)
return server_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* EntityMetadata::release_server_id() {
// @@protoc_insertion_point(field_release:sync_pb.EntityMetadata.server_id)
clear_has_server_id();
return server_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void EntityMetadata::set_allocated_server_id(::std::string* server_id) {
if (server_id != NULL) {
set_has_server_id();
} else {
clear_has_server_id();
}
server_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), server_id);
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntityMetadata.server_id)
}
// optional bool is_deleted = 3;
inline bool EntityMetadata::has_is_deleted() const {
return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void EntityMetadata::set_has_is_deleted() {
_has_bits_[0] |= 0x00000100u;
}
inline void EntityMetadata::clear_has_is_deleted() {
_has_bits_[0] &= ~0x00000100u;
}
inline void EntityMetadata::clear_is_deleted() {
is_deleted_ = false;
clear_has_is_deleted();
}
inline bool EntityMetadata::is_deleted() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.is_deleted)
return is_deleted_;
}
inline void EntityMetadata::set_is_deleted(bool value) {
set_has_is_deleted();
is_deleted_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.is_deleted)
}
// optional int64 sequence_number = 4;
inline bool EntityMetadata::has_sequence_number() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void EntityMetadata::set_has_sequence_number() {
_has_bits_[0] |= 0x00000010u;
}
inline void EntityMetadata::clear_has_sequence_number() {
_has_bits_[0] &= ~0x00000010u;
}
inline void EntityMetadata::clear_sequence_number() {
sequence_number_ = GOOGLE_LONGLONG(0);
clear_has_sequence_number();
}
inline ::google::protobuf::int64 EntityMetadata::sequence_number() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.sequence_number)
return sequence_number_;
}
inline void EntityMetadata::set_sequence_number(::google::protobuf::int64 value) {
set_has_sequence_number();
sequence_number_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.sequence_number)
}
// optional int64 acked_sequence_number = 5;
inline bool EntityMetadata::has_acked_sequence_number() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void EntityMetadata::set_has_acked_sequence_number() {
_has_bits_[0] |= 0x00000020u;
}
inline void EntityMetadata::clear_has_acked_sequence_number() {
_has_bits_[0] &= ~0x00000020u;
}
inline void EntityMetadata::clear_acked_sequence_number() {
acked_sequence_number_ = GOOGLE_LONGLONG(0);
clear_has_acked_sequence_number();
}
inline ::google::protobuf::int64 EntityMetadata::acked_sequence_number() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.acked_sequence_number)
return acked_sequence_number_;
}
inline void EntityMetadata::set_acked_sequence_number(::google::protobuf::int64 value) {
set_has_acked_sequence_number();
acked_sequence_number_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.acked_sequence_number)
}
// optional int64 server_version = 6 [default = -1];
inline bool EntityMetadata::has_server_version() const {
return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void EntityMetadata::set_has_server_version() {
_has_bits_[0] |= 0x00000200u;
}
inline void EntityMetadata::clear_has_server_version() {
_has_bits_[0] &= ~0x00000200u;
}
inline void EntityMetadata::clear_server_version() {
server_version_ = GOOGLE_LONGLONG(-1);
clear_has_server_version();
}
inline ::google::protobuf::int64 EntityMetadata::server_version() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.server_version)
return server_version_;
}
inline void EntityMetadata::set_server_version(::google::protobuf::int64 value) {
set_has_server_version();
server_version_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.server_version)
}
// optional int64 creation_time = 7;
inline bool EntityMetadata::has_creation_time() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void EntityMetadata::set_has_creation_time() {
_has_bits_[0] |= 0x00000040u;
}
inline void EntityMetadata::clear_has_creation_time() {
_has_bits_[0] &= ~0x00000040u;
}
inline void EntityMetadata::clear_creation_time() {
creation_time_ = GOOGLE_LONGLONG(0);
clear_has_creation_time();
}
inline ::google::protobuf::int64 EntityMetadata::creation_time() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.creation_time)
return creation_time_;
}
inline void EntityMetadata::set_creation_time(::google::protobuf::int64 value) {
set_has_creation_time();
creation_time_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.creation_time)
}
// optional int64 modification_time = 8;
inline bool EntityMetadata::has_modification_time() const {
return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void EntityMetadata::set_has_modification_time() {
_has_bits_[0] |= 0x00000080u;
}
inline void EntityMetadata::clear_has_modification_time() {
_has_bits_[0] &= ~0x00000080u;
}
inline void EntityMetadata::clear_modification_time() {
modification_time_ = GOOGLE_LONGLONG(0);
clear_has_modification_time();
}
inline ::google::protobuf::int64 EntityMetadata::modification_time() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.modification_time)
return modification_time_;
}
inline void EntityMetadata::set_modification_time(::google::protobuf::int64 value) {
set_has_modification_time();
modification_time_ = value;
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.modification_time)
}
// optional string specifics_hash = 9;
inline bool EntityMetadata::has_specifics_hash() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void EntityMetadata::set_has_specifics_hash() {
_has_bits_[0] |= 0x00000004u;
}
inline void EntityMetadata::clear_has_specifics_hash() {
_has_bits_[0] &= ~0x00000004u;
}
inline void EntityMetadata::clear_specifics_hash() {
specifics_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_specifics_hash();
}
inline const ::std::string& EntityMetadata::specifics_hash() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.specifics_hash)
return specifics_hash_.GetNoArena();
}
inline void EntityMetadata::set_specifics_hash(const ::std::string& value) {
set_has_specifics_hash();
specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.specifics_hash)
}
#if LANG_CXX11
inline void EntityMetadata::set_specifics_hash(::std::string&& value) {
set_has_specifics_hash();
specifics_hash_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:sync_pb.EntityMetadata.specifics_hash)
}
#endif
inline void EntityMetadata::set_specifics_hash(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_specifics_hash();
specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:sync_pb.EntityMetadata.specifics_hash)
}
inline void EntityMetadata::set_specifics_hash(const char* value, size_t size) {
set_has_specifics_hash();
specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:sync_pb.EntityMetadata.specifics_hash)
}
inline ::std::string* EntityMetadata::mutable_specifics_hash() {
set_has_specifics_hash();
// @@protoc_insertion_point(field_mutable:sync_pb.EntityMetadata.specifics_hash)
return specifics_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* EntityMetadata::release_specifics_hash() {
// @@protoc_insertion_point(field_release:sync_pb.EntityMetadata.specifics_hash)
clear_has_specifics_hash();
return specifics_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void EntityMetadata::set_allocated_specifics_hash(::std::string* specifics_hash) {
if (specifics_hash != NULL) {
set_has_specifics_hash();
} else {
clear_has_specifics_hash();
}
specifics_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), specifics_hash);
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntityMetadata.specifics_hash)
}
// optional string base_specifics_hash = 10;
inline bool EntityMetadata::has_base_specifics_hash() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void EntityMetadata::set_has_base_specifics_hash() {
_has_bits_[0] |= 0x00000008u;
}
inline void EntityMetadata::clear_has_base_specifics_hash() {
_has_bits_[0] &= ~0x00000008u;
}
inline void EntityMetadata::clear_base_specifics_hash() {
base_specifics_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_base_specifics_hash();
}
inline const ::std::string& EntityMetadata::base_specifics_hash() const {
// @@protoc_insertion_point(field_get:sync_pb.EntityMetadata.base_specifics_hash)
return base_specifics_hash_.GetNoArena();
}
inline void EntityMetadata::set_base_specifics_hash(const ::std::string& value) {
set_has_base_specifics_hash();
base_specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:sync_pb.EntityMetadata.base_specifics_hash)
}
#if LANG_CXX11
inline void EntityMetadata::set_base_specifics_hash(::std::string&& value) {
set_has_base_specifics_hash();
base_specifics_hash_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:sync_pb.EntityMetadata.base_specifics_hash)
}
#endif
inline void EntityMetadata::set_base_specifics_hash(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_base_specifics_hash();
base_specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:sync_pb.EntityMetadata.base_specifics_hash)
}
inline void EntityMetadata::set_base_specifics_hash(const char* value, size_t size) {
set_has_base_specifics_hash();
base_specifics_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:sync_pb.EntityMetadata.base_specifics_hash)
}
inline ::std::string* EntityMetadata::mutable_base_specifics_hash() {
set_has_base_specifics_hash();
// @@protoc_insertion_point(field_mutable:sync_pb.EntityMetadata.base_specifics_hash)
return base_specifics_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* EntityMetadata::release_base_specifics_hash() {
// @@protoc_insertion_point(field_release:sync_pb.EntityMetadata.base_specifics_hash)
clear_has_base_specifics_hash();
return base_specifics_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void EntityMetadata::set_allocated_base_specifics_hash(::std::string* base_specifics_hash) {
if (base_specifics_hash != NULL) {
set_has_base_specifics_hash();
} else {
clear_has_base_specifics_hash();
}
base_specifics_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_specifics_hash);
// @@protoc_insertion_point(field_set_allocated:sync_pb.EntityMetadata.base_specifics_hash)
}
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
// @@protoc_insertion_point(namespace_scope)
} // namespace sync_pb
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_entity_5fmetadata_2eproto__INCLUDED