LCOV - code coverage report
Current view: top level - build/protobuf_generated - registrar.pb.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 68 464 14.7 %
Date: 2024-10-12 00:35:29 Functions: 16 82 19.5 %

          Line data    Source code
       1             : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2             : // source: registrar.proto
       3             : 
       4             : #include "registrar.pb.h"
       5             : 
       6             : #include <algorithm>
       7             : 
       8             : #include <google/protobuf/stubs/common.h>
       9             : #include <google/protobuf/stubs/port.h>
      10             : #include <google/protobuf/io/coded_stream.h>
      11             : #include <google/protobuf/wire_format_lite_inl.h>
      12             : #include <google/protobuf/descriptor.h>
      13             : #include <google/protobuf/generated_message_reflection.h>
      14             : #include <google/protobuf/reflection_ops.h>
      15             : #include <google/protobuf/wire_format.h>
      16             : // This is a temporary google only hack
      17             : #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
      18             : #include "third_party/protobuf/version.h"
      19             : #endif
      20             : // @@protoc_insertion_point(includes)
      21             : 
      22             : namespace protobuf_registrar_2eproto {
      23             : extern PROTOBUF_INTERNAL_EXPORT_protobuf_registrar_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ServiceId;
      24             : }  // namespace protobuf_registrar_2eproto
      25             : namespace casatools {
      26             : namespace rpc {
      27             : class ServiceIdDefaultTypeInternal {
      28             :  public:
      29             :   ::google::protobuf::internal::ExplicitlyConstructed<ServiceId>
      30             :       _instance;
      31             : } _ServiceId_default_instance_;
      32             : class ServiceIdsDefaultTypeInternal {
      33             :  public:
      34             :   ::google::protobuf::internal::ExplicitlyConstructed<ServiceIds>
      35             :       _instance;
      36             : } _ServiceIds_default_instance_;
      37             : class ServiceTypesDefaultTypeInternal {
      38             :  public:
      39             :   ::google::protobuf::internal::ExplicitlyConstructed<ServiceTypes>
      40             :       _instance;
      41             : } _ServiceTypes_default_instance_;
      42             : }  // namespace rpc
      43             : }  // namespace casatools
      44             : namespace protobuf_registrar_2eproto {
      45          11 : static void InitDefaultsServiceId() {
      46          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      47             : 
      48             :   {
      49          11 :     void* ptr = &::casatools::rpc::_ServiceId_default_instance_;
      50          11 :     new (ptr) ::casatools::rpc::ServiceId();
      51          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      52             :   }
      53          11 :   ::casatools::rpc::ServiceId::InitAsDefaultInstance();
      54          11 : }
      55             : 
      56             : ::google::protobuf::internal::SCCInfo<0> scc_info_ServiceId =
      57             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsServiceId}, {}};
      58             : 
      59          11 : static void InitDefaultsServiceIds() {
      60          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      61             : 
      62             :   {
      63          11 :     void* ptr = &::casatools::rpc::_ServiceIds_default_instance_;
      64          11 :     new (ptr) ::casatools::rpc::ServiceIds();
      65          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      66             :   }
      67          11 :   ::casatools::rpc::ServiceIds::InitAsDefaultInstance();
      68          11 : }
      69             : 
      70             : ::google::protobuf::internal::SCCInfo<1> scc_info_ServiceIds =
      71             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsServiceIds}, {
      72             :       &protobuf_registrar_2eproto::scc_info_ServiceId.base,}};
      73             : 
      74          11 : static void InitDefaultsServiceTypes() {
      75          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      76             : 
      77             :   {
      78          11 :     void* ptr = &::casatools::rpc::_ServiceTypes_default_instance_;
      79          11 :     new (ptr) ::casatools::rpc::ServiceTypes();
      80          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      81             :   }
      82          11 :   ::casatools::rpc::ServiceTypes::InitAsDefaultInstance();
      83          11 : }
      84             : 
      85             : ::google::protobuf::internal::SCCInfo<0> scc_info_ServiceTypes =
      86             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsServiceTypes}, {}};
      87             : 
      88          11 : void InitDefaults() {
      89          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ServiceId.base);
      90          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ServiceIds.base);
      91          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ServiceTypes.base);
      92          11 : }
      93             : 
      94             : ::google::protobuf::Metadata file_level_metadata[3];
      95             : 
      96             : const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
      97             :   ~0u,  // no _has_bits_
      98             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceId, _internal_metadata_),
      99             :   ~0u,  // no _extensions_
     100             :   ~0u,  // no _oneof_case_
     101             :   ~0u,  // no _weak_field_map_
     102             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceId, id_),
     103             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceId, uri_),
     104             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceId, types_),
     105             :   ~0u,  // no _has_bits_
     106             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceIds, _internal_metadata_),
     107             :   ~0u,  // no _extensions_
     108             :   ~0u,  // no _oneof_case_
     109             :   ~0u,  // no _weak_field_map_
     110             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceIds, service_),
     111             :   ~0u,  // no _has_bits_
     112             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceTypes, _internal_metadata_),
     113             :   ~0u,  // no _extensions_
     114             :   ~0u,  // no _oneof_case_
     115             :   ~0u,  // no _weak_field_map_
     116             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::casatools::rpc::ServiceTypes, types_),
     117             : };
     118             : static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     119             :   { 0, -1, sizeof(::casatools::rpc::ServiceId)},
     120             :   { 8, -1, sizeof(::casatools::rpc::ServiceIds)},
     121             :   { 14, -1, sizeof(::casatools::rpc::ServiceTypes)},
     122             : };
     123             : 
     124             : static ::google::protobuf::Message const * const file_default_instances[] = {
     125             :   reinterpret_cast<const ::google::protobuf::Message*>(&::casatools::rpc::_ServiceId_default_instance_),
     126             :   reinterpret_cast<const ::google::protobuf::Message*>(&::casatools::rpc::_ServiceIds_default_instance_),
     127             :   reinterpret_cast<const ::google::protobuf::Message*>(&::casatools::rpc::_ServiceTypes_default_instance_),
     128             : };
     129             : 
     130           0 : void protobuf_AssignDescriptors() {
     131           0 :   AddDescriptors();
     132           0 :   AssignDescriptors(
     133             :       "registrar.proto", schemas, file_default_instances, TableStruct::offsets,
     134             :       file_level_metadata, NULL, NULL);
     135           0 : }
     136             : 
     137           0 : void protobuf_AssignDescriptorsOnce() {
     138             :   static ::google::protobuf::internal::once_flag once;
     139           0 :   ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
     140           0 : }
     141             : 
     142             : void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
     143           0 : void protobuf_RegisterTypes(const ::std::string&) {
     144           0 :   protobuf_AssignDescriptorsOnce();
     145           0 :   ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
     146           0 : }
     147             : 
     148          11 : void AddDescriptorsImpl() {
     149          11 :   InitDefaults();
     150             :   static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     151             :       "\n\017registrar.proto\022\rcasatools.rpc\032\033google"
     152             :       "/protobuf/empty.proto\032\036google/protobuf/w"
     153             :       "rappers.proto\"3\n\tServiceId\022\n\n\002id\030\001 \001(\t\022\013"
     154             :       "\n\003uri\030\002 \001(\t\022\r\n\005types\030\003 \003(\t\"7\n\nServiceIds"
     155             :       "\022)\n\007service\030\001 \003(\0132\030.casatools.rpc.Servic"
     156             :       "eId\"\035\n\014ServiceTypes\022\r\n\005types\030\001 \003(\t2\313\001\n\tR"
     157             :       "egistrar\022;\n\003add\022\030.casatools.rpc.ServiceI"
     158             :       "d\032\030.casatools.rpc.ServiceId\"\000\022@\n\006remove\022"
     159             :       "\030.casatools.rpc.ServiceId\032\032.google.proto"
     160             :       "buf.BoolValue\"\000\022\?\n\010services\022\026.google.pro"
     161             :       "tobuf.Empty\032\031.casatools.rpc.ServiceIds\"\000"
     162             :       "b\006proto3"
     163             :   };
     164          11 :   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
     165             :       descriptor, 448);
     166          11 :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     167             :     "registrar.proto", &protobuf_RegisterTypes);
     168          11 :   ::protobuf_google_2fprotobuf_2fempty_2eproto::AddDescriptors();
     169          11 :   ::protobuf_google_2fprotobuf_2fwrappers_2eproto::AddDescriptors();
     170          11 : }
     171             : 
     172          11 : void AddDescriptors() {
     173             :   static ::google::protobuf::internal::once_flag once;
     174          11 :   ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
     175          11 : }
     176             : // Force AddDescriptors() to be called at dynamic initialization time.
     177             : struct StaticDescriptorInitializer {
     178          11 :   StaticDescriptorInitializer() {
     179          11 :     AddDescriptors();
     180          11 :   }
     181             : } static_descriptor_initializer;
     182             : }  // namespace protobuf_registrar_2eproto
     183             : namespace casatools {
     184             : namespace rpc {
     185             : 
     186             : // ===================================================================
     187             : 
     188          11 : void ServiceId::InitAsDefaultInstance() {
     189          11 : }
     190             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     191             : const int ServiceId::kIdFieldNumber;
     192             : const int ServiceId::kUriFieldNumber;
     193             : const int ServiceId::kTypesFieldNumber;
     194             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     195             : 
     196          11 : ServiceId::ServiceId()
     197          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     198          11 :   ::google::protobuf::internal::InitSCC(
     199             :       &protobuf_registrar_2eproto::scc_info_ServiceId.base);
     200          11 :   SharedCtor();
     201             :   // @@protoc_insertion_point(constructor:casatools.rpc.ServiceId)
     202          11 : }
     203           0 : ServiceId::ServiceId(const ServiceId& from)
     204             :   : ::google::protobuf::Message(),
     205           0 :       _internal_metadata_(NULL),
     206           0 :       types_(from.types_) {
     207           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     208           0 :   id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     209           0 :   if (from.id().size() > 0) {
     210           0 :     id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
     211             :   }
     212           0 :   uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     213           0 :   if (from.uri().size() > 0) {
     214           0 :     uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_);
     215             :   }
     216             :   // @@protoc_insertion_point(copy_constructor:casatools.rpc.ServiceId)
     217           0 : }
     218             : 
     219          11 : void ServiceId::SharedCtor() {
     220          11 :   id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     221          11 :   uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     222          11 : }
     223             : 
     224           0 : ServiceId::~ServiceId() {
     225             :   // @@protoc_insertion_point(destructor:casatools.rpc.ServiceId)
     226           0 :   SharedDtor();
     227           0 : }
     228             : 
     229           0 : void ServiceId::SharedDtor() {
     230           0 :   id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     231           0 :   uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     232           0 : }
     233             : 
     234           0 : void ServiceId::SetCachedSize(int size) const {
     235           0 :   _cached_size_.Set(size);
     236           0 : }
     237           0 : const ::google::protobuf::Descriptor* ServiceId::descriptor() {
     238           0 :   ::protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     239           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     240             : }
     241             : 
     242           0 : const ServiceId& ServiceId::default_instance() {
     243           0 :   ::google::protobuf::internal::InitSCC(&protobuf_registrar_2eproto::scc_info_ServiceId.base);
     244           0 :   return *internal_default_instance();
     245             : }
     246             : 
     247             : 
     248           0 : void ServiceId::Clear() {
     249             : // @@protoc_insertion_point(message_clear_start:casatools.rpc.ServiceId)
     250           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     251             :   // Prevent compiler warnings about cached_has_bits being unused
     252             :   (void) cached_has_bits;
     253             : 
     254           0 :   types_.Clear();
     255           0 :   id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     256           0 :   uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     257           0 :   _internal_metadata_.Clear();
     258           0 : }
     259             : 
     260           0 : bool ServiceId::MergePartialFromCodedStream(
     261             :     ::google::protobuf::io::CodedInputStream* input) {
     262             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     263             :   ::google::protobuf::uint32 tag;
     264             :   // @@protoc_insertion_point(parse_start:casatools.rpc.ServiceId)
     265             :   for (;;) {
     266             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     267           0 :     tag = p.first;
     268           0 :     if (!p.second) goto handle_unusual;
     269           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     270             :       // string id = 1;
     271           0 :       case 1: {
     272           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     273             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
     274           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     275             :                 input, this->mutable_id()));
     276           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     277             :             this->id().data(), static_cast<int>(this->id().length()),
     278             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     279             :             "casatools.rpc.ServiceId.id"));
     280             :         } else {
     281           0 :           goto handle_unusual;
     282             :         }
     283           0 :         break;
     284             :       }
     285             : 
     286             :       // string uri = 2;
     287           0 :       case 2: {
     288           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     289             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
     290           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     291             :                 input, this->mutable_uri()));
     292           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     293             :             this->uri().data(), static_cast<int>(this->uri().length()),
     294             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     295             :             "casatools.rpc.ServiceId.uri"));
     296             :         } else {
     297           0 :           goto handle_unusual;
     298             :         }
     299           0 :         break;
     300             :       }
     301             : 
     302             :       // repeated string types = 3;
     303           0 :       case 3: {
     304           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     305             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
     306           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     307             :                 input, this->add_types()));
     308           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     309             :             this->types(this->types_size() - 1).data(),
     310             :             static_cast<int>(this->types(this->types_size() - 1).length()),
     311             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     312             :             "casatools.rpc.ServiceId.types"));
     313             :         } else {
     314           0 :           goto handle_unusual;
     315             :         }
     316           0 :         break;
     317             :       }
     318             : 
     319             :       default: {
     320           0 :       handle_unusual:
     321           0 :         if (tag == 0) {
     322           0 :           goto success;
     323             :         }
     324           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     325             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     326           0 :         break;
     327             :       }
     328             :     }
     329           0 :   }
     330           0 : success:
     331             :   // @@protoc_insertion_point(parse_success:casatools.rpc.ServiceId)
     332           0 :   return true;
     333           0 : failure:
     334             :   // @@protoc_insertion_point(parse_failure:casatools.rpc.ServiceId)
     335           0 :   return false;
     336             : #undef DO_
     337             : }
     338             : 
     339           0 : void ServiceId::SerializeWithCachedSizes(
     340             :     ::google::protobuf::io::CodedOutputStream* output) const {
     341             :   // @@protoc_insertion_point(serialize_start:casatools.rpc.ServiceId)
     342           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     343             :   (void) cached_has_bits;
     344             : 
     345             :   // string id = 1;
     346           0 :   if (this->id().size() > 0) {
     347           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     348           0 :       this->id().data(), static_cast<int>(this->id().length()),
     349             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     350             :       "casatools.rpc.ServiceId.id");
     351           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     352             :       1, this->id(), output);
     353             :   }
     354             : 
     355             :   // string uri = 2;
     356           0 :   if (this->uri().size() > 0) {
     357           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     358           0 :       this->uri().data(), static_cast<int>(this->uri().length()),
     359             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     360             :       "casatools.rpc.ServiceId.uri");
     361           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     362             :       2, this->uri(), output);
     363             :   }
     364             : 
     365             :   // repeated string types = 3;
     366           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     367           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     368           0 :       this->types(i).data(), static_cast<int>(this->types(i).length()),
     369             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     370             :       "casatools.rpc.ServiceId.types");
     371           0 :     ::google::protobuf::internal::WireFormatLite::WriteString(
     372             :       3, this->types(i), output);
     373             :   }
     374             : 
     375           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     376           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     377           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     378             :   }
     379             :   // @@protoc_insertion_point(serialize_end:casatools.rpc.ServiceId)
     380           0 : }
     381             : 
     382           0 : ::google::protobuf::uint8* ServiceId::InternalSerializeWithCachedSizesToArray(
     383             :     bool deterministic, ::google::protobuf::uint8* target) const {
     384             :   (void)deterministic; // Unused
     385             :   // @@protoc_insertion_point(serialize_to_array_start:casatools.rpc.ServiceId)
     386           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     387             :   (void) cached_has_bits;
     388             : 
     389             :   // string id = 1;
     390           0 :   if (this->id().size() > 0) {
     391           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     392           0 :       this->id().data(), static_cast<int>(this->id().length()),
     393             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     394             :       "casatools.rpc.ServiceId.id");
     395             :     target =
     396           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
     397             :         1, this->id(), target);
     398             :   }
     399             : 
     400             :   // string uri = 2;
     401           0 :   if (this->uri().size() > 0) {
     402           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     403           0 :       this->uri().data(), static_cast<int>(this->uri().length()),
     404             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     405             :       "casatools.rpc.ServiceId.uri");
     406             :     target =
     407           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
     408             :         2, this->uri(), target);
     409             :   }
     410             : 
     411             :   // repeated string types = 3;
     412           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     413           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     414           0 :       this->types(i).data(), static_cast<int>(this->types(i).length()),
     415             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     416             :       "casatools.rpc.ServiceId.types");
     417             :     target = ::google::protobuf::internal::WireFormatLite::
     418           0 :       WriteStringToArray(3, this->types(i), target);
     419             :   }
     420             : 
     421           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     422           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     423           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     424             :   }
     425             :   // @@protoc_insertion_point(serialize_to_array_end:casatools.rpc.ServiceId)
     426           0 :   return target;
     427             : }
     428             : 
     429           0 : size_t ServiceId::ByteSizeLong() const {
     430             : // @@protoc_insertion_point(message_byte_size_start:casatools.rpc.ServiceId)
     431           0 :   size_t total_size = 0;
     432             : 
     433           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     434           0 :     total_size +=
     435           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     436           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     437             :   }
     438             :   // repeated string types = 3;
     439           0 :   total_size += 1 *
     440           0 :       ::google::protobuf::internal::FromIntSize(this->types_size());
     441           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     442           0 :     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
     443             :       this->types(i));
     444             :   }
     445             : 
     446             :   // string id = 1;
     447           0 :   if (this->id().size() > 0) {
     448           0 :     total_size += 1 +
     449           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
     450             :         this->id());
     451             :   }
     452             : 
     453             :   // string uri = 2;
     454           0 :   if (this->uri().size() > 0) {
     455           0 :     total_size += 1 +
     456           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
     457             :         this->uri());
     458             :   }
     459             : 
     460           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     461           0 :   SetCachedSize(cached_size);
     462           0 :   return total_size;
     463             : }
     464             : 
     465           0 : void ServiceId::MergeFrom(const ::google::protobuf::Message& from) {
     466             : // @@protoc_insertion_point(generalized_merge_from_start:casatools.rpc.ServiceId)
     467           0 :   GOOGLE_DCHECK_NE(&from, this);
     468             :   const ServiceId* source =
     469           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ServiceId>(
     470             :           &from);
     471           0 :   if (source == NULL) {
     472             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:casatools.rpc.ServiceId)
     473           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     474             :   } else {
     475             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:casatools.rpc.ServiceId)
     476           0 :     MergeFrom(*source);
     477             :   }
     478           0 : }
     479             : 
     480           0 : void ServiceId::MergeFrom(const ServiceId& from) {
     481             : // @@protoc_insertion_point(class_specific_merge_from_start:casatools.rpc.ServiceId)
     482           0 :   GOOGLE_DCHECK_NE(&from, this);
     483           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     484           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     485             :   (void) cached_has_bits;
     486             : 
     487           0 :   types_.MergeFrom(from.types_);
     488           0 :   if (from.id().size() > 0) {
     489             : 
     490           0 :     id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
     491             :   }
     492           0 :   if (from.uri().size() > 0) {
     493             : 
     494           0 :     uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_);
     495             :   }
     496           0 : }
     497             : 
     498           0 : void ServiceId::CopyFrom(const ::google::protobuf::Message& from) {
     499             : // @@protoc_insertion_point(generalized_copy_from_start:casatools.rpc.ServiceId)
     500           0 :   if (&from == this) return;
     501           0 :   Clear();
     502           0 :   MergeFrom(from);
     503             : }
     504             : 
     505           0 : void ServiceId::CopyFrom(const ServiceId& from) {
     506             : // @@protoc_insertion_point(class_specific_copy_from_start:casatools.rpc.ServiceId)
     507           0 :   if (&from == this) return;
     508           0 :   Clear();
     509           0 :   MergeFrom(from);
     510             : }
     511             : 
     512           0 : bool ServiceId::IsInitialized() const {
     513           0 :   return true;
     514             : }
     515             : 
     516           0 : void ServiceId::Swap(ServiceId* other) {
     517           0 :   if (other == this) return;
     518           0 :   InternalSwap(other);
     519             : }
     520           0 : void ServiceId::InternalSwap(ServiceId* other) {
     521             :   using std::swap;
     522           0 :   types_.InternalSwap(CastToBase(&other->types_));
     523           0 :   id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
     524             :     GetArenaNoVirtual());
     525           0 :   uri_.Swap(&other->uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
     526             :     GetArenaNoVirtual());
     527           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     528           0 : }
     529             : 
     530           0 : ::google::protobuf::Metadata ServiceId::GetMetadata() const {
     531           0 :   protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     532           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages];
     533             : }
     534             : 
     535             : 
     536             : // ===================================================================
     537             : 
     538          11 : void ServiceIds::InitAsDefaultInstance() {
     539          11 : }
     540             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     541             : const int ServiceIds::kServiceFieldNumber;
     542             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     543             : 
     544          11 : ServiceIds::ServiceIds()
     545          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     546          11 :   ::google::protobuf::internal::InitSCC(
     547             :       &protobuf_registrar_2eproto::scc_info_ServiceIds.base);
     548          11 :   SharedCtor();
     549             :   // @@protoc_insertion_point(constructor:casatools.rpc.ServiceIds)
     550          11 : }
     551           0 : ServiceIds::ServiceIds(const ServiceIds& from)
     552             :   : ::google::protobuf::Message(),
     553           0 :       _internal_metadata_(NULL),
     554           0 :       service_(from.service_) {
     555           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     556             :   // @@protoc_insertion_point(copy_constructor:casatools.rpc.ServiceIds)
     557           0 : }
     558             : 
     559          11 : void ServiceIds::SharedCtor() {
     560          11 : }
     561             : 
     562           0 : ServiceIds::~ServiceIds() {
     563             :   // @@protoc_insertion_point(destructor:casatools.rpc.ServiceIds)
     564           0 :   SharedDtor();
     565           0 : }
     566             : 
     567           0 : void ServiceIds::SharedDtor() {
     568           0 : }
     569             : 
     570           0 : void ServiceIds::SetCachedSize(int size) const {
     571           0 :   _cached_size_.Set(size);
     572           0 : }
     573           0 : const ::google::protobuf::Descriptor* ServiceIds::descriptor() {
     574           0 :   ::protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     575           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     576             : }
     577             : 
     578           0 : const ServiceIds& ServiceIds::default_instance() {
     579           0 :   ::google::protobuf::internal::InitSCC(&protobuf_registrar_2eproto::scc_info_ServiceIds.base);
     580           0 :   return *internal_default_instance();
     581             : }
     582             : 
     583             : 
     584           0 : void ServiceIds::Clear() {
     585             : // @@protoc_insertion_point(message_clear_start:casatools.rpc.ServiceIds)
     586           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     587             :   // Prevent compiler warnings about cached_has_bits being unused
     588             :   (void) cached_has_bits;
     589             : 
     590           0 :   service_.Clear();
     591           0 :   _internal_metadata_.Clear();
     592           0 : }
     593             : 
     594           0 : bool ServiceIds::MergePartialFromCodedStream(
     595             :     ::google::protobuf::io::CodedInputStream* input) {
     596             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     597             :   ::google::protobuf::uint32 tag;
     598             :   // @@protoc_insertion_point(parse_start:casatools.rpc.ServiceIds)
     599             :   for (;;) {
     600             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     601           0 :     tag = p.first;
     602           0 :     if (!p.second) goto handle_unusual;
     603           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     604             :       // repeated .casatools.rpc.ServiceId service = 1;
     605           0 :       case 1: {
     606           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     607             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
     608           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
     609             :                 input, add_service()));
     610             :         } else {
     611           0 :           goto handle_unusual;
     612             :         }
     613           0 :         break;
     614             :       }
     615             : 
     616             :       default: {
     617           0 :       handle_unusual:
     618           0 :         if (tag == 0) {
     619           0 :           goto success;
     620             :         }
     621           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     622             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     623           0 :         break;
     624             :       }
     625             :     }
     626           0 :   }
     627           0 : success:
     628             :   // @@protoc_insertion_point(parse_success:casatools.rpc.ServiceIds)
     629           0 :   return true;
     630           0 : failure:
     631             :   // @@protoc_insertion_point(parse_failure:casatools.rpc.ServiceIds)
     632           0 :   return false;
     633             : #undef DO_
     634             : }
     635             : 
     636           0 : void ServiceIds::SerializeWithCachedSizes(
     637             :     ::google::protobuf::io::CodedOutputStream* output) const {
     638             :   // @@protoc_insertion_point(serialize_start:casatools.rpc.ServiceIds)
     639           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     640             :   (void) cached_has_bits;
     641             : 
     642             :   // repeated .casatools.rpc.ServiceId service = 1;
     643           0 :   for (unsigned int i = 0,
     644           0 :       n = static_cast<unsigned int>(this->service_size()); i < n; i++) {
     645           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
     646             :       1,
     647           0 :       this->service(static_cast<int>(i)),
     648             :       output);
     649             :   }
     650             : 
     651           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     652           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     653           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     654             :   }
     655             :   // @@protoc_insertion_point(serialize_end:casatools.rpc.ServiceIds)
     656           0 : }
     657             : 
     658           0 : ::google::protobuf::uint8* ServiceIds::InternalSerializeWithCachedSizesToArray(
     659             :     bool deterministic, ::google::protobuf::uint8* target) const {
     660             :   (void)deterministic; // Unused
     661             :   // @@protoc_insertion_point(serialize_to_array_start:casatools.rpc.ServiceIds)
     662           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     663             :   (void) cached_has_bits;
     664             : 
     665             :   // repeated .casatools.rpc.ServiceId service = 1;
     666           0 :   for (unsigned int i = 0,
     667           0 :       n = static_cast<unsigned int>(this->service_size()); i < n; i++) {
     668             :     target = ::google::protobuf::internal::WireFormatLite::
     669           0 :       InternalWriteMessageToArray(
     670             :         1, this->service(static_cast<int>(i)), deterministic, target);
     671             :   }
     672             : 
     673           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     674           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     675           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     676             :   }
     677             :   // @@protoc_insertion_point(serialize_to_array_end:casatools.rpc.ServiceIds)
     678           0 :   return target;
     679             : }
     680             : 
     681           0 : size_t ServiceIds::ByteSizeLong() const {
     682             : // @@protoc_insertion_point(message_byte_size_start:casatools.rpc.ServiceIds)
     683           0 :   size_t total_size = 0;
     684             : 
     685           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     686           0 :     total_size +=
     687           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     688           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     689             :   }
     690             :   // repeated .casatools.rpc.ServiceId service = 1;
     691             :   {
     692           0 :     unsigned int count = static_cast<unsigned int>(this->service_size());
     693           0 :     total_size += 1UL * count;
     694           0 :     for (unsigned int i = 0; i < count; i++) {
     695           0 :       total_size +=
     696           0 :         ::google::protobuf::internal::WireFormatLite::MessageSize(
     697             :           this->service(static_cast<int>(i)));
     698             :     }
     699             :   }
     700             : 
     701           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     702           0 :   SetCachedSize(cached_size);
     703           0 :   return total_size;
     704             : }
     705             : 
     706           0 : void ServiceIds::MergeFrom(const ::google::protobuf::Message& from) {
     707             : // @@protoc_insertion_point(generalized_merge_from_start:casatools.rpc.ServiceIds)
     708           0 :   GOOGLE_DCHECK_NE(&from, this);
     709             :   const ServiceIds* source =
     710           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ServiceIds>(
     711             :           &from);
     712           0 :   if (source == NULL) {
     713             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:casatools.rpc.ServiceIds)
     714           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     715             :   } else {
     716             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:casatools.rpc.ServiceIds)
     717           0 :     MergeFrom(*source);
     718             :   }
     719           0 : }
     720             : 
     721           0 : void ServiceIds::MergeFrom(const ServiceIds& from) {
     722             : // @@protoc_insertion_point(class_specific_merge_from_start:casatools.rpc.ServiceIds)
     723           0 :   GOOGLE_DCHECK_NE(&from, this);
     724           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     725           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     726             :   (void) cached_has_bits;
     727             : 
     728           0 :   service_.MergeFrom(from.service_);
     729           0 : }
     730             : 
     731           0 : void ServiceIds::CopyFrom(const ::google::protobuf::Message& from) {
     732             : // @@protoc_insertion_point(generalized_copy_from_start:casatools.rpc.ServiceIds)
     733           0 :   if (&from == this) return;
     734           0 :   Clear();
     735           0 :   MergeFrom(from);
     736             : }
     737             : 
     738           0 : void ServiceIds::CopyFrom(const ServiceIds& from) {
     739             : // @@protoc_insertion_point(class_specific_copy_from_start:casatools.rpc.ServiceIds)
     740           0 :   if (&from == this) return;
     741           0 :   Clear();
     742           0 :   MergeFrom(from);
     743             : }
     744             : 
     745           0 : bool ServiceIds::IsInitialized() const {
     746           0 :   return true;
     747             : }
     748             : 
     749           0 : void ServiceIds::Swap(ServiceIds* other) {
     750           0 :   if (other == this) return;
     751           0 :   InternalSwap(other);
     752             : }
     753           0 : void ServiceIds::InternalSwap(ServiceIds* other) {
     754             :   using std::swap;
     755           0 :   CastToBase(&service_)->InternalSwap(CastToBase(&other->service_));
     756           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     757           0 : }
     758             : 
     759           0 : ::google::protobuf::Metadata ServiceIds::GetMetadata() const {
     760           0 :   protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     761           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages];
     762             : }
     763             : 
     764             : 
     765             : // ===================================================================
     766             : 
     767          11 : void ServiceTypes::InitAsDefaultInstance() {
     768          11 : }
     769             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     770             : const int ServiceTypes::kTypesFieldNumber;
     771             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     772             : 
     773          11 : ServiceTypes::ServiceTypes()
     774          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     775          11 :   ::google::protobuf::internal::InitSCC(
     776             :       &protobuf_registrar_2eproto::scc_info_ServiceTypes.base);
     777          11 :   SharedCtor();
     778             :   // @@protoc_insertion_point(constructor:casatools.rpc.ServiceTypes)
     779          11 : }
     780           0 : ServiceTypes::ServiceTypes(const ServiceTypes& from)
     781             :   : ::google::protobuf::Message(),
     782           0 :       _internal_metadata_(NULL),
     783           0 :       types_(from.types_) {
     784           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     785             :   // @@protoc_insertion_point(copy_constructor:casatools.rpc.ServiceTypes)
     786           0 : }
     787             : 
     788          11 : void ServiceTypes::SharedCtor() {
     789          11 : }
     790             : 
     791           0 : ServiceTypes::~ServiceTypes() {
     792             :   // @@protoc_insertion_point(destructor:casatools.rpc.ServiceTypes)
     793           0 :   SharedDtor();
     794           0 : }
     795             : 
     796           0 : void ServiceTypes::SharedDtor() {
     797           0 : }
     798             : 
     799           0 : void ServiceTypes::SetCachedSize(int size) const {
     800           0 :   _cached_size_.Set(size);
     801           0 : }
     802           0 : const ::google::protobuf::Descriptor* ServiceTypes::descriptor() {
     803           0 :   ::protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     804           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     805             : }
     806             : 
     807           0 : const ServiceTypes& ServiceTypes::default_instance() {
     808           0 :   ::google::protobuf::internal::InitSCC(&protobuf_registrar_2eproto::scc_info_ServiceTypes.base);
     809           0 :   return *internal_default_instance();
     810             : }
     811             : 
     812             : 
     813           0 : void ServiceTypes::Clear() {
     814             : // @@protoc_insertion_point(message_clear_start:casatools.rpc.ServiceTypes)
     815           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     816             :   // Prevent compiler warnings about cached_has_bits being unused
     817             :   (void) cached_has_bits;
     818             : 
     819           0 :   types_.Clear();
     820           0 :   _internal_metadata_.Clear();
     821           0 : }
     822             : 
     823           0 : bool ServiceTypes::MergePartialFromCodedStream(
     824             :     ::google::protobuf::io::CodedInputStream* input) {
     825             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     826             :   ::google::protobuf::uint32 tag;
     827             :   // @@protoc_insertion_point(parse_start:casatools.rpc.ServiceTypes)
     828             :   for (;;) {
     829             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     830           0 :     tag = p.first;
     831           0 :     if (!p.second) goto handle_unusual;
     832           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     833             :       // repeated string types = 1;
     834           0 :       case 1: {
     835           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     836             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
     837           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     838             :                 input, this->add_types()));
     839           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     840             :             this->types(this->types_size() - 1).data(),
     841             :             static_cast<int>(this->types(this->types_size() - 1).length()),
     842             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     843             :             "casatools.rpc.ServiceTypes.types"));
     844             :         } else {
     845           0 :           goto handle_unusual;
     846             :         }
     847           0 :         break;
     848             :       }
     849             : 
     850             :       default: {
     851           0 :       handle_unusual:
     852           0 :         if (tag == 0) {
     853           0 :           goto success;
     854             :         }
     855           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     856             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     857           0 :         break;
     858             :       }
     859             :     }
     860           0 :   }
     861           0 : success:
     862             :   // @@protoc_insertion_point(parse_success:casatools.rpc.ServiceTypes)
     863           0 :   return true;
     864           0 : failure:
     865             :   // @@protoc_insertion_point(parse_failure:casatools.rpc.ServiceTypes)
     866           0 :   return false;
     867             : #undef DO_
     868             : }
     869             : 
     870           0 : void ServiceTypes::SerializeWithCachedSizes(
     871             :     ::google::protobuf::io::CodedOutputStream* output) const {
     872             :   // @@protoc_insertion_point(serialize_start:casatools.rpc.ServiceTypes)
     873           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     874             :   (void) cached_has_bits;
     875             : 
     876             :   // repeated string types = 1;
     877           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     878           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     879           0 :       this->types(i).data(), static_cast<int>(this->types(i).length()),
     880             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     881             :       "casatools.rpc.ServiceTypes.types");
     882           0 :     ::google::protobuf::internal::WireFormatLite::WriteString(
     883             :       1, this->types(i), output);
     884             :   }
     885             : 
     886           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     887           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     888           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     889             :   }
     890             :   // @@protoc_insertion_point(serialize_end:casatools.rpc.ServiceTypes)
     891           0 : }
     892             : 
     893           0 : ::google::protobuf::uint8* ServiceTypes::InternalSerializeWithCachedSizesToArray(
     894             :     bool deterministic, ::google::protobuf::uint8* target) const {
     895             :   (void)deterministic; // Unused
     896             :   // @@protoc_insertion_point(serialize_to_array_start:casatools.rpc.ServiceTypes)
     897           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     898             :   (void) cached_has_bits;
     899             : 
     900             :   // repeated string types = 1;
     901           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     902           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     903           0 :       this->types(i).data(), static_cast<int>(this->types(i).length()),
     904             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     905             :       "casatools.rpc.ServiceTypes.types");
     906             :     target = ::google::protobuf::internal::WireFormatLite::
     907           0 :       WriteStringToArray(1, this->types(i), target);
     908             :   }
     909             : 
     910           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     911           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     912           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     913             :   }
     914             :   // @@protoc_insertion_point(serialize_to_array_end:casatools.rpc.ServiceTypes)
     915           0 :   return target;
     916             : }
     917             : 
     918           0 : size_t ServiceTypes::ByteSizeLong() const {
     919             : // @@protoc_insertion_point(message_byte_size_start:casatools.rpc.ServiceTypes)
     920           0 :   size_t total_size = 0;
     921             : 
     922           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     923           0 :     total_size +=
     924           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     925           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     926             :   }
     927             :   // repeated string types = 1;
     928           0 :   total_size += 1 *
     929           0 :       ::google::protobuf::internal::FromIntSize(this->types_size());
     930           0 :   for (int i = 0, n = this->types_size(); i < n; i++) {
     931           0 :     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
     932             :       this->types(i));
     933             :   }
     934             : 
     935           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     936           0 :   SetCachedSize(cached_size);
     937           0 :   return total_size;
     938             : }
     939             : 
     940           0 : void ServiceTypes::MergeFrom(const ::google::protobuf::Message& from) {
     941             : // @@protoc_insertion_point(generalized_merge_from_start:casatools.rpc.ServiceTypes)
     942           0 :   GOOGLE_DCHECK_NE(&from, this);
     943             :   const ServiceTypes* source =
     944           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ServiceTypes>(
     945             :           &from);
     946           0 :   if (source == NULL) {
     947             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:casatools.rpc.ServiceTypes)
     948           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     949             :   } else {
     950             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:casatools.rpc.ServiceTypes)
     951           0 :     MergeFrom(*source);
     952             :   }
     953           0 : }
     954             : 
     955           0 : void ServiceTypes::MergeFrom(const ServiceTypes& from) {
     956             : // @@protoc_insertion_point(class_specific_merge_from_start:casatools.rpc.ServiceTypes)
     957           0 :   GOOGLE_DCHECK_NE(&from, this);
     958           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     959           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     960             :   (void) cached_has_bits;
     961             : 
     962           0 :   types_.MergeFrom(from.types_);
     963           0 : }
     964             : 
     965           0 : void ServiceTypes::CopyFrom(const ::google::protobuf::Message& from) {
     966             : // @@protoc_insertion_point(generalized_copy_from_start:casatools.rpc.ServiceTypes)
     967           0 :   if (&from == this) return;
     968           0 :   Clear();
     969           0 :   MergeFrom(from);
     970             : }
     971             : 
     972           0 : void ServiceTypes::CopyFrom(const ServiceTypes& from) {
     973             : // @@protoc_insertion_point(class_specific_copy_from_start:casatools.rpc.ServiceTypes)
     974           0 :   if (&from == this) return;
     975           0 :   Clear();
     976           0 :   MergeFrom(from);
     977             : }
     978             : 
     979           0 : bool ServiceTypes::IsInitialized() const {
     980           0 :   return true;
     981             : }
     982             : 
     983           0 : void ServiceTypes::Swap(ServiceTypes* other) {
     984           0 :   if (other == this) return;
     985           0 :   InternalSwap(other);
     986             : }
     987           0 : void ServiceTypes::InternalSwap(ServiceTypes* other) {
     988             :   using std::swap;
     989           0 :   types_.InternalSwap(CastToBase(&other->types_));
     990           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     991           0 : }
     992             : 
     993           0 : ::google::protobuf::Metadata ServiceTypes::GetMetadata() const {
     994           0 :   protobuf_registrar_2eproto::protobuf_AssignDescriptorsOnce();
     995           0 :   return ::protobuf_registrar_2eproto::file_level_metadata[kIndexInFileMessages];
     996             : }
     997             : 
     998             : 
     999             : // @@protoc_insertion_point(namespace_scope)
    1000             : }  // namespace rpc
    1001             : }  // namespace casatools
    1002             : namespace google {
    1003             : namespace protobuf {
    1004           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::casatools::rpc::ServiceId* Arena::CreateMaybeMessage< ::casatools::rpc::ServiceId >(Arena* arena) {
    1005           0 :   return Arena::CreateInternal< ::casatools::rpc::ServiceId >(arena);
    1006             : }
    1007           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::casatools::rpc::ServiceIds* Arena::CreateMaybeMessage< ::casatools::rpc::ServiceIds >(Arena* arena) {
    1008           0 :   return Arena::CreateInternal< ::casatools::rpc::ServiceIds >(arena);
    1009             : }
    1010           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::casatools::rpc::ServiceTypes* Arena::CreateMaybeMessage< ::casatools::rpc::ServiceTypes >(Arena* arena) {
    1011           0 :   return Arena::CreateInternal< ::casatools::rpc::ServiceTypes >(arena);
    1012             : }
    1013             : }  // namespace protobuf
    1014             : }  // namespace google
    1015             : 
    1016             : // @@protoc_insertion_point(global_scope)

Generated by: LCOV version 1.16