|
@@ -1,7 +1,6 @@
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
// source: grapher_cfg.proto
|
|
|
|
|
|
-#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
|
#include "grapher_cfg.pb.h"
|
|
|
|
|
|
#include <algorithm>
|
|
@@ -15,80 +14,103 @@
|
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
|
#include <google/protobuf/reflection_ops.h>
|
|
|
#include <google/protobuf/wire_format.h>
|
|
|
+// This is a temporary google only hack
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+#include "third_party/protobuf/version.h"
|
|
|
+#endif
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
-
|
|
|
namespace grapher {
|
|
|
class locatefuncDefaultTypeInternal {
|
|
|
-public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<locatefunc>
|
|
|
- _instance;
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<locatefunc>
|
|
|
+ _instance;
|
|
|
} _locatefunc_default_instance_;
|
|
|
class grapherCfgDefaultTypeInternal {
|
|
|
-public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<grapherCfg>
|
|
|
- _instance;
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<grapherCfg>
|
|
|
+ _instance;
|
|
|
} _grapherCfg_default_instance_;
|
|
|
-
|
|
|
+} // namespace grapher
|
|
|
namespace protobuf_grapher_5fcfg_2eproto {
|
|
|
+void InitDefaultslocatefuncImpl() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
+#else
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
+#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ {
|
|
|
+ void* ptr = &::grapher::_locatefunc_default_instance_;
|
|
|
+ new (ptr) ::grapher::locatefunc();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::grapher::locatefunc::InitAsDefaultInstance();
|
|
|
+}
|
|
|
|
|
|
-namespace {
|
|
|
+void InitDefaultslocatefunc() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &InitDefaultslocatefuncImpl);
|
|
|
+}
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[2];
|
|
|
+void InitDefaultsgrapherCfgImpl() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-} // namespace
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
+#else
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
+#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ protobuf_grapher_5fcfg_2eproto::InitDefaultslocatefunc();
|
|
|
+ {
|
|
|
+ void* ptr = &::grapher::_grapherCfg_default_instance_;
|
|
|
+ new (ptr) ::grapher::grapherCfg();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::grapher::grapherCfg::InitAsDefaultInstance();
|
|
|
+}
|
|
|
|
|
|
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
|
|
|
- const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
|
|
|
-};
|
|
|
+void InitDefaultsgrapherCfg() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsgrapherCfgImpl);
|
|
|
+}
|
|
|
|
|
|
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
|
|
|
- const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- ::google::protobuf::internal::AuxillaryParseTableField(),
|
|
|
-};
|
|
|
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
|
|
|
- TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { NULL, NULL, 0, -1, -1, -1, -1, NULL, false },
|
|
|
- { NULL, NULL, 0, -1, -1, -1, -1, NULL, false },
|
|
|
-};
|
|
|
+::google::protobuf::Metadata file_level_metadata[2];
|
|
|
|
|
|
-const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(locatefunc, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(locatefunc, _internal_metadata_),
|
|
|
+const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::locatefunc, _has_bits_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::locatefunc, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(locatefunc, type_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(locatefunc, tfheaderid_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(locatefunc, tfid_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::locatefunc, type_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::locatefunc, tfheaderid_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::locatefunc, tfid_),
|
|
|
0,
|
|
|
1,
|
|
|
2,
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(grapherCfg, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(grapherCfg, _internal_metadata_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::grapherCfg, _has_bits_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::grapherCfg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(grapherCfg, scanid_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(grapherCfg, grapher_functions_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(grapherCfg, locate_functions_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::grapherCfg, scanid_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::grapherCfg, grapher_functions_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::grapher::grapherCfg, locate_functions_),
|
|
|
0,
|
|
|
~0u,
|
|
|
~0u,
|
|
|
};
|
|
|
-static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { 0, 8, sizeof(locatefunc)},
|
|
|
- { 11, 19, sizeof(grapherCfg)},
|
|
|
+static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ { 0, 8, sizeof(::grapher::locatefunc)},
|
|
|
+ { 11, 19, sizeof(::grapher::grapherCfg)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&_locatefunc_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&_grapherCfg_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::grapher::_locatefunc_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::grapher::_grapherCfg_default_instance_),
|
|
|
};
|
|
|
|
|
|
-namespace {
|
|
|
-
|
|
|
void protobuf_AssignDescriptors() {
|
|
|
AddDescriptors();
|
|
|
::google::protobuf::MessageFactory* factory = NULL;
|
|
@@ -102,31 +124,15 @@ void protobuf_AssignDescriptorsOnce() {
|
|
|
::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
|
|
|
}
|
|
|
|
|
|
-void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
|
|
|
+void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2);
|
|
|
}
|
|
|
|
|
|
-} // namespace
|
|
|
-void TableStruct::InitDefaultsImpl() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
- _locatefunc_default_instance_._instance.DefaultConstruct();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(
|
|
|
- &_locatefunc_default_instance_);_grapherCfg_default_instance_._instance.DefaultConstruct();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(
|
|
|
- &_grapherCfg_default_instance_);}
|
|
|
-
|
|
|
-void InitDefaults() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
|
|
|
-}
|
|
|
-namespace {
|
|
|
void AddDescriptorsImpl() {
|
|
|
InitDefaults();
|
|
|
- static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
"\n\021grapher_cfg.proto\022\007grapher\"<\n\nlocatefu"
|
|
|
"nc\022\014\n\004type\030\001 \002(\t\022\022\n\ntfHeaderID\030\002 \002(\t\022\014\n\004"
|
|
|
"tfID\030\003 \002(\t\"{\n\ngrapherCfg\022\016\n\006scanID\030\001 \002(\t"
|
|
@@ -139,7 +145,6 @@ void AddDescriptorsImpl() {
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"grapher_cfg.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
|
-} // anonymous namespace
|
|
|
|
|
|
void AddDescriptors() {
|
|
|
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
@@ -151,12 +156,13 @@ struct StaticDescriptorInitializer {
|
|
|
AddDescriptors();
|
|
|
}
|
|
|
} static_descriptor_initializer;
|
|
|
-
|
|
|
} // namespace protobuf_grapher_5fcfg_2eproto
|
|
|
-
|
|
|
+namespace grapher {
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
+void locatefunc::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
const int locatefunc::kTypeFieldNumber;
|
|
|
const int locatefunc::kTfHeaderIDFieldNumber;
|
|
@@ -166,7 +172,7 @@ const int locatefunc::kTfIDFieldNumber;
|
|
|
locatefunc::locatefunc()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- protobuf_grapher_5fcfg_2eproto::InitDefaults();
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::InitDefaultslocatefunc();
|
|
|
}
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:grapher.locatefunc)
|
|
@@ -216,12 +222,12 @@ void locatefunc::SetCachedSize(int size) const {
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* locatefunc::descriptor() {
|
|
|
- protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
}
|
|
|
|
|
|
const locatefunc& locatefunc::default_instance() {
|
|
|
- protobuf_grapher_5fcfg_2eproto::InitDefaults();
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::InitDefaultslocatefunc();
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
@@ -565,205 +571,14 @@ void locatefunc::InternalSwap(locatefunc* other) {
|
|
|
|
|
|
::google::protobuf::Metadata locatefunc::GetMetadata() const {
|
|
|
protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-#if PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
-// locatefunc
|
|
|
-
|
|
|
-// required string type = 1;
|
|
|
-bool locatefunc::has_type() const {
|
|
|
- return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
-}
|
|
|
-void locatefunc::set_has_type() {
|
|
|
- _has_bits_[0] |= 0x00000001u;
|
|
|
-}
|
|
|
-void locatefunc::clear_has_type() {
|
|
|
- _has_bits_[0] &= ~0x00000001u;
|
|
|
-}
|
|
|
-void locatefunc::clear_type() {
|
|
|
- type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- clear_has_type();
|
|
|
-}
|
|
|
-const ::std::string& locatefunc::type() const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.locatefunc.type)
|
|
|
- return type_.GetNoArena();
|
|
|
-}
|
|
|
-void locatefunc::set_type(const ::std::string& value) {
|
|
|
- set_has_type();
|
|
|
- type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
- // @@protoc_insertion_point(field_set:grapher.locatefunc.type)
|
|
|
-}
|
|
|
-#if LANG_CXX11
|
|
|
-void locatefunc::set_type(::std::string&& value) {
|
|
|
- set_has_type();
|
|
|
- type_.SetNoArena(
|
|
|
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
- // @@protoc_insertion_point(field_set_rvalue:grapher.locatefunc.type)
|
|
|
-}
|
|
|
-#endif
|
|
|
-void locatefunc::set_type(const char* value) {
|
|
|
- GOOGLE_DCHECK(value != NULL);
|
|
|
- set_has_type();
|
|
|
- type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
- // @@protoc_insertion_point(field_set_char:grapher.locatefunc.type)
|
|
|
-}
|
|
|
-void locatefunc::set_type(const char* value, size_t size) {
|
|
|
- set_has_type();
|
|
|
- type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
- // @@protoc_insertion_point(field_set_pointer:grapher.locatefunc.type)
|
|
|
-}
|
|
|
-::std::string* locatefunc::mutable_type() {
|
|
|
- set_has_type();
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.locatefunc.type)
|
|
|
- return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-::std::string* locatefunc::release_type() {
|
|
|
- // @@protoc_insertion_point(field_release:grapher.locatefunc.type)
|
|
|
- clear_has_type();
|
|
|
- return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-void locatefunc::set_allocated_type(::std::string* type) {
|
|
|
- if (type != NULL) {
|
|
|
- set_has_type();
|
|
|
- } else {
|
|
|
- clear_has_type();
|
|
|
- }
|
|
|
- type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
|
|
|
- // @@protoc_insertion_point(field_set_allocated:grapher.locatefunc.type)
|
|
|
-}
|
|
|
-
|
|
|
-// required string tfHeaderID = 2;
|
|
|
-bool locatefunc::has_tfheaderid() const {
|
|
|
- return (_has_bits_[0] & 0x00000002u) != 0;
|
|
|
-}
|
|
|
-void locatefunc::set_has_tfheaderid() {
|
|
|
- _has_bits_[0] |= 0x00000002u;
|
|
|
-}
|
|
|
-void locatefunc::clear_has_tfheaderid() {
|
|
|
- _has_bits_[0] &= ~0x00000002u;
|
|
|
-}
|
|
|
-void locatefunc::clear_tfheaderid() {
|
|
|
- tfheaderid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- clear_has_tfheaderid();
|
|
|
-}
|
|
|
-const ::std::string& locatefunc::tfheaderid() const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.locatefunc.tfHeaderID)
|
|
|
- return tfheaderid_.GetNoArena();
|
|
|
-}
|
|
|
-void locatefunc::set_tfheaderid(const ::std::string& value) {
|
|
|
- set_has_tfheaderid();
|
|
|
- tfheaderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
- // @@protoc_insertion_point(field_set:grapher.locatefunc.tfHeaderID)
|
|
|
-}
|
|
|
-#if LANG_CXX11
|
|
|
-void locatefunc::set_tfheaderid(::std::string&& value) {
|
|
|
- set_has_tfheaderid();
|
|
|
- tfheaderid_.SetNoArena(
|
|
|
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
- // @@protoc_insertion_point(field_set_rvalue:grapher.locatefunc.tfHeaderID)
|
|
|
-}
|
|
|
-#endif
|
|
|
-void locatefunc::set_tfheaderid(const char* value) {
|
|
|
- GOOGLE_DCHECK(value != NULL);
|
|
|
- set_has_tfheaderid();
|
|
|
- tfheaderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
- // @@protoc_insertion_point(field_set_char:grapher.locatefunc.tfHeaderID)
|
|
|
-}
|
|
|
-void locatefunc::set_tfheaderid(const char* value, size_t size) {
|
|
|
- set_has_tfheaderid();
|
|
|
- tfheaderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
- // @@protoc_insertion_point(field_set_pointer:grapher.locatefunc.tfHeaderID)
|
|
|
-}
|
|
|
-::std::string* locatefunc::mutable_tfheaderid() {
|
|
|
- set_has_tfheaderid();
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.locatefunc.tfHeaderID)
|
|
|
- return tfheaderid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-::std::string* locatefunc::release_tfheaderid() {
|
|
|
- // @@protoc_insertion_point(field_release:grapher.locatefunc.tfHeaderID)
|
|
|
- clear_has_tfheaderid();
|
|
|
- return tfheaderid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-void locatefunc::set_allocated_tfheaderid(::std::string* tfheaderid) {
|
|
|
- if (tfheaderid != NULL) {
|
|
|
- set_has_tfheaderid();
|
|
|
- } else {
|
|
|
- clear_has_tfheaderid();
|
|
|
- }
|
|
|
- tfheaderid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tfheaderid);
|
|
|
- // @@protoc_insertion_point(field_set_allocated:grapher.locatefunc.tfHeaderID)
|
|
|
-}
|
|
|
-
|
|
|
-// required string tfID = 3;
|
|
|
-bool locatefunc::has_tfid() const {
|
|
|
- return (_has_bits_[0] & 0x00000004u) != 0;
|
|
|
-}
|
|
|
-void locatefunc::set_has_tfid() {
|
|
|
- _has_bits_[0] |= 0x00000004u;
|
|
|
-}
|
|
|
-void locatefunc::clear_has_tfid() {
|
|
|
- _has_bits_[0] &= ~0x00000004u;
|
|
|
-}
|
|
|
-void locatefunc::clear_tfid() {
|
|
|
- tfid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- clear_has_tfid();
|
|
|
-}
|
|
|
-const ::std::string& locatefunc::tfid() const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.locatefunc.tfID)
|
|
|
- return tfid_.GetNoArena();
|
|
|
-}
|
|
|
-void locatefunc::set_tfid(const ::std::string& value) {
|
|
|
- set_has_tfid();
|
|
|
- tfid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
- // @@protoc_insertion_point(field_set:grapher.locatefunc.tfID)
|
|
|
-}
|
|
|
-#if LANG_CXX11
|
|
|
-void locatefunc::set_tfid(::std::string&& value) {
|
|
|
- set_has_tfid();
|
|
|
- tfid_.SetNoArena(
|
|
|
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
- // @@protoc_insertion_point(field_set_rvalue:grapher.locatefunc.tfID)
|
|
|
-}
|
|
|
-#endif
|
|
|
-void locatefunc::set_tfid(const char* value) {
|
|
|
- GOOGLE_DCHECK(value != NULL);
|
|
|
- set_has_tfid();
|
|
|
- tfid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
- // @@protoc_insertion_point(field_set_char:grapher.locatefunc.tfID)
|
|
|
-}
|
|
|
-void locatefunc::set_tfid(const char* value, size_t size) {
|
|
|
- set_has_tfid();
|
|
|
- tfid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
- // @@protoc_insertion_point(field_set_pointer:grapher.locatefunc.tfID)
|
|
|
-}
|
|
|
-::std::string* locatefunc::mutable_tfid() {
|
|
|
- set_has_tfid();
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.locatefunc.tfID)
|
|
|
- return tfid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-::std::string* locatefunc::release_tfid() {
|
|
|
- // @@protoc_insertion_point(field_release:grapher.locatefunc.tfID)
|
|
|
- clear_has_tfid();
|
|
|
- return tfid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-void locatefunc::set_allocated_tfid(::std::string* tfid) {
|
|
|
- if (tfid != NULL) {
|
|
|
- set_has_tfid();
|
|
|
- } else {
|
|
|
- clear_has_tfid();
|
|
|
- }
|
|
|
- tfid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tfid);
|
|
|
- // @@protoc_insertion_point(field_set_allocated:grapher.locatefunc.tfID)
|
|
|
+ return ::protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
}
|
|
|
|
|
|
-#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
+void grapherCfg::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
const int grapherCfg::kScanIDFieldNumber;
|
|
|
const int grapherCfg::kGrapherFunctionsFieldNumber;
|
|
@@ -773,7 +588,7 @@ const int grapherCfg::kLocateFunctionsFieldNumber;
|
|
|
grapherCfg::grapherCfg()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- protobuf_grapher_5fcfg_2eproto::InitDefaults();
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::InitDefaultsgrapherCfg();
|
|
|
}
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:grapher.grapherCfg)
|
|
@@ -813,12 +628,12 @@ void grapherCfg::SetCachedSize(int size) const {
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* grapherCfg::descriptor() {
|
|
|
- protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
}
|
|
|
|
|
|
const grapherCfg& grapherCfg::default_instance() {
|
|
|
- protobuf_grapher_5fcfg_2eproto::InitDefaults();
|
|
|
+ ::protobuf_grapher_5fcfg_2eproto::InitDefaultsgrapherCfg();
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
@@ -838,7 +653,8 @@ void grapherCfg::Clear() {
|
|
|
|
|
|
grapher_functions_.Clear();
|
|
|
locate_functions_.Clear();
|
|
|
- if (has_scanid()) {
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
GOOGLE_DCHECK(!scanid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
(*scanid_.UnsafeRawStringPointer())->clear();
|
|
|
}
|
|
@@ -876,8 +692,7 @@ bool grapherCfg::MergePartialFromCodedStream(
|
|
|
case 2: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
- input, add_grapher_functions()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_grapher_functions()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -888,8 +703,7 @@ bool grapherCfg::MergePartialFromCodedStream(
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
|
- input, add_locate_functions()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_locate_functions()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -977,7 +791,7 @@ void grapherCfg::SerializeWithCachedSizes(
|
|
|
for (unsigned int i = 0,
|
|
|
n = static_cast<unsigned int>(this->grapher_functions_size()); i < n; i++) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- InternalWriteMessageNoVirtualToArray(
|
|
|
+ InternalWriteMessageToArray(
|
|
|
2, this->grapher_functions(static_cast<int>(i)), deterministic, target);
|
|
|
}
|
|
|
|
|
@@ -985,7 +799,7 @@ void grapherCfg::SerializeWithCachedSizes(
|
|
|
for (unsigned int i = 0,
|
|
|
n = static_cast<unsigned int>(this->locate_functions_size()); i < n; i++) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- InternalWriteMessageNoVirtualToArray(
|
|
|
+ InternalWriteMessageToArray(
|
|
|
3, this->locate_functions(static_cast<int>(i)), deterministic, target);
|
|
|
}
|
|
|
|
|
@@ -1018,7 +832,7 @@ size_t grapherCfg::ByteSizeLong() const {
|
|
|
total_size += 1UL * count;
|
|
|
for (unsigned int i = 0; i < count; i++) {
|
|
|
total_size +=
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
this->grapher_functions(static_cast<int>(i)));
|
|
|
}
|
|
|
}
|
|
@@ -1029,7 +843,7 @@ size_t grapherCfg::ByteSizeLong() const {
|
|
|
total_size += 1UL * count;
|
|
|
for (unsigned int i = 0; i < count; i++) {
|
|
|
total_size +=
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
this->locate_functions(static_cast<int>(i)));
|
|
|
}
|
|
|
}
|
|
@@ -1108,139 +922,11 @@ void grapherCfg::InternalSwap(grapherCfg* other) {
|
|
|
|
|
|
::google::protobuf::Metadata grapherCfg::GetMetadata() const {
|
|
|
protobuf_grapher_5fcfg_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+ return ::protobuf_grapher_5fcfg_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
}
|
|
|
|
|
|
-#if PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
-// grapherCfg
|
|
|
-
|
|
|
-// required string scanID = 1;
|
|
|
-bool grapherCfg::has_scanid() const {
|
|
|
- return (_has_bits_[0] & 0x00000001u) != 0;
|
|
|
-}
|
|
|
-void grapherCfg::set_has_scanid() {
|
|
|
- _has_bits_[0] |= 0x00000001u;
|
|
|
-}
|
|
|
-void grapherCfg::clear_has_scanid() {
|
|
|
- _has_bits_[0] &= ~0x00000001u;
|
|
|
-}
|
|
|
-void grapherCfg::clear_scanid() {
|
|
|
- scanid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- clear_has_scanid();
|
|
|
-}
|
|
|
-const ::std::string& grapherCfg::scanid() const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.grapherCfg.scanID)
|
|
|
- return scanid_.GetNoArena();
|
|
|
-}
|
|
|
-void grapherCfg::set_scanid(const ::std::string& value) {
|
|
|
- set_has_scanid();
|
|
|
- scanid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
|
- // @@protoc_insertion_point(field_set:grapher.grapherCfg.scanID)
|
|
|
-}
|
|
|
-#if LANG_CXX11
|
|
|
-void grapherCfg::set_scanid(::std::string&& value) {
|
|
|
- set_has_scanid();
|
|
|
- scanid_.SetNoArena(
|
|
|
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
|
- // @@protoc_insertion_point(field_set_rvalue:grapher.grapherCfg.scanID)
|
|
|
-}
|
|
|
-#endif
|
|
|
-void grapherCfg::set_scanid(const char* value) {
|
|
|
- GOOGLE_DCHECK(value != NULL);
|
|
|
- set_has_scanid();
|
|
|
- scanid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
|
- // @@protoc_insertion_point(field_set_char:grapher.grapherCfg.scanID)
|
|
|
-}
|
|
|
-void grapherCfg::set_scanid(const char* value, size_t size) {
|
|
|
- set_has_scanid();
|
|
|
- scanid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- ::std::string(reinterpret_cast<const char*>(value), size));
|
|
|
- // @@protoc_insertion_point(field_set_pointer:grapher.grapherCfg.scanID)
|
|
|
-}
|
|
|
-::std::string* grapherCfg::mutable_scanid() {
|
|
|
- set_has_scanid();
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.grapherCfg.scanID)
|
|
|
- return scanid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-::std::string* grapherCfg::release_scanid() {
|
|
|
- // @@protoc_insertion_point(field_release:grapher.grapherCfg.scanID)
|
|
|
- clear_has_scanid();
|
|
|
- return scanid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-void grapherCfg::set_allocated_scanid(::std::string* scanid) {
|
|
|
- if (scanid != NULL) {
|
|
|
- set_has_scanid();
|
|
|
- } else {
|
|
|
- clear_has_scanid();
|
|
|
- }
|
|
|
- scanid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), scanid);
|
|
|
- // @@protoc_insertion_point(field_set_allocated:grapher.grapherCfg.scanID)
|
|
|
-}
|
|
|
-
|
|
|
-// repeated .grapher.locatefunc grapher_functions = 2;
|
|
|
-int grapherCfg::grapher_functions_size() const {
|
|
|
- return grapher_functions_.size();
|
|
|
-}
|
|
|
-void grapherCfg::clear_grapher_functions() {
|
|
|
- grapher_functions_.Clear();
|
|
|
-}
|
|
|
-const ::grapher::locatefunc& grapherCfg::grapher_functions(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.grapherCfg.grapher_functions)
|
|
|
- return grapher_functions_.Get(index);
|
|
|
-}
|
|
|
-::grapher::locatefunc* grapherCfg::mutable_grapher_functions(int index) {
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.grapherCfg.grapher_functions)
|
|
|
- return grapher_functions_.Mutable(index);
|
|
|
-}
|
|
|
-::grapher::locatefunc* grapherCfg::add_grapher_functions() {
|
|
|
- // @@protoc_insertion_point(field_add:grapher.grapherCfg.grapher_functions)
|
|
|
- return grapher_functions_.Add();
|
|
|
-}
|
|
|
-::google::protobuf::RepeatedPtrField< ::grapher::locatefunc >*
|
|
|
-grapherCfg::mutable_grapher_functions() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:grapher.grapherCfg.grapher_functions)
|
|
|
- return &grapher_functions_;
|
|
|
-}
|
|
|
-const ::google::protobuf::RepeatedPtrField< ::grapher::locatefunc >&
|
|
|
-grapherCfg::grapher_functions() const {
|
|
|
- // @@protoc_insertion_point(field_list:grapher.grapherCfg.grapher_functions)
|
|
|
- return grapher_functions_;
|
|
|
-}
|
|
|
-
|
|
|
-// repeated .grapher.locatefunc locate_functions = 3;
|
|
|
-int grapherCfg::locate_functions_size() const {
|
|
|
- return locate_functions_.size();
|
|
|
-}
|
|
|
-void grapherCfg::clear_locate_functions() {
|
|
|
- locate_functions_.Clear();
|
|
|
-}
|
|
|
-const ::grapher::locatefunc& grapherCfg::locate_functions(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:grapher.grapherCfg.locate_functions)
|
|
|
- return locate_functions_.Get(index);
|
|
|
-}
|
|
|
-::grapher::locatefunc* grapherCfg::mutable_locate_functions(int index) {
|
|
|
- // @@protoc_insertion_point(field_mutable:grapher.grapherCfg.locate_functions)
|
|
|
- return locate_functions_.Mutable(index);
|
|
|
-}
|
|
|
-::grapher::locatefunc* grapherCfg::add_locate_functions() {
|
|
|
- // @@protoc_insertion_point(field_add:grapher.grapherCfg.locate_functions)
|
|
|
- return locate_functions_.Add();
|
|
|
-}
|
|
|
-::google::protobuf::RepeatedPtrField< ::grapher::locatefunc >*
|
|
|
-grapherCfg::mutable_locate_functions() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:grapher.grapherCfg.locate_functions)
|
|
|
- return &locate_functions_;
|
|
|
-}
|
|
|
-const ::google::protobuf::RepeatedPtrField< ::grapher::locatefunc >&
|
|
|
-grapherCfg::locate_functions() const {
|
|
|
- // @@protoc_insertion_point(field_list:grapher.grapherCfg.locate_functions)
|
|
|
- return locate_functions_;
|
|
|
-}
|
|
|
-
|
|
|
-#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
-
|
|
|
} // namespace grapher
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|